eb62e1a5ed43f032711c45fff4fe9e32c39f2cce
[openwrt/staging/stintel.git] / target / linux / kirkwood / patches-6.6 / 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,13 @@
35 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
36 };
37
38 - led-4 {
39 + led_status_red: led-4 {
40 function = LED_FUNCTION_STATUS;
41 color = <LED_COLOR_ID_RED>;
42 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
43 };
44
45 - led-5 {
46 + led_status_green: led-5 {
47 function = LED_FUNCTION_STATUS;
48 color = <LED_COLOR_ID_GREEN>;
49 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
50 @@ -240,7 +250,7 @@
51 };
52
53 partition@7a00000 {
54 - label = "rootfs";
55 + label = "ubi";
56 reg = <0x7a00000 0x8600000>;
57 };
58 };