Skip to content

Commit 289c586

Browse files
bryanbrattlofr-vignesh
authored andcommitted
arm64: dts: ti: k3-am62a7-sk: add boot phase tags
The 'bootph-all' tag was added to the dt-schema to describe the various nodes used during the different phases of bootup with DT. Add the bootph-all tag to all nodes that are used during the early stages of bootup by the bootloaders. This includes the console UART along with the SD and eMMC nodes and its required regulators for the 3v3 to 1v8 transition and the various nodes for Ethernet booting. Signed-off-by: Bryan Brattlof <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent df62b42 commit 289c586

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm64/boot/dts/ti/k3-am62a7-sk.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
/* 4G RAM */
3737
reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
3838
<0x00000008 0x80000000 0x00000000 0x80000000>;
39+
bootph-all;
3940
};
4041

4142
reserved-memory {
@@ -151,6 +152,7 @@
151152
regulator-boot-on;
152153
enable-active-high;
153154
gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
155+
bootph-all;
154156
};
155157

156158
vcc_3v3_sys: regulator-4 {
@@ -297,6 +299,7 @@
297299
AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */
298300
AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */
299301
>;
302+
bootph-all;
300303
};
301304

302305
main_uart1_pins_default: main-uart1-default-pins {
@@ -320,6 +323,7 @@
320323
AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */
321324
AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */
322325
>;
326+
bootph-all;
323327
};
324328

325329
main_i2c2_pins_default: main-i2c2-default-pins {
@@ -356,6 +360,7 @@
356360
AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
357361
AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */
358362
>;
363+
bootph-all;
359364
};
360365

361366
usr_led_pins_default: usr-led-default-pins {
@@ -375,6 +380,7 @@
375380
AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */
376381
AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */
377382
>;
383+
bootph-all;
378384
};
379385

380386
main_rgmii1_pins_default: main-rgmii1-default-pins {
@@ -392,6 +398,7 @@
392398
AM62AX_IOPAD(0x130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */
393399
AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */
394400
>;
401+
bootph-all;
395402
};
396403

397404
main_mcasp1_pins_default: main-mcasp1-default-pins {
@@ -572,6 +579,7 @@
572579
#interrupt-cells = <2>;
573580
pinctrl-names = "default";
574581
pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>;
582+
bootph-all;
575583

576584
gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
577585
"BT_EN_SOC", "MMC1_SD_EN",
@@ -675,10 +683,12 @@
675683
pinctrl-names = "default";
676684
pinctrl-0 = <&main_mmc1_pins_default>;
677685
disable-wp;
686+
bootph-all;
678687
};
679688

680689
&main_gpio0 {
681690
status = "okay";
691+
bootph-all;
682692
};
683693

684694
&main_gpio1 {
@@ -693,6 +703,7 @@
693703
status = "okay";
694704
pinctrl-names = "default";
695705
pinctrl-0 = <&main_uart0_pins_default>;
706+
bootph-all;
696707
};
697708

698709
/* Main UART1 is used for TIFS firmware logs */
@@ -739,10 +750,15 @@
739750
pinctrl-0 = <&main_rgmii1_pins_default>;
740751
};
741752

753+
&phy_gmii_sel {
754+
bootph-all;
755+
};
756+
742757
&cpsw_port1 {
743758
status = "okay";
744759
phy-mode = "rgmii-rxid";
745760
phy-handle = <&cpsw3g_phy0>;
761+
bootph-all;
746762
};
747763

748764
&cpsw_port2 {
@@ -759,6 +775,7 @@
759775
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
760776
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
761777
ti,min-output-impedance;
778+
bootph-all;
762779
};
763780
};
764781

0 commit comments

Comments
 (0)