]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm: dts: mt7623: add pwm nodes to the mt7623.dtsi file
authorSean Wang <sean.wang@mediatek.com>
Wed, 26 Apr 2017 09:25:58 +0000 (17:25 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:08 +0000 (10:47 +0200)
Add PWM nodes to the mt7623.dtsi file.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index 3ffa2275045c82af8c8be35c242fdfddfba8712a..27823307d71e774369077d73c4d722a2bc758dc6 100644 (file)
@@ -241,6 +241,22 @@ uart3: serial@11005000 {
                status = "disabled";
        };
 
+       pwm: pwm@11006000 {
+               compatible = "mediatek,mt7623-pwm";
+               reg = <0 0x11006000 0 0x1000>;
+               #pwm-cells = <2>;
+               clocks = <&topckgen CLK_TOP_PWM_SEL>,
+                        <&pericfg CLK_PERI_PWM>,
+                        <&pericfg CLK_PERI_PWM1>,
+                        <&pericfg CLK_PERI_PWM2>,
+                        <&pericfg CLK_PERI_PWM3>,
+                        <&pericfg CLK_PERI_PWM4>,
+                        <&pericfg CLK_PERI_PWM5>;
+               clock-names = "top", "main", "pwm1", "pwm2",
+                             "pwm3", "pwm4", "pwm5";
+               status = "disabled";
+       };
+
        i2c0: i2c@11007000 {
                compatible = "mediatek,mt7623-i2c",
                             "mediatek,mt6577-i2c";