From c3a17ee4b3709616923ab8ed008d995e11794a7d Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Fri, 15 Mar 2019 11:05:53 +0100 Subject: 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 --- target/linux/ramips/dts/mt7628an.dtsi | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ramips') 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"; -- cgit v1.2.3