23922b8d883b56c557be43961208accf9751bdd1
[openwrt/openwrt.git] / target / linux / kirkwood / patches-6.1 / 114-ctera-c-200-v1.patch
1 --- a/arch/arm/boot/dts/kirkwood-c200-v1.dts
2 +++ b/arch/arm/boot/dts/kirkwood-c200-v1.dts
3 @@ -14,6 +14,14 @@
4 model = "Ctera C200 V1";
5 compatible = "ctera,c200-v1", "marvell,kirkwood-88f6281", "marvell,kirkwood";
6
7 +
8 + aliases {
9 + led-boot = &led_status_green;
10 + led-failsafe = &led_status_red;
11 + led-running = &led_status_green;
12 + led-upgrade = &led_status_red;
13 + };
14 +
15 chosen {
16 bootargs = "console=ttyS0,115200";
17 stdout-path = &uart0;
18 @@ -78,6 +86,7 @@
19 function-enumerator = <1>;
20 color = <LED_COLOR_ID_GREEN>;
21 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
22 + linux,default-trigger = "ata1";
23 };
24
25 led-2 {
26 @@ -85,6 +94,7 @@
27 function-enumerator = <2>;
28 color = <LED_COLOR_ID_GREEN>;
29 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
30 + linux,default-trigger = "ata2";
31 };
32
33 led-3 {
34 @@ -94,13 +104,15 @@
35 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
36 };
37
38 - led-4 {
39 + led_status_red: led-4 {
40 + label = "red:status";
41 function = LED_FUNCTION_STATUS;
42 color = <LED_COLOR_ID_RED>;
43 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
44 };
45
46 - led-5 {
47 + led_status_green: led-5 {
48 + label = "green:status";
49 function = LED_FUNCTION_STATUS;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;