aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMicke Prag <micke.prag@telldus.se>2019-03-15 11:05:53 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-03-18 20:43:09 +0100
commitc3a17ee4b3709616923ab8ed008d995e11794a7d (patch)
tree6ae0d247b36a8a3059f3a57b9dc5819e669ddf8e /target/linux
parent9b16a69941732f4914bd0845413161f0eca4ffa0 (diff)
downloadupstream-c3a17ee4b3709616923ab8ed008d995e11794a7d.tar.gz
upstream-c3a17ee4b3709616923ab8ed008d995e11794a7d.tar.bz2
upstream-c3a17ee4b3709616923ab8ed008d995e11794a7d.zip
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 <micke.prag@telldus.se>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi1
1 files changed, 1 insertions, 0 deletions
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";