ramips: add #pwm-cells property to MT76x8 dts
authorMicke Prag <micke.prag@telldus.se>
Fri, 15 Mar 2019 10:05:53 +0000 (11:05 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 18 Mar 2019 19:43:09 +0000 (20:43 +0100)
To be able to configure pwms the pwm driver needs to know the number off
cells in the "pwms" property. For this platform this is 2.

Signed-off-by: Micke Prag <micke.prag@telldus.se>
target/linux/ramips/dts/mt7628an.dtsi

index 91f715c2457a7301f8565c103656dc068e11e9bd..61016c8b4081235fefba6c37afa3b7fb1d5b2819 100644 (file)
                pwm: pwm@5000 {
                        compatible = "mediatek,mt7628-pwm";
                        reg = <0x5000 0x1000>;
+                       #pwm-cells = <2>;
 
                        resets = <&rstctrl 31>;
                        reset-names = "pwm";