ramips: remove set_preinit_iface script
[oweals/openwrt.git] / target / linux / imx6 / patches-4.19 / 301-apalis-ixora-dts-leds.patch
1 arm: dts: apalis-ixora: Add status LEDs aliases
2
3 Signed-off-by: Petr Štetiar <ynezz@true.cz>
4
5 --- a/arch/arm/boot/dts/imx6q-apalis-ixora.dts
6 +++ b/arch/arm/boot/dts/imx6q-apalis-ixora.dts
7 @@ -60,6 +60,10 @@
8                 i2c2 = &i2c2;
9                 rtc0 = &rtc_i2c;
10                 rtc1 = &snvs_rtc;
11 +               led-boot = &led_boot;
12 +               led-failsafe = &led_failsafe;
13 +               led-running = &led_running;
14 +               led-upgrade = &led_upgrade;
15         };
16  
17         chosen {
18 @@ -127,22 +131,22 @@
19                 pinctrl-names = "default";
20                 pinctrl-0 = <&pinctrl_leds_ixora>;
21  
22 -               led4-green {
23 +               led_running: led4-green {
24                         label = "LED_4_GREEN";
25                         gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
26                 };
27  
28 -               led4-red {
29 +               led_upgrade: led4-red {
30                         label = "LED_4_RED";
31                         gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
32                 };
33  
34 -               led5-green {
35 +               led_boot: led5-green {
36                         label = "LED_5_GREEN";
37                         gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
38                 };
39  
40 -               led5-red {
41 +               led_failsafe: led5-red {
42                         label = "LED_5_RED";
43                         gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
44                 };
45 --- a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts
46 +++ b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts
47 @@ -61,6 +61,10 @@
48                 i2c2 = &i2c2;
49                 rtc0 = &rtc_i2c;
50                 rtc1 = &snvs_rtc;
51 +               led-boot = &led_boot;
52 +               led-failsafe = &led_failsafe;
53 +               led-running = &led_running;
54 +               led-upgrade = &led_upgrade;
55         };
56  
57         chosen {
58 @@ -128,22 +132,22 @@
59                 pinctrl-names = "default";
60                 pinctrl-0 = <&pinctrl_leds_ixora>;
61  
62 -               led4-green {
63 +               led_running: led4-green {
64                         label = "LED_4_GREEN";
65 -                       gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
66 +                       gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
67                 };
68  
69 -               led4-red {
70 +               led_upgrade: led4-red {
71                         label = "LED_4_RED";
72 -                       gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
73 +                       gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
74                 };
75  
76 -               led5-green {
77 +               led_boot: led5-green {
78                         label = "LED_5_GREEN";
79                         gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
80                 };
81  
82 -               led5-red {
83 +               led_failsafe: led5-red {
84                         label = "LED_5_RED";
85                         gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
86                 };