ramips: fix some clocks in mt7621.dtsi
[openwrt/staging/lynxis.git] / target / linux / ramips / dts / mt7621.dtsi
index 89f3f6fe2d14909a8b86208320ed53bbe09cb6ed..3c610e49d50ae843eecbd90dc3fb0ffef19f4961 100644 (file)
                clock-output-names = "cpu", "bus";
        };
 
-       cpuclock: cpuclock {
-               #clock-cells = <0>;
-               compatible = "fixed-clock";
-
-               /* FIXME: there should be way to detect this */
-               clock-frequency = <880000000>;
-       };
-
        sysclock: sysclock {
                #clock-cells = <0>;
                compatible = "fixed-clock";
                        compatible = "ns16550a";
                        reg = <0xc00 0x100>;
 
-                       clocks = <&sysclock>;
                        clock-frequency = <50000000>;
 
                        interrupt-parent = <&gic>;
                        compatible = "ralink,mt7621-spi";
                        reg = <0xb00 0x100>;
 
-                       clocks = <&sysclock>;
+                       clocks = <&pll MT7621_CLK_BUS>;
 
                        resets = <&rstctrl 18>;
                        reset-names = "spi";
                timer {
                        compatible = "mti,gic-timer";
                        interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
-                       clocks = <&cpuclock>;
+                       clocks = <&pll MT7621_CLK_CPU>;
                };
        };