[U-Boot] [PATCH 01/12] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

Moritz Fischer moritz.fischer at ettus.com
Mon Dec 12 17:41:47 CET 2016


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.

[Based on linux (400b6a0cbef55d1ae32808eaa1ef1c28820bf6ac)]
Signed-off-by: Moritz Fischer <moritz.fischer at ettus.com>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: u-boot at lists.denx.de
---

Hi Michal,

I thought I've seen this patch on the list at one point,
but seems like it never made it to the tree.
Can you please take this? I have a sg != 1 device running
at 800 MHz and this will allow me to reuse the same dt for
linux and u-boot.

Cheers,
Moritz

---
 arch/arm/dts/zynq-7000.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index 6df0329..668f54e 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -16,7 +16,7 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		cpu at 0 {
+		cpu0: cpu at 0 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <0>;
@@ -30,7 +30,7 @@
 			>;
 		};
 
-		cpu at 1 {
+		cpu1: cpu at 1 {
 			compatible = "arm,cortex-a9";
 			device_type = "cpu";
 			reg = <1>;
-- 
2.7.4



More information about the U-Boot mailing list