ARM: dts: imx27-eukrea-cpuimx27: Put the clock node directly into root
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 2 Feb 2018 23:26:39 +0000 (21:26 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Feb 2018 13:13:19 +0000 (21:13 +0800)
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

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi

index b2b6f84..9c455dc 100644 (file)
                reg = <0xa0000000 0x04000000>;
        };
 
-       clocks {
-               #address-cells = <1>;
-               #size-cells = <0>;
-               compatible = "simple-bus";
-
-               clk14745600: clock@0 {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <14745600>;
-                       reg = <0>;
-               };
+       clk14745600: clk-uart {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <14745600>;
        };
 };