]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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, 21 Nov 2016 09:39:10 +0000 (10:39 +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/dts/zynq-7000.dtsi

index fea7870b5b2b2abbda6f9f67f890e80a82b81679..b3a7cd4f6566a6ac669dacf9155cc783616363c3 100644 (file)
@@ -15,7 +15,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0>;
@@ -29,7 +29,7 @@
                        >;
                };
 
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <1>;