summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/pic32
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2023-02-11 13:49:14 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-02-17 11:58:14 +0100
commit09e61efd884ca68a768717d60858f138685b161b (patch)
tree197b44e3fcbb76d7bea83180a921111f686b94f1 /arch/mips/boot/dts/pic32
parent159c610af8cdf2b3c915e59162fc867b557cbe7e (diff)
mips: dts: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern: mt7621-gnubee-gb-pc1.dtb: gpio-leds: 'power', 'system' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot/dts/pic32')
-rw-r--r--arch/mips/boot/dts/pic32/pic32mzda_sk.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/boot/dts/pic32/pic32mzda_sk.dts b/arch/mips/boot/dts/pic32/pic32mzda_sk.dts
index ab70637bbec5..b1c5ffdb33fc 100644
--- a/arch/mips/boot/dts/pic32/pic32mzda_sk.dts
+++ b/arch/mips/boot/dts/pic32/pic32mzda_sk.dts
@@ -28,19 +28,19 @@
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
- led@1 {
+ led-1 {
label = "pic32mzda_sk:red:led1";
gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
- led@2 {
+ led-2 {
label = "pic32mzda_sk:yellow:led2";
gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
};
- led@3 {
+ led-3 {
label = "pic32mzda_sk:green:led3";
gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
default-state = "on";