ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.
authorMoritz Fischer <moritz.fischer@ettus.com>
Mon, 9 Nov 2015 18:51:51 +0000 (10:51 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 14 Dec 2015 08:48:39 +0000 (09:48 +0100)
By adding labels to the cpu nodes in the dtsi, a dts that
includes it can change the OPPs by referencing the cpu0
through the label.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-7000.dtsi

index 59a35df..f283ff0 100644 (file)
@@ -19,7 +19,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0>;
@@ -33,7 +33,7 @@
                        >;
                };
 
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <1>;