]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: ti: k3-am65: add boot phase tags
authorBryan Brattlof <bb@ti.com>
Thu, 10 Jul 2025 14:38:59 +0000 (09:38 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Fri, 11 Jul 2025 04:38:48 +0000 (10:08 +0530)
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 required nodes for all AM65x platforms.

Mark the mailbox and ring accelerators needed to communicate the with
various vendor firmware and the power, clock and reset nodes along with
the MMR for the chip-id to facilitate detecting the SoC and which
silicon version during the early stages of bootup with 'bootph-all' as
they are used during all phases of bootup

--
Changes in v2:
- removed tag from &mcu_udmap{} node

Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20250710-65-boot-phases-v2-1-d431deb88783@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi

index b085e736111660ed0dad5f127ef0c3d79c52fe1d..61c11dc92d9c27fc9e47123698c17118cd522be1 100644 (file)
                              <0x00 0x32800000 0x00 0x100000>;
                        interrupt-names = "rx_011";
                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+                       bootph-all;
                };
 
                hwspinlock: spinlock@30e00000 {
index eee072e44a42f5f66423200975016447d22bdc46..d62a0be767c814706e146bcf95ee4ff84461a515 100644 (file)
                k3_pds: power-controller {
                        compatible = "ti,sci-pm-domain";
                        #power-domain-cells = <2>;
+                       bootph-all;
                };
 
                k3_clks: clock-controller {
                        compatible = "ti,k2g-sci-clk";
                        #clock-cells = <2>;
+                       bootph-all;
                };
 
                k3_reset: reset-controller {
                        compatible = "ti,sci-reset";
                        #reset-cells = <2>;
+                       bootph-all;
                };
        };
 
@@ -43,6 +46,7 @@
                chipid: chipid@14 {
                        compatible = "ti,am654-chipid";
                        reg = <0x14 0x4>;
+                       bootph-all;
                };
        };
 
                reg = <0x42050000 0x25c>;
                power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
                #thermal-sensor-cells = <1>;
+               bootph-all;
        };
 };