Skip to content

Commit df62b42

Browse files
bryanbrattlofr-vignesh
authored andcommitted
arm64: dts: ti: k3-am654-base-board: 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 in the bootloader for the AM654 reference board. UARTs used as a console, the SD and eMMC nodes along with the needed regulators for UHS modes, and the needed nodes for OSPI boot are all marked with 'bootph-all' to handle the various boot modes the board is capable of Signed-off-by: Bryan Brattlof <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent 3302e07 commit df62b42

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

arch/arm64/boot/dts/ti/k3-am654-base-board.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
regulator-boot-on;
145145
vin-supply = <&vcc3v3_io>;
146146
gpio = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>;
147+
bootph-all;
147148
};
148149
};
149150

@@ -155,19 +156,22 @@
155156
AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT, 1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */
156157
AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */
157158
>;
159+
bootph-all;
158160
};
159161

160162
ddr_vtt_pins_default: ddr-vtt-default-pins {
161163
pinctrl-single,pins = <
162164
AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP, 7) /* WKUP_GPIO0_28 */
163165
>;
166+
bootph-all;
164167
};
165168

166169
wkup_i2c0_pins_default: wkup-i2c0-default-pins {
167170
pinctrl-single,pins = <
168171
AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */
169172
AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */
170173
>;
174+
bootph-all;
171175
};
172176

173177
push_button_pins_default: push-button-default-pins {
@@ -191,6 +195,7 @@
191195
AM65X_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* (R3) MCU_OSPI0_D7 */
192196
AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* (R4) MCU_OSPI0_CSn0 */
193197
>;
198+
bootph-all;
194199
};
195200

196201
wkup_pca554_default: wkup-pca554-default-pins {
@@ -206,6 +211,7 @@
206211
AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 4) /* (P1) MCU_OSPI1_D3.MCU_UART0_CTSn */
207212
AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 4) /* (N3) MCU_OSPI1_CSn1.MCU_UART0_RTSn */
208213
>;
214+
bootph-all;
209215
};
210216

211217
mcu_cpsw_pins_default: mcu-cpsw-default-pins {
@@ -248,6 +254,7 @@
248254
AM65X_IOPAD(0x01ec, PIN_INPUT, 0) /* (AG11) UART0_CTSn */
249255
AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0) /* (AD11) UART0_RTSn */
250256
>;
257+
bootph-all;
251258
};
252259

253260
main_i2c2_pins_default: main-i2c2-default-pins {
@@ -281,6 +288,7 @@
281288
AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */
282289
AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
283290
>;
291+
bootph-all;
284292
};
285293

286294
main_mmc1_pins_default: main-mmc1-default-pins {
@@ -294,6 +302,7 @@
294302
AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */
295303
AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */
296304
>;
305+
bootph-all;
297306
};
298307

299308
usb1_pins_default: usb1-default-pins {
@@ -343,6 +352,7 @@
343352
pinctrl-names = "default";
344353
pinctrl-0 = <&main_uart0_pins_default>;
345354
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
355+
bootph-all;
346356
};
347357

348358
&wkup_i2c0 {
@@ -368,6 +378,7 @@
368378
ti,vsel0-state-high;
369379
ti,vsel1-state-high;
370380
ti,enable-vout-discharge;
381+
bootph-all;
371382
};
372383

373384
gpio@38 {
@@ -456,6 +467,7 @@
456467
bus-width = <8>;
457468
non-removable;
458469
ti,driver-strength-ohm = <50>;
470+
bootph-all;
459471
};
460472

461473
/*
@@ -470,6 +482,7 @@
470482
pinctrl-0 = <&main_mmc1_pins_default>;
471483
ti,driver-strength-ohm = <50>;
472484
disable-wp;
485+
bootph-all;
473486
};
474487

475488
&usb1 {
@@ -630,3 +643,7 @@
630643
&dss {
631644
status = "disabled";
632645
};
646+
647+
&wkup_gpio0 {
648+
bootph-all;
649+
};

arch/arm64/boot/dts/ti/k3-am654-pcie-usb2.dtso

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
&dwc3_0 {
4848
status = "okay";
49+
bootph-all;
4950
};
5051

5152
&usb0_phy {

arch/arm64/boot/dts/ti/k3-am654-pcie-usb3.dtso

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<&k3_clks 151 8>; /* set PIPE3_TXB_CLK to WIZ8B2M4VSB */
4646
phys = <&serdes0 PHY_TYPE_USB3 0>;
4747
phy-names = "usb3-phy";
48+
bootph-all;
4849
};
4950

5051
&usb0 {

0 commit comments

Comments
 (0)