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