OSDN Git Service

ARM: dts: exynos: Move fixed-clocks out of soc on Exynos3250
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 15 Apr 2019 18:05:09 +0000 (20:05 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 24 Apr 2019 17:53:23 +0000 (19:53 +0200)
The three fixed-clocks (xusbxti, xxti and xtcxo) are inputs to the
Exynos3250 therefore they should not be inside the soc node.  This also
fixes DTC W=1 warning:

    arch/arm/boot/dts/exynos3250.dtsi:112.21-139.5:
        Warning (simple_bus_reg): /soc/fixed-rate-clocks: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos3250.dtsi

index 6e74e68..8ce3a77 100644 (file)
                };
        };
 
+       fixed-rate-clocks {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               xusbxti: clock@0 {
+                       compatible = "fixed-clock";
+                       reg = <0>;
+                       clock-frequency = <0>;
+                       #clock-cells = <0>;
+                       clock-output-names = "xusbxti";
+               };
+
+               xxti: clock@1 {
+                       compatible = "fixed-clock";
+                       reg = <1>;
+                       clock-frequency = <0>;
+                       #clock-cells = <0>;
+                       clock-output-names = "xxti";
+               };
+
+               xtcxo: clock@2 {
+                       compatible = "fixed-clock";
+                       reg = <2>;
+                       clock-frequency = <0>;
+                       #clock-cells = <0>;
+                       clock-output-names = "xtcxo";
+               };
+       };
+
        pmu {
                compatible = "arm,cortex-a7-pmu";
                interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
                #size-cells = <1>;
                ranges;
 
-               fixed-rate-clocks {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       xusbxti: clock@0 {
-                               compatible = "fixed-clock";
-                               reg = <0>;
-                               clock-frequency = <0>;
-                               #clock-cells = <0>;
-                               clock-output-names = "xusbxti";
-                       };
-
-                       xxti: clock@1 {
-                               compatible = "fixed-clock";
-                               reg = <1>;
-                               clock-frequency = <0>;
-                               #clock-cells = <0>;
-                               clock-output-names = "xxti";
-                       };
-
-                       xtcxo: clock@2 {
-                               compatible = "fixed-clock";
-                               reg = <2>;
-                               clock-frequency = <0>;
-                               #clock-cells = <0>;
-                               clock-output-names = "xtcxo";
-                       };
-               };
-
                sysram@2020000 {
                        compatible = "mmio-sram";
                        reg = <0x02020000 0x40000>;