Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arınç ÜNAL and committed by
Thomas Bogendoerfer
09e61efd 159c610a

+47 -47
+4 -4
arch/mips/boot/dts/ingenic/ci20.dts
··· 42 42 leds { 43 43 compatible = "gpio-leds"; 44 44 45 - led0 { 45 + led-0 { 46 46 label = "ci20:red:led0"; 47 47 gpios = <&gpc 3 GPIO_ACTIVE_HIGH>; 48 48 linux,default-trigger = "none"; 49 49 }; 50 50 51 - led1 { 51 + led-1 { 52 52 label = "ci20:red:led1"; 53 53 gpios = <&gpc 2 GPIO_ACTIVE_HIGH>; 54 54 linux,default-trigger = "nand-disk"; 55 55 }; 56 56 57 - led2 { 57 + led-2 { 58 58 label = "ci20:red:led2"; 59 59 gpios = <&gpc 1 GPIO_ACTIVE_HIGH>; 60 60 linux,default-trigger = "cpu1"; 61 61 }; 62 62 63 - led3 { 63 + led-3 { 64 64 label = "ci20:red:led3"; 65 65 gpios = <&gpc 0 GPIO_ACTIVE_HIGH>; 66 66 linux,default-trigger = "cpu0";
+3 -3
arch/mips/boot/dts/pic32/pic32mzda_sk.dts
··· 28 28 pinctrl-names = "default"; 29 29 pinctrl-0 = <&user_leds_s0>; 30 30 31 - led@1 { 31 + led-1 { 32 32 label = "pic32mzda_sk:red:led1"; 33 33 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; 34 34 linux,default-trigger = "heartbeat"; 35 35 }; 36 36 37 - led@2 { 37 + led-2 { 38 38 label = "pic32mzda_sk:yellow:led2"; 39 39 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; 40 40 linux,default-trigger = "mmc0"; 41 41 }; 42 42 43 - led@3 { 43 + led-3 { 44 44 label = "pic32mzda_sk:green:led3"; 45 45 gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>; 46 46 default-state = "on";
+4 -4
arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts
··· 41 41 42 42 leds { 43 43 compatible = "gpio-leds"; 44 - led@0 { 44 + led-0 { 45 45 label = "tp-link:green:usb"; 46 46 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 47 47 }; 48 48 49 - led@1 { 49 + led-1 { 50 50 label = "tp-link:green:system"; 51 51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>; 52 52 linux,default-trigger = "heartbeat"; 53 53 }; 54 54 55 - led@2 { 55 + led-2 { 56 56 label = "tp-link:green:qss"; 57 57 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>; 58 58 }; 59 59 60 - led@3 { 60 + led-3 { 61 61 label = "tp-link:green:wlan"; 62 62 gpios = <&gpio 9 GPIO_ACTIVE_LOW>; 63 63 };
+4 -4
arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts
··· 22 22 leds { 23 23 compatible = "gpio-leds"; 24 24 25 - wlan { 25 + led-wlan { 26 26 label = "dragino2:red:wlan"; 27 27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 28 28 default-state = "off"; 29 29 }; 30 30 31 - lan { 31 + led-lan { 32 32 label = "dragino2:red:lan"; 33 33 gpios = <&gpio 13 GPIO_ACTIVE_LOW>; 34 34 default-state = "off"; 35 35 }; 36 36 37 - wan { 37 + led-wan { 38 38 label = "dragino2:red:wan"; 39 39 gpios = <&gpio 17 GPIO_ACTIVE_LOW>; 40 40 default-state = "off"; 41 41 }; 42 42 43 - system { 43 + led-system { 44 44 label = "dragino2:red:system"; 45 45 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>; 46 46 default-state = "off";
+1 -1
arch/mips/boot/dts/qca/ar9331_omega.dts
··· 22 22 leds { 23 23 compatible = "gpio-leds"; 24 24 25 - system { 25 + led-system { 26 26 label = "onion:amber:system"; 27 27 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; 28 28 default-state = "off";
+4 -4
arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts
··· 22 22 leds { 23 23 compatible = "gpio-leds"; 24 24 25 - wlan { 25 + led-wlan { 26 26 label = "tp-link:green:wlan"; 27 27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 28 28 default-state = "off"; 29 29 }; 30 30 31 - lan { 31 + led-lan { 32 32 label = "tp-link:green:lan"; 33 33 gpios = <&gpio 17 GPIO_ACTIVE_LOW>; 34 34 default-state = "off"; 35 35 }; 36 36 37 - wps { 37 + led-wps { 38 38 label = "tp-link:green:wps"; 39 39 gpios = <&gpio 26 GPIO_ACTIVE_LOW>; 40 40 default-state = "off"; 41 41 }; 42 42 43 - led3g { 43 + led-led3g { 44 44 label = "tp-link:green:3g"; 45 45 gpios = <&gpio 27 GPIO_ACTIVE_LOW>; 46 46 default-state = "off";
+11 -11
arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts
··· 47 47 * (see below). So we can't include it in this LED node. 48 48 */ 49 49 50 - power_blue { 50 + led-power-blue { 51 51 label = "smartgw:power:blue"; 52 52 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; 53 53 default-state = "off"; 54 54 }; 55 55 56 - power_green { 56 + led-power-green { 57 57 label = "smartgw:power:green"; 58 58 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>; 59 59 default-state = "off"; 60 60 }; 61 61 62 - power_red { 62 + led-power-red { 63 63 label = "smartgw:power:red"; 64 64 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; 65 65 default-state = "off"; 66 66 }; 67 67 68 - radio_blue { 68 + led-radio-blue { 69 69 label = "smartgw:radio:blue"; 70 70 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; 71 71 default-state = "off"; 72 72 }; 73 73 74 - radio_green { 74 + led-radio-green { 75 75 label = "smartgw:radio:green"; 76 76 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 77 77 default-state = "off"; 78 78 }; 79 79 80 - radio_red { 80 + led-radio-red { 81 81 label = "smartgw:radio:red"; 82 82 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>; 83 83 default-state = "off"; 84 84 }; 85 85 86 - internet_blue { 86 + led-internet-blue { 87 87 label = "smartgw:internet:blue"; 88 88 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>; 89 89 default-state = "off"; 90 90 }; 91 91 92 - internet_green { 92 + led-internet-green { 93 93 label = "smartgw:internet:green"; 94 94 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>; 95 95 default-state = "off"; 96 96 }; 97 97 98 - internet_red { 98 + led-internet-red { 99 99 label = "smartgw:internet:red"; 100 100 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>; 101 101 default-state = "off"; 102 102 }; 103 103 104 - ethernet_link { 104 + led-ethernet-link { 105 105 label = "smartgw:eth:link"; 106 106 gpios = <&gpio 3 GPIO_ACTIVE_LOW>; 107 107 linux,default-trigger = "netdev"; 108 108 }; 109 109 110 - ethernet_activity { 110 + led-ethernet-activity { 111 111 label = "smartgw:eth:act"; 112 112 gpios = <&gpio 43 GPIO_ACTIVE_LOW>; 113 113 linux,default-trigger = "netdev";
+2 -2
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts
··· 33 33 gpio-leds { 34 34 compatible = "gpio-leds"; 35 35 36 - power { 36 + led-power { 37 37 label = "green:power"; 38 38 gpios = <&gpio 6 GPIO_ACTIVE_LOW>; 39 39 linux,default-trigger = "default-on"; 40 40 }; 41 41 42 - system { 42 + led-system { 43 43 label = "green:system"; 44 44 gpios = <&gpio 8 GPIO_ACTIVE_LOW>; 45 45 linux,default-trigger = "disk-activity";
+6 -6
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
··· 33 33 gpio-leds { 34 34 compatible = "gpio-leds"; 35 35 36 - ethblack-green { 36 + led-ethblack-green { 37 37 label = "green:ethblack"; 38 38 gpios = <&gpio 3 GPIO_ACTIVE_LOW>; 39 39 }; 40 40 41 - ethblue-green { 41 + led-ethblue-green { 42 42 label = "green:ethblue"; 43 43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>; 44 44 }; 45 45 46 - ethyellow-green { 46 + led-ethyellow-green { 47 47 label = "green:ethyellow"; 48 48 gpios = <&gpio 15 GPIO_ACTIVE_LOW>; 49 49 }; 50 50 51 - ethyellow-orange { 51 + led-ethyellow-orange { 52 52 label = "orange:ethyellow"; 53 53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>; 54 54 }; 55 55 56 - power { 56 + led-power { 57 57 label = "green:power"; 58 58 gpios = <&gpio 6 GPIO_ACTIVE_LOW>; 59 59 linux,default-trigger = "default-on"; 60 60 }; 61 61 62 - system { 62 + led-system { 63 63 label = "green:system"; 64 64 gpios = <&gpio 8 GPIO_ACTIVE_LOW>; 65 65 linux,default-trigger = "disk-activity";