arm64: dts: ti: k3-am642-evm: Add boot phase tags marking
authorNishanth Menon <nm@ti.com>
Mon, 11 Sep 2023 17:29:01 +0000 (12:29 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 2 Oct 2023 14:20:15 +0000 (19:50 +0530)
bootph-all as phase tag was added to dt-schema
(dtschema/schemas/bootph.yaml) to describe various node usage during
boot phases with DT.

Describe the same for AM642-evm boot devices.

Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20230911172902.1057417-3-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am642-evm.dts

index b4a1f73d4fb17ae4f67ae9bb446dc8021c501014..d0e1191baecd6386dc7b2ddb1c0371c203bcb9ad 100644 (file)
@@ -35,6 +35,7 @@
        };
 
        memory@80000000 {
+               bootph-all;
                device_type = "memory";
                /* 2G RAM */
                reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
 
        evm_12v0: regulator-0 {
                /* main DC jack */
+               bootph-all;
                compatible = "regulator-fixed";
                regulator-name = "evm_12v0";
                regulator-min-microvolt = <12000000>;
 
        vsys_3v3: regulator-2 {
                /* output of LM5140 */
+               bootph-all;
                compatible = "regulator-fixed";
                regulator-name = "vsys_3v3";
                regulator-min-microvolt = <3300000>;
 
        vdd_mmc1: regulator-3 {
                /* TPS2051BD */
+               bootph-all;
                compatible = "regulator-fixed";
                regulator-name = "vdd_mmc1";
                regulator-min-microvolt = <3300000>;
        };
 
        vtt_supply: regulator-5 {
+               bootph-all;
                compatible = "regulator-fixed";
                regulator-name = "vtt";
                pinctrl-names = "default";
        };
 
        main_uart0_pins_default: main-uart0-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */
                        AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */
        };
 
        main_i2c0_pins_default: main-i2c0-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
                        AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
        };
 
        main_i2c1_pins_default: main-i2c1-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
                        AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */
        };
 
        mdio1_pins_default: mdio1-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */
                        AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */
        };
 
        rgmii1_pins_default: rgmii1-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* (W5) PRG0_PRU1_GPO7.RGMII1_RD0 */
                        AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* (Y5) PRG0_PRU1_GPO9.RGMII1_RD1 */
        };
 
        rgmii2_pins_default: rgmii2-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */
                        AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */
        };
 
        main_usb0_pins_default: main-usb0-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */
                >;
        };
 
        ddr_vtt_pins_default: ddr-vtt-default-pins {
+               bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */
                >;
 };
 
 &main_uart0 {
+       bootph-all;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&main_uart0_pins_default>;
 };
 
 &main_i2c0 {
+       bootph-all;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&main_i2c0_pins_default>;
 };
 
 &main_i2c1 {
+       bootph-all;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&main_i2c1_pins_default>;
        clock-frequency = <400000>;
 
        exp1: gpio@22 {
+               bootph-all;
                compatible = "ti,tca6424";
                reg = <0x22>;
                gpio-controller;
        };
 };
 
+&main_gpio0 {
+       bootph-all;
+};
+
 /* mcu_gpio0 is reserved for mcu firmware usage */
 &mcu_gpio0 {
        status = "reserved";
 
 &sdhci1 {
        /* SD/MMC */
+       bootph-all;
        vmmc-supply = <&vdd_mmc1>;
        pinctrl-names = "default";
        bus-width = <4>;
 };
 
 &usbss0 {
+       bootph-all;
        ti,vbus-divider;
        ti,usb2-only;
 };
 
 &usb0 {
+       bootph-all;
        dr_mode = "otg";
        maximum-speed = "high-speed";
        pinctrl-names = "default";
 };
 
 &cpsw3g {
+       bootph-all;
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>;
 };
 
 &cpsw_port1 {
+       bootph-all;
        phy-mode = "rgmii-rxid";
        phy-handle = <&cpsw3g_phy0>;
 };
 };
 
 &cpsw3g_mdio {
+       bootph-all;
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mdio1_pins_default>;
 
        cpsw3g_phy0: ethernet-phy@0 {
+               bootph-all;
                reg = <0>;
                ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;