Skip to content

Commit 1704b04

Browse files
paresh-bhagat12r-vignesh
authored andcommitted
arm64: dts: ti: Add bootph property to nodes at source for am62a
Add bootph property directly into the original definitions of relevant nodes (e.g., power domains, USB controllers, and other peripherals) within their respective DTSI files (ex. main, mcu, and wakeup) for am62a. By defining bootph in the nodes source definitions instead of appending it later in final DTS files, this change ensures that the property is inherently present wherever the nodes are reused across derived device trees. Signed-off-by: Paresh Bhagat <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent 3b08f8a commit 1704b04

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

arch/arm64/boot/dts/ti/k3-am62a-main.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
compatible = "ti,am654-phy-gmii-sel";
5252
reg = <0x4044 0x8>;
5353
#phy-cells = <1>;
54+
bootph-all;
5455
};
5556

5657
epwm_tbclk: clock-controller@4130 {
@@ -96,6 +97,7 @@
9697
#mbox-cells = <1>;
9798
interrupt-names = "rx_012";
9899
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
100+
bootph-all;
99101
};
100102

101103
inta_main_dmss: interrupt-controller@48000000 {
@@ -131,6 +133,7 @@
131133
ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
132134
ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
133135
ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
136+
bootph-all;
134137
};
135138

136139
main_pktdma: dma-controller@485c0000 {
@@ -147,6 +150,8 @@
147150
"ring", "tchan", "rchan", "rflow";
148151
msi-parent = <&inta_main_dmss>;
149152
#dma-cells = <2>;
153+
bootph-all;
154+
150155
ti,sci = <&dmsc>;
151156
ti,sci-dev-id = <30>;
152157
ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
@@ -220,16 +225,19 @@
220225
k3_pds: power-controller {
221226
compatible = "ti,sci-pm-domain";
222227
#power-domain-cells = <2>;
228+
bootph-all;
223229
};
224230

225231
k3_clks: clock-controller {
226232
compatible = "ti,k2g-sci-clk";
227233
#clock-cells = <2>;
234+
bootph-all;
228235
};
229236

230237
k3_reset: reset-controller {
231238
compatible = "ti,sci-reset";
232239
#reset-cells = <2>;
240+
bootph-all;
233241
};
234242
};
235243

@@ -254,6 +262,7 @@
254262
* firmware on non-MPU processors
255263
*/
256264
status = "disabled";
265+
bootph-all;
257266
};
258267

259268
main_pmx0: pinctrl@f4000 {
@@ -282,6 +291,7 @@
282291
assigned-clock-parents = <&k3_clks 36 3>;
283292
power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
284293
ti,timer-pwm;
294+
bootph-all;
285295
};
286296

287297
main_timer1: timer@2410000 {
@@ -651,6 +661,7 @@
651661
interrupt-names = "host", "peripheral";
652662
maximum-speed = "high-speed";
653663
dr_mode = "otg";
664+
bootph-all;
654665
snps,usb2-gadget-lpm-disable;
655666
snps,usb2-lpm-disable;
656667
};
@@ -745,6 +756,7 @@
745756
phys = <&phy_gmii_sel 1>;
746757
mac-address = [00 00 00 00 00 00];
747758
ti,syscon-efuse = <&cpsw_mac_syscon 0x0>;
759+
bootph-all;
748760
};
749761

750762
cpsw_port2: port@2 {
@@ -764,6 +776,7 @@
764776
clocks = <&k3_clks 13 0>;
765777
clock-names = "fck";
766778
bus_freq = <1000000>;
779+
bootph-all;
767780
};
768781

769782
cpts@3d000 {

arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
chipid: chipid@14 {
1818
compatible = "ti,am654-chipid";
1919
reg = <0x14 0x4>;
20+
bootph-all;
2021
};
2122

2223
opp_efuse_table: syscon@18 {
@@ -67,6 +68,7 @@
6768
reg = <0 0x100>;
6869
interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
6970
status = "disabled";
71+
bootph-pre-ram;
7072
};
7173
};
7274

0 commit comments

Comments
 (0)