ath79: move reference clock node to SoC dtsi
[openwrt/staging/ldir.git] / target / linux / ath79 / dts / ar7100.dtsi
index 12ab7e503941d05a9ec65d1d54fe35556f82d30c..d91ef91ebd2c2ce7f118ed52baad72d12e2a4763 100644 (file)
                };
        };
 
+       extosc: ref {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-output-names = "ref";
+               clock-frequency = <40000000>;
+       };
+
        ahb {
                apb {
                        ddr_ctrl: memory-controller@18000000 {
@@ -73,8 +80,8 @@
                                compatible = "qca,ar7100-pll", "syscon";
                                reg = <0x18050000 0x20>;
 
+                               clocks = <&extosc>;
                                clock-names = "ref";
-                               /* The board must provides the ref clock */
 
                                #clock-cells = <1>;
                                clock-output-names = "cpu", "ddr", "ahb";