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

ARM: dts: sunxi: Fix the LED node names

According to the LED bindings, the LED node names are supposed to be led
plus an optional suffix. Let's fix our users to use that new scheme.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20210114113538.1233933-6-maxime@cerno.tech

+117 -119
+2 -2
arch/arm/boot/dts/sun4i-a10-a1000.dts
··· 74 74 leds { 75 75 compatible = "gpio-leds"; 76 76 77 - red { 77 + led-0 { 78 78 label = "a1000:red:usr"; 79 79 gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; 80 80 }; 81 81 82 - blue { 82 + led-1 { 83 83 label = "a1000:blue:pwr"; 84 84 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 85 85 default-state = "on";
+2 -2
arch/arm/boot/dts/sun4i-a10-cubieboard.dts
··· 75 75 pinctrl-names = "default"; 76 76 pinctrl-0 = <&led_pins_cubieboard>; 77 77 78 - blue { 78 + led-0 { 79 79 label = "cubieboard:blue:usr"; 80 80 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* LED1 */ 81 81 }; 82 82 83 - green { 83 + led-1 { 84 84 label = "cubieboard:green:usr"; 85 85 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; /* LED2 */ 86 86 linux,default-trigger = "heartbeat";
+1 -1
arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts
··· 63 63 leds { 64 64 compatible = "gpio-leds"; 65 65 66 - green { 66 + led { 67 67 label = "q5:green:usr"; 68 68 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; /* PH20 */ 69 69 };
+4 -4
arch/arm/boot/dts/sun4i-a10-marsboard.dts
··· 62 62 leds { 63 63 compatible = "gpio-leds"; 64 64 65 - red1 { 65 + led-0 { 66 66 label = "marsboard:red1:usr"; 67 67 gpios = <&pio 1 5 GPIO_ACTIVE_HIGH>; 68 68 }; 69 69 70 - red2 { 70 + led-1 { 71 71 label = "marsboard:red2:usr"; 72 72 gpios = <&pio 1 6 GPIO_ACTIVE_HIGH>; 73 73 }; 74 74 75 - red3 { 75 + led-2 { 76 76 label = "marsboard:red3:usr"; 77 77 gpios = <&pio 1 7 GPIO_ACTIVE_HIGH>; 78 78 }; 79 79 80 - red4 { 80 + led-3 { 81 81 label = "marsboard:red4:usr"; 82 82 gpios = <&pio 1 8 GPIO_ACTIVE_HIGH>; 83 83 };
+1 -1
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
··· 74 74 pinctrl-names = "default"; 75 75 pinctrl-0 = <&led_pins_olinuxinolime>; 76 76 77 - green { 77 + led { 78 78 label = "a10-olinuxino-lime:green:usr"; 79 79 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 80 80 default-state = "on";
+2 -2
arch/arm/boot/dts/sun4i-a10-pcduino.dts
··· 63 63 leds { 64 64 compatible = "gpio-leds"; 65 65 66 - tx { 66 + led-0 { 67 67 label = "pcduino:green:tx"; 68 68 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; 69 69 }; 70 70 71 - rx { 71 + led-1 { 72 72 label = "pcduino:green:rx"; 73 73 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; 74 74 };
+1 -1
arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts
··· 62 62 pinctrl-names = "default"; 63 63 pinctrl-0 = <&led_pins_t003>; 64 64 65 - red { 65 + led { 66 66 label = "t003-tv-dongle:red:usr"; 67 67 gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */ 68 68 default-state = "on";
+1 -1
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
··· 62 62 pinctrl-names = "default"; 63 63 pinctrl-0 = <&led_pins_t004>; 64 64 65 - red { 65 + led { 66 66 label = "t004-tv-dongle:red:usr"; 67 67 gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */ 68 68 default-state = "on";
+1 -1
arch/arm/boot/dts/sun5i-a10s-mk802.dts
··· 60 60 leds { 61 61 compatible = "gpio-leds"; 62 62 63 - red { 63 + led { 64 64 label = "mk802:red:usr"; 65 65 gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */ 66 66 };
+1 -1
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
··· 79 79 pinctrl-names = "default"; 80 80 pinctrl-0 = <&led_pins_olinuxino>; 81 81 82 - green { 82 + led { 83 83 label = "a10s-olinuxino-micro:green:usr"; 84 84 gpios = <&pio 4 3 GPIO_ACTIVE_HIGH>; 85 85 default-state = "on";
+1 -1
arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts
··· 63 63 pinctrl-names = "default"; 64 64 pinctrl-0 = <&led_pins_r7>; 65 65 66 - green { 66 + led { 67 67 label = "r7-tv-dongle:green:usr"; 68 68 gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; 69 69 default-state = "on";
+1 -1
arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts
··· 62 62 leds { 63 63 compatible = "gpio-leds"; 64 64 65 - blue { 65 + led { 66 66 label = "a10s-wobo-i5:blue:usr"; 67 67 gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; 68 68 default-state = "on";
+3 -3
arch/arm/boot/dts/sun5i-a13-licheepi-one.dts
··· 66 66 leds { 67 67 compatible = "gpio-leds"; 68 68 69 - red { 69 + led-0 { 70 70 label ="licheepi:red:usr"; 71 71 gpios = <&pio 2 5 GPIO_ACTIVE_LOW>; 72 72 }; 73 73 74 - green { 74 + led-1 { 75 75 label ="licheepi:green:usr"; 76 76 gpios = <&pio 2 19 GPIO_ACTIVE_LOW>; 77 77 default-state = "on"; 78 78 }; 79 79 80 - blue { 80 + led-2 { 81 81 label ="licheepi:blue:usr"; 82 82 gpios = <&pio 2 4 GPIO_ACTIVE_LOW>; 83 83 };
+1 -1
arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
··· 64 64 pinctrl-names = "default"; 65 65 pinctrl-0 = <&led_pins_olinuxinom>; 66 66 67 - power { 67 + led { 68 68 label = "a13-olinuxino-micro:green:power"; 69 69 gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>; 70 70 default-state = "on";
+1 -1
arch/arm/boot/dts/sun5i-a13-olinuxino.dts
··· 66 66 pinctrl-names = "default"; 67 67 pinctrl-0 = <&led_pins_olinuxino>; 68 68 69 - power { 69 + led { 70 70 gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>; 71 71 default-state = "on"; 72 72 };
+1 -1
arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts
··· 37 37 leds { 38 38 compatible = "gpio-leds"; 39 39 40 - power { 40 + led { 41 41 gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */ 42 42 default-state = "on"; 43 43 };
+1 -1
arch/arm/boot/dts/sun6i-a31-i7.dts
··· 72 72 leds { 73 73 compatible = "gpio-leds"; 74 74 75 - blue { 75 + led { 76 76 label = "i7:blue:usr"; 77 77 gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; 78 78 };
+1 -1
arch/arm/boot/dts/sun6i-a31-m9.dts
··· 61 61 leds { 62 62 compatible = "gpio-leds"; 63 63 64 - blue { 64 + led { 65 65 label = "m9:blue:pwr"; 66 66 gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; 67 67 default-state = "on";
+1 -1
arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts
··· 61 61 leds { 62 62 compatible = "gpio-leds"; 63 63 64 - blue { 64 + led { 65 65 label = "a1000g:blue:pwr"; 66 66 gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; 67 67 default-state = "on";
+3 -3
arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
··· 59 59 leds { 60 60 compatible = "gpio-leds"; 61 61 62 - blue { 62 + led-0 { 63 63 label = "bpi-m2:blue:usr"; 64 64 gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ 65 65 }; 66 66 67 - green { 67 + led-1 { 68 68 label = "bpi-m2:green:usr"; 69 69 gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */ 70 70 }; 71 71 72 - red { 72 + led-2 { 73 73 label = "bpi-m2:red:usr"; 74 74 gpios = <&pio 6 5 GPIO_ACTIVE_HIGH>; /* PG5 */ 75 75 };
+2 -2
arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
··· 74 74 leds { 75 75 compatible = "gpio-leds"; 76 76 77 - green { 77 + led-0 { 78 78 label = "bananapi-m1-plus:green:usr"; 79 79 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; 80 80 }; 81 81 82 - pwr { 82 + led-1 { 83 83 label = "bananapi-m1-plus:pwr:usr"; 84 84 gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>; 85 85 default-state = "on";
+1 -1
arch/arm/boot/dts/sun7i-a20-bananapi.dts
··· 77 77 leds { 78 78 compatible = "gpio-leds"; 79 79 80 - green { 80 + led { 81 81 label = "bananapi:green:usr"; 82 82 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; 83 83 };
+2 -2
arch/arm/boot/dts/sun7i-a20-bananapro.dts
··· 63 63 leds { 64 64 compatible = "gpio-leds"; 65 65 66 - blue { 66 + led-0 { 67 67 label = "bananapro:blue:usr"; 68 68 gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; 69 69 }; 70 70 71 - green { 71 + led-1 { 72 72 label = "bananapro:green:usr"; 73 73 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; 74 74 };
+2 -2
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
··· 75 75 leds { 76 76 compatible = "gpio-leds"; 77 77 78 - blue { 78 + led-0 { 79 79 label = "cubieboard2:blue:usr"; 80 80 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; 81 81 }; 82 82 83 - green { 83 + led-1 { 84 84 label = "cubieboard2:green:usr"; 85 85 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 86 86 };
+4 -4
arch/arm/boot/dts/sun7i-a20-cubietruck.dts
··· 75 75 leds { 76 76 compatible = "gpio-leds"; 77 77 78 - blue { 78 + led-0 { 79 79 label = "cubietruck:blue:usr"; 80 80 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; 81 81 }; 82 82 83 - orange { 83 + led-1 { 84 84 label = "cubietruck:orange:usr"; 85 85 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 86 86 }; 87 87 88 - white { 88 + led-2 { 89 89 label = "cubietruck:white:usr"; 90 90 gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; 91 91 }; 92 92 93 - green { 93 + led-3 { 94 94 label = "cubietruck:green:usr"; 95 95 gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; 96 96 };
+2 -2
arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
··· 62 62 leds { 63 63 compatible = "gpio-leds"; 64 64 65 - red { 65 + led-0 { 66 66 label = "i12_tvbox:red:usr"; 67 67 gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; 68 68 }; 69 69 70 - blue { 70 + led-1 { 71 71 label = "i12_tvbox:blue:usr"; 72 72 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 73 73 };
+2 -2
arch/arm/boot/dts/sun7i-a20-itead-ibox.dts
··· 53 53 pinctrl-names = "default"; 54 54 pinctrl-0 = <&led_pins_itead_core>; 55 55 56 - green { 56 + led-0 { 57 57 label = "itead_core:green:usr"; 58 58 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 59 59 default-state = "on"; 60 60 }; 61 61 62 - blue { 62 + led-1 { 63 63 label = "itead_core:blue:usr"; 64 64 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; 65 65 default-state = "on";
+1 -1
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
··· 75 75 leds { 76 76 compatible = "gpio-leds"; 77 77 78 - green { 78 + led { 79 79 label = "lamobo_r1:green:usr"; 80 80 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; 81 81 };
+1 -1
arch/arm/boot/dts/sun7i-a20-m3.dts
··· 64 64 leds { 65 65 compatible = "gpio-leds"; 66 66 67 - blue { 67 + led { 68 68 label = "m3:blue:usr"; 69 69 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; 70 70 };
+1 -1
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
··· 75 75 leds { 76 76 compatible = "gpio-leds"; 77 77 78 - green { 78 + led { 79 79 label = "a20-olimex-som-evb:green:usr"; 80 80 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 81 81 default-state = "on";
+3 -3
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts
··· 46 46 leds { 47 47 compatible = "gpio-leds"; 48 48 49 - stat { 49 + led-0 { 50 50 label = "a20-som204-evb:green:stat"; 51 51 gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>; 52 52 default-state = "on"; 53 53 }; 54 54 55 - led1 { 55 + led-1 { 56 56 label = "a20-som204-evb:green:led1"; 57 57 gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>; 58 58 default-state = "on"; 59 59 }; 60 60 61 - led2 { 61 + led-2 { 62 62 label = "a20-som204-evb:yellow:led2"; 63 63 gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>; 64 64 default-state = "on";
+1 -1
arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts
··· 78 78 pinctrl-names = "default"; 79 79 pinctrl-0 = <&led_pins_olinuxinolime>; 80 80 81 - green { 81 + led { 82 82 label = "a20-olinuxino-lime:green:usr"; 83 83 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 84 84 default-state = "on";
+1 -1
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
··· 75 75 pinctrl-names = "default"; 76 76 pinctrl-0 = <&led_pins_olinuxinolime>; 77 77 78 - green { 78 + led { 79 79 label = "a20-olinuxino-lime2:green:usr"; 80 80 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 81 81 default-state = "on";
+1 -1
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
··· 82 82 pinctrl-names = "default"; 83 83 pinctrl-0 = <&led_pins_olinuxino>; 84 84 85 - green { 85 + led { 86 86 label = "a20-olinuxino-micro:green:usr"; 87 87 gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; 88 88 default-state = "on";
+2 -2
arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts
··· 75 75 leds { 76 76 compatible = "gpio-leds"; 77 77 78 - green { 78 + led-0 { 79 79 label = "orangepi:green:usr"; 80 80 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */ 81 81 }; 82 82 83 - blue { 83 + led-1 { 84 84 label = "orangepi:blue:usr"; 85 85 gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>; /* PH25 */ 86 86 };
+1 -1
arch/arm/boot/dts/sun7i-a20-orangepi.dts
··· 64 64 leds { 65 65 compatible = "gpio-leds"; 66 66 67 - green { 67 + led { 68 68 label = "orangepi:green:usr"; 69 69 gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */ 70 70 };
+2 -4
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
··· 72 72 leds { 73 73 compatible = "gpio-leds"; 74 74 75 - /* Marked "LED3" on the PCB. */ 76 - usr1 { 75 + led-3 { 77 76 label = "pcduino3-nano:green:usr1"; 78 77 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; /* PH16 */ 79 78 }; 80 79 81 - /* Marked "LED4" on the PCB. */ 82 - usr2 { 80 + led-4 { 83 81 label = "pcduino3-nano:green:usr2"; 84 82 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */ 85 83 };
+2 -2
arch/arm/boot/dts/sun7i-a20-pcduino3.dts
··· 64 64 leds { 65 65 compatible = "gpio-leds"; 66 66 67 - tx { 67 + led-0 { 68 68 label = "pcduino3:green:tx"; 69 69 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; 70 70 }; 71 71 72 - rx { 72 + led-1 { 73 73 label = "pcduino3:green:rx"; 74 74 gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; 75 75 };
+1 -1
arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts
··· 63 63 pinctrl-names = "default"; 64 64 pinctrl-0 = <&led_pin_d978>; 65 65 66 - home { 66 + led { 67 67 label = "d978:blue:home"; 68 68 gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ 69 69 };
+1 -1
arch/arm/boot/dts/sun8i-a33-olinuxino.dts
··· 62 62 leds { 63 63 compatible = "gpio-leds"; 64 64 65 - green { 65 + led { 66 66 label = "a33-olinuxino:green:usr"; 67 67 gpios = <&pio 1 7 GPIO_ACTIVE_HIGH>; 68 68 };
+2 -2
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
··· 74 74 leds { 75 75 compatible = "gpio-leds"; 76 76 77 - blue { 77 + led-0 { 78 78 label = "bananapi-m3:blue:usr"; 79 79 gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; 80 80 }; 81 81 82 - green { 82 + led-1 { 83 83 label = "bananapi-m3:green:usr"; 84 84 gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; 85 85 };
+4 -4
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
··· 74 74 leds { 75 75 compatible = "gpio-leds"; 76 76 77 - blue { 77 + led-0 { 78 78 label = "cubietruck-plus:blue:usr"; 79 79 gpios = <&pio 3 25 GPIO_ACTIVE_HIGH>; /* PD25 */ 80 80 }; 81 81 82 - orange { 82 + led-1 { 83 83 label = "cubietruck-plus:orange:usr"; 84 84 gpios = <&pio 3 26 GPIO_ACTIVE_HIGH>; /* PD26 */ 85 85 }; 86 86 87 - white { 87 + led-2 { 88 88 label = "cubietruck-plus:white:usr"; 89 89 gpios = <&pio 3 27 GPIO_ACTIVE_HIGH>; /* PD27 */ 90 90 }; 91 91 92 - green { 92 + led-3 { 93 93 label = "cubietruck-plus:green:usr"; 94 94 gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* PE4 */ 95 95 };
+2 -2
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts
··· 25 25 leds { 26 26 compatible = "gpio-leds"; 27 27 28 - pwr { 28 + led-0 { 29 29 label = "nanopi:red:pwr"; 30 30 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */ 31 31 default-state = "on"; 32 32 }; 33 33 34 - status { 34 + led-1 { 35 35 label = "nanopi:green:status"; 36 36 gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */ 37 37 };
+2 -2
arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
··· 61 61 leds { 62 62 compatible = "gpio-leds"; 63 63 64 - pwr { 64 + led-0 { 65 65 label = "nanopi:green:pwr"; 66 66 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */ 67 67 default-state = "on"; 68 68 }; 69 69 70 - status { 70 + led-1 { 71 71 label = "nanopi:blue:status"; 72 72 gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */ 73 73 };
+2 -2
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
··· 60 60 leds { 61 61 compatible = "gpio-leds"; 62 62 63 - status { 63 + led-0 { 64 64 label = "nanopi:blue:status"; 65 65 gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; 66 66 linux,default-trigger = "heartbeat"; 67 67 }; 68 68 69 - pwr { 69 + led-1 { 70 70 label = "nanopi:green:pwr"; 71 71 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 72 72 default-state = "on";
+2 -2
arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts
··· 73 73 leds { 74 74 compatible = "gpio-leds"; 75 75 76 - pwr { 76 + led-0 { 77 77 label = "orangepi:green:pwr"; 78 78 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 79 79 default-state = "on"; 80 80 }; 81 81 82 - status { 82 + led-1 { 83 83 label = "orangepi:red:status"; 84 84 gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; 85 85 };
+3 -3
arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts
··· 64 64 leds { 65 65 compatible = "gpio-leds"; 66 66 67 - blue { 67 + led-0 { 68 68 label = "bpi-m2m:blue:usr"; 69 69 gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; 70 70 }; 71 71 72 - green { 72 + led-1 { 73 73 label = "bpi-m2m:green:usr"; 74 74 gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; 75 75 }; 76 76 77 - red { 77 + led-2 { 78 78 label = "bpi-m2m:red:power"; 79 79 gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; 80 80 default-state = "on";
+4 -4
arch/arm/boot/dts/sun8i-r16-parrot.dts
··· 64 64 leds { 65 65 compatible = "gpio-leds"; 66 66 67 - led1 { 67 + led-1 { 68 68 label = "parrot:led1:usr"; 69 - gpio = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */ 69 + gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */ 70 70 }; 71 71 72 - led2 { 72 + led-2 { 73 73 label = "parrot:led2:usr"; 74 - gpio = <&pio 4 16 GPIO_ACTIVE_HIGH>; /* PE16 */ 74 + gpios = <&pio 4 16 GPIO_ACTIVE_HIGH>; /* PE16 */ 75 75 }; 76 76 }; 77 77
+2 -2
arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
··· 63 63 leds { 64 64 compatible = "gpio-leds"; 65 65 66 - green { 66 + led-0 { 67 67 label = "cubieboard4:green:usr"; 68 68 gpios = <&pio 7 17 GPIO_ACTIVE_HIGH>; /* PH17 */ 69 69 }; 70 70 71 - red { 71 + led-1 { 72 72 label = "cubieboard4:red:usr"; 73 73 gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 74 74 };
+3 -3
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
··· 36 36 leds { 37 37 compatible = "gpio-leds"; 38 38 39 - pwr-led { 39 + led-0 { 40 40 label = "bananapi-m64:red:pwr"; 41 41 gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ 42 42 default-state = "on"; 43 43 }; 44 44 45 - green { 45 + led-1 { 46 46 label = "bananapi-m64:green:user"; 47 47 gpios = <&pio 4 14 GPIO_ACTIVE_HIGH>; /* PE14 */ 48 48 }; 49 49 50 - blue { 50 + led-2 { 51 51 label = "bananapi-m64:blue:user"; 52 52 gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */ 53 53 };
+1 -1
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
··· 35 35 leds { 36 36 compatible = "gpio-leds"; 37 37 38 - blue { 38 + led { 39 39 label = "nanopi-a64:blue:status"; 40 40 gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ 41 41 };
+3 -3
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
··· 31 31 leds { 32 32 compatible = "gpio-leds"; 33 33 34 - blue { 34 + led-0 { 35 35 function = LED_FUNCTION_INDICATOR; 36 36 color = <LED_COLOR_ID_BLUE>; 37 37 gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */ 38 38 }; 39 39 40 - green { 40 + led-1 { 41 41 function = LED_FUNCTION_INDICATOR; 42 42 color = <LED_COLOR_ID_GREEN>; 43 43 gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */ 44 44 }; 45 45 46 - red { 46 + led-2 { 47 47 function = LED_FUNCTION_INDICATOR; 48 48 color = <LED_COLOR_ID_RED>; 49 49 gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
··· 52 52 leds { 53 53 compatible = "gpio-leds"; 54 54 55 - capslock { 55 + led-0 { 56 56 label = "teres-i:green:capslock"; 57 57 gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */ 58 58 }; 59 59 60 - numlock { 60 + led-1 { 61 61 label = "teres-i:green:numlock"; 62 62 gpios = <&pio 2 4 GPIO_ACTIVE_HIGH>; /* PC4 */ 63 63 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
··· 25 25 leds { 26 26 compatible = "gpio-leds"; 27 27 28 - pwr { 28 + led-0 { 29 29 label = "nanopi:green:pwr"; 30 30 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 31 31 default-state = "on"; 32 32 }; 33 33 34 - status { 34 + led-1 { 35 35 label = "nanopi:red:status"; 36 36 gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; 37 37 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts
··· 22 22 leds { 23 23 compatible = "gpio-leds"; 24 24 25 - pwr { 25 + led-0 { 26 26 label = "nanopi:green:pwr"; 27 27 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 28 28 default-state = "on"; 29 29 }; 30 30 31 - status { 31 + led-1 { 32 32 label = "nanopi:blue:status"; 33 33 gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; 34 34 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
··· 42 42 leds { 43 43 compatible = "gpio-leds"; 44 44 45 - pwr { 45 + led-0 { 46 46 label = "orangepi:green:pwr"; 47 47 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 48 48 default-state = "on"; 49 49 }; 50 50 51 - status { 51 + led-1 { 52 52 label = "orangepi:red:status"; 53 53 gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; 54 54 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
··· 36 36 leds { 37 37 compatible = "gpio-leds"; 38 38 39 - pwr { 39 + led-0 { 40 40 label = "orangepi:green:pwr"; 41 41 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 42 42 default-state = "on"; 43 43 }; 44 44 45 - status { 45 + led-1 { 46 46 label = "orangepi:red:status"; 47 47 gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; 48 48 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts
··· 33 33 leds { 34 34 compatible = "gpio-leds"; 35 35 36 - pwr { 36 + led-0 { 37 37 label = "orangepi:green:pwr"; 38 38 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */ 39 39 default-state = "on"; 40 40 }; 41 41 42 - status { 42 + led-1 { 43 43 label = "orangepi:red:status"; 44 44 gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */ 45 45 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
··· 33 33 leds { 34 34 compatible = "gpio-leds"; 35 35 36 - pwr { 36 + led-0 { 37 37 label = "orangepi:green:pwr"; 38 38 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; 39 39 default-state = "on"; 40 40 }; 41 41 42 - status { 42 + led-1 { 43 43 label = "orangepi:red:status"; 44 44 gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; 45 45 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
··· 43 43 leds { 44 44 compatible = "gpio-leds"; 45 45 46 - power { 46 + led-0 { 47 47 label = "orangepi:red:power"; 48 48 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ 49 49 default-state = "on"; 50 50 }; 51 51 52 - status { 52 + led-1 { 53 53 label = "orangepi:green:status"; 54 54 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ 55 55 };
+2 -2
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
··· 42 42 leds { 43 43 compatible = "gpio-leds"; 44 44 45 - power { 45 + led-0 { 46 46 label = "orangepi:red:power"; 47 47 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ 48 48 default-state = "on"; 49 49 }; 50 50 51 - status { 51 + led-1 { 52 52 label = "orangepi:green:status"; 53 53 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ 54 54 };
+3 -3
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
··· 44 44 leds { 45 45 compatible = "gpio-leds"; 46 46 47 - heartbeat { 47 + led-0 { 48 48 label = "pine-h64:green:heartbeat"; 49 49 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ 50 50 }; 51 51 52 - link { 52 + led-1 { 53 53 label = "pine-h64:white:link"; 54 54 gpios = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */ 55 55 }; 56 56 57 - status { 57 + led-2 { 58 58 label = "pine-h64:blue:status"; 59 59 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ 60 60 };