From: Micke Prag Date: Fri, 15 Mar 2019 10:05:53 +0000 (+0100) Subject: ramips: add #pwm-cells property to MT76x8 dts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c3a17ee4b3709616923ab8ed008d995e11794a7d;p=openwrt%2Fstaging%2Fzorun.git ramips: add #pwm-cells property to MT76x8 dts 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 --- diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index 91f715c245..61016c8b40 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -232,6 +232,7 @@ pwm: pwm@5000 { compatible = "mediatek,mt7628-pwm"; reg = <0x5000 0x1000>; + #pwm-cells = <2>; resets = <&rstctrl 31>; reset-names = "pwm";