bcm63xx: remove model name from LED labels
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / dts / bcm6328-comtrend-ar-5381u.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Comtrend AR-5381u";
9 compatible = "comtrend,ar-5381u", "brcm,bcm6328";
10
11 aliases {
12 led-boot = &led_power_green;
13 led-failsafe = &led_alarm_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
16 };
17
18 chosen {
19 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20 stdout-path = "serial0:115200n8";
21 };
22
23 keys {
24 compatible = "gpio-keys-polled";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 poll-interval = <20>;
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 23 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35 };
36 };
37
38 &hsspi {
39 status = "okay";
40
41 flash@0 {
42 compatible = "jedec,spi-nor";
43 spi-max-frequency = <16666667>;
44 spi-tx-bus-width = <2>;
45 spi-rx-bus-width = <2>;
46 reg = <0>;
47
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 partitions {
52 compatible = "fixed-partitions";
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 cfe@0 {
57 reg = <0x000000 0x010000>;
58 label = "cfe";
59 read-only;
60 };
61
62 linux@10000 {
63 reg = <0x010000 0xfe0000>;
64 label = "linux";
65 compatible = "brcm,bcm963xx-imagetag";
66 };
67
68 nvram@ff0000 {
69 reg = <0xff0000 0x010000>;
70 label = "nvram";
71 };
72 };
73 };
74 };
75
76 &leds {
77 status = "okay";
78
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_leds>;
81
82 led_alarm_red: led@2 {
83 reg = <2>;
84 active-low;
85 label = "red:alarm";
86 };
87
88 led@3 {
89 reg = <3>;
90 active-low;
91 label = "green:inet";
92 };
93
94 led_power_green: led@4 {
95 reg = <4>;
96 active-low;
97 label = "green:power";
98 default-state = "on";
99 };
100 };
101
102 &pinctrl {
103 pinctrl_leds: leds {
104 function = "led";
105 pins = "gpio2", "gpio3", "gpio4";
106 };
107 };
108
109 &uart0 {
110 status = "okay";
111 };