]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: socfpga: Add labels for CPU nodes
authorFlorian Vaussard <florian.vaussard@gmail.com>
Mon, 6 Mar 2017 22:02:17 +0000 (16:02 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 6 Mar 2017 22:02:17 +0000 (16:02 -0600)
This makes it easier to reference the CPU nodes afterwards.

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi

index 774c23972101574dbdb56202601d2f4ffc01a79b..0a7990b209142dc12f72b33e7b0c8ebdb78f6077 100644 (file)
                #size-cells = <0>;
                enable-method = "altr,socfpga-smp";
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0>;
                        next-level-cache = <&L2>;
                };
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <1>;