summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorAlexander Dahl <post@lespocky.de>2020-11-29 00:53:53 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-12-05 13:24:29 +0300
commit991838f90e9315468cd1d1daed29d27faae77a9b (patch)
tree9bd59047fa3287e8f8649c3ea8b1246a41be3ebe /arch/mips
parentc0aac3a51cb6364bed367ee3e1a96ed414f386b4 (diff)
downloadlinux-991838f90e9315468cd1d1daed29d27faae77a9b.tar.xz
MIPS: DTS: img: Fix schema warnings for pwm-leds
The node names for devices using the pwm-leds driver follow a certain naming scheme (now). Parent node name is not enforced, but recommended by DT project. Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/img/pistachio_marduk.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts
index bf69da96dc8b..a8708783f04b 100644
--- a/arch/mips/boot/dts/img/pistachio_marduk.dts
+++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
@@ -46,9 +46,10 @@
regulator-max-microvolt = <1800000>;
};
- leds {
+ led-controller {
compatible = "pwm-leds";
- heartbeat {
+
+ led-1 {
label = "marduk:red:heartbeat";
pwms = <&pwm 3 300000>;
max-brightness = <255>;