Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / mips / boot / dts / ingenic / gcw0.dts
index 35f0291e8d38165252d73d462a75ca10dd78c1fd..f58d239c20586cba391327d0d5a3a77629a8e438 100644 (file)
@@ -2,6 +2,7 @@
 /dts-v1/;
 
 #include "jz4770.dtsi"
+#include <dt-bindings/clock/ingenic,tcu.h>
 
 / {
        compatible = "gcw,zero", "ingenic,jz4770";
        /* The WiFi module is connected to the UHC. */
        status = "okay";
 };
+
+&tcu {
+       /* 750 kHz for the system timer and clocksource */
+       assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER2>;
+       assigned-clock-rates = <750000>, <750000>;
+
+       /* PWM1 is in use, so reserve channel #2 for the clocksource */
+       ingenic,pwm-channels-mask = <0xfa>;
+};