]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: arm/corstone1000: Move cpu nodes
authorRob Herring (Arm) <robh@kernel.org>
Fri, 20 Mar 2026 16:47:16 +0000 (11:47 -0500)
committerSudeep Holla <sudeep.holla@kernel.org>
Mon, 23 Mar 2026 10:03:27 +0000 (10:03 +0000)
In preparation to add a new Corstone-1000 variation with different CPUs,
move the CPU nodes into the specific platforms and out of the common
corstone1000.dtsi.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Message-Id: <20260320-dt-corstone1000-a320-v1-3-a549dfcfe8da@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
arch/arm64/boot/dts/arm/corstone1000-fvp.dts
arch/arm64/boot/dts/arm/corstone1000-mps3.dts
arch/arm64/boot/dts/arm/corstone1000.dtsi

index 66ba6b02719388003ddea774a39343ba77a5af44..e479c79c1ea79f72e10257c2fbe3a899269d2826 100644 (file)
                clocks = <&smbclk>, <&refclk100mhz>;
                clock-names = "smclk", "apb_pclk";
        };
-};
+       cpus: cpus {
+               #address-cells = <2>;
+               #size-cells = <0>;
 
-&cpus {
-       cpu1: cpu@1 {
-               device_type = "cpu";
-               compatible = "arm,cortex-a35";
-               reg = <0x1>;
-               enable-method = "psci";
-               next-level-cache = <&L2_0>;
-       };
+               cpu: cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a35";
+                       reg = <0 0>;
+                       enable-method = "psci";
+                       next-level-cache = <&L2_0>;
+               };
 
-       cpu2: cpu@2 {
-               device_type = "cpu";
-               compatible = "arm,cortex-a35";
-               reg = <0x2>;
-               enable-method = "psci";
-               next-level-cache = <&L2_0>;
-       };
+               cpu1: cpu@1 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a35";
+                       reg = <0 0x1>;
+                       enable-method = "psci";
+                       next-level-cache = <&L2_0>;
+               };
+
+               cpu2: cpu@2 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a35";
+                       reg = <0 0x2>;
+                       enable-method = "psci";
+                       next-level-cache = <&L2_0>;
+               };
 
-       cpu3: cpu@3 {
-               device_type = "cpu";
-               compatible = "arm,cortex-a35";
-               reg = <0x3>;
-               enable-method = "psci";
-               next-level-cache = <&L2_0>;
+               cpu3: cpu@3 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a35";
+                       reg = <0 0x3>;
+                       enable-method = "psci";
+                       next-level-cache = <&L2_0>;
+               };
        };
 };
index 10d265be0c02050075c924ba2f04484e064f316b..adcfaf7c55b8bbb07ff3bd5ba1dcfa77d8213aa8 100644 (file)
        model = "ARM Corstone1000 FPGA MPS3 board";
        compatible = "arm,corstone1000-mps3";
 
+       cpus: cpus {
+               #address-cells = <2>;
+               #size-cells = <0>;
+
+               cpu: cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a35";
+                       reg = <0 0>;
+                       enable-method = "psci";
+                       next-level-cache = <&L2_0>;
+               };
+       };
+
        smsc: ethernet@4010000 {
                compatible = "smsc,lan9220", "smsc,lan9115";
                reg = <0x40100000 0x10000>;
index f35a5c96f3dae7b89ec684f606d2bc1f3619302e..4d57dc197918855e5e45d05cb5755a5be3229603 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       cpus: cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               cpu: cpu@0 {
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a35";
-                       reg = <0>;
-                       enable-method = "psci";
-                       next-level-cache = <&L2_0>;
-               };
-       };
-
        memory@88200000 {
                device_type = "memory";
                reg = <0x88200000 0x77e00000>;