kernel/kirkwood: Restore kernel files for v6.1
[openwrt/staging/stintel.git] / target / linux / kirkwood / patches-6.1 / 115-nsa310s.patch
1 --- a/arch/arm/boot/dts/kirkwood-nsa310s.dts
2 +++ b/arch/arm/boot/dts/kirkwood-nsa310s.dts
3 @@ -16,6 +16,13 @@
4 model = "ZyXEL NSA310S";
5 compatible = "zyxel,nsa310s", "marvell,kirkwood-88f6702", "marvell,kirkwood";
6
7 + aliases {
8 + led-boot = &led_green_sys;
9 + led-failsafe = &led_red_sys;
10 + led-running = &led_green_sys;
11 + led-upgrade = &led_red_sys;
12 + };
13 +
14 memory {
15 device_type = "memory";
16 reg = <0x00000000 0x10000000>;
17 @@ -96,14 +103,16 @@
18 gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
19 };
20
21 - led-6 {
22 + led_green_sys: led-6 {
23 + label = "nsa310s:green:sys";
24 function = LED_FUNCTION_STATUS;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
27 linux,default-trigger = "default-on";
28 };
29
30 - led-7 {
31 + led_red_sys: led-7 {
32 + label = "nsa310s:red:sys";
33 function = LED_FUNCTION_STATUS;
34 color = <LED_COLOR_ID_RED>;
35 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;