Skip to contentSkip to conversation

ARM: dts: imx27-eukrea-cpuimx27: Put the clock node directly into root

PATCH New Fabio Estevam 1 participant 1 message Feb 2, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 ARM: dts: imx27-eukrea-cpuimx27: Put the clock node directly into root

From: Fabio Estevam <[email protected]>

Put the UART clock node directly under root with a unique node name and drop unit-address in order to fix the following build warning with W=1:

arch/arm/boot/dts/imx27-eukrea-mbimxsd27-baseboard.dtb: Warning (simple_bus_reg): Node /clocks/osc26m missing or empty reg/ranges property

---
Changes since v1:
- Put the UART clock node directly under root (Shawn)

 arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi +4 -11
index 2cf896c..6671a80 100644
@@ -20,17 +20,10 @@
 		reg = <0xa0000000 0x04000000>;
 	};
 
-	clocks {
-		#address-cells = <1>;
-		#size-cells = <0>;
-		compatible = "simple-bus";
-
-		clk14745600: clock at 0 {
-			#clock-cells = <0>;
-			compatible = "fixed-clock";
-			clock-frequency = <14745600>;
-			reg = <0>;
-		};
+	clk14745600: clk-uart {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <14745600>;
 	};
 };
 
Signature · 1 line
2.7.4