]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62*: remove SoC dtsi from common dtsi
authorAnshul Dalal <anshuld@ti.com>
Thu, 14 Aug 2025 13:45:27 +0000 (19:15 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 12 Sep 2025 06:11:48 +0000 (11:41 +0530)
The k3-am62x-sk-common dtsi represents the common hardware used across
am62x EVMs which can be configured with various DDR sizes or none (with
DDR integrated in the package) based on the specific am62x SoC used.

Therefore this patch moves the memory node and the SoC specific k3-am625
dtsi out of sk-common and into the board dts files. No functional change
is intended from this patch. The device-tree inheritance is changed as
follows:

Before:

               k3-am62
                 ^
               k3-am625
                 ^
         k3-am62x-sk-common
                 ^
  am62x EVMs (k3-am625-sk, k3-am62-lp-sk)

After:

        k3-am62
          ^
        k3-am625    k3-am62x-sk-common
          ^              ^
  am62x EVMs (k3-am625-sk, k3-am62-lp-sk)

Signed-off-by: Anshul Dalal <anshuld@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://patch.msgid.link/20250814134531.2743874-2-anshuld@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
arch/arm64/boot/dts/ti/k3-am625-sk.dts
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi

index 4609f366006e4cdf0c162f72634ce90623f60a90..ecfba05fe5c273c671cd0968f3eceaf54d22ac7d 100644 (file)
@@ -7,12 +7,20 @@
 
 /dts-v1/;
 
+#include "k3-am625.dtsi"
 #include "k3-am62x-sk-common.dtsi"
 
 / {
        compatible = "ti,am62-lp-sk", "ti,am625";
        model = "Texas Instruments AM62x LP SK";
 
+       memory@80000000 {
+               /* 2G RAM */
+               reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
+               device_type = "memory";
+               bootph-pre-ram;
+       };
+
        vmain_pd: regulator-0 {
                /* TPS65988 PD CONTROLLER OUTPUT */
                compatible = "regulator-fixed";
index d240165bda9c57b01772feb57f14f209bbcc5668..1c6812a8ae9b5d8f274f5a3fa88738eafbc747a7 100644 (file)
@@ -7,6 +7,7 @@
 
 /dts-v1/;
 
+#include "k3-am625.dtsi"
 #include "k3-am62x-sk-common.dtsi"
 
 / {
        };
 
        memory@80000000 {
-               device_type = "memory";
                /* 2G RAM */
                reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
-
+               device_type = "memory";
+               bootph-pre-ram;
        };
 
        vmain_pd: regulator-0 {
index 241902fc1cf297966cf4f0e24d6d5c64a1cf2ce9..af549104af47e3728d857bcf91653414d2c960ee 100644 (file)
@@ -8,7 +8,6 @@
 #include <dt-bindings/leds/common.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/net/ti-dp83867.h>
-#include "k3-am625.dtsi"
 
 / {
        aliases {
                stdout-path = "serial2:115200n8";
        };
 
-       memory@80000000 {
-               bootph-pre-ram;
-               device_type = "memory";
-               /* 2G RAM */
-               reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
-       };
-
        reserved_memory: reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;