ath79: move reference clock node to SoC dtsi
[openwrt/staging/lynxis.git] / target / linux / ath79 / dts / ar9132.dtsi
index 44a5870ad7afe3dd67b689b1f66f46dc628c2fab..29891ccebbafcadd33cb1d3af600ab1761f13793 100644 (file)
                };
        };
 
+       extosc: ref {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-output-names = "ref";
+               clock-frequency = <40000000>;
+       };
+
        cpuintc: interrupt-controller {
                compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc";
 
                                                "qca,ar9130-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";