MIPS: DTS: img: Fix schema warnings for pwm-leds
authorAlexander Dahl <post@lespocky.de>
Sat, 28 Nov 2020 21:53:53 +0000 (22:53 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 5 Dec 2020 10:24:29 +0000 (11:24 +0100)
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>
arch/mips/boot/dts/img/pistachio_marduk.dts

index bf69da96dc8b09768b9626a1c81df597538d3e54..a8708783f04bce60d8127eac9ca54511c3b3e098 100644 (file)
                regulator-max-microvolt = <1800000>;
        };
 
-       leds {
+       led-controller {
                compatible = "pwm-leds";
-               heartbeat {
+
+               led-1 {
                        label = "marduk:red:heartbeat";
                        pwms = <&pwm 3 300000>;
                        max-brightness = <255>;