brcm63xx: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / dts / hg556a-c.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Huawei EchoLife HG556a (version C)";
9 compatible = "huawei,hg556a-c", "brcm,bcm6358";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21
22 help {
23 label = "help";
24 gpios = <&pinctrl 36 1>;
25 linux,code = <KEY_HELP>;
26 debounce-interval = <60>;
27 };
28
29 wlan {
30 label = "wlan";
31 gpios = <&pinctrl 9 1>;
32 linux,code = <KEY_WLAN>;
33 debounce-interval = <60>;
34 };
35
36 restart {
37 label = "restart";
38 gpios = <&pinctrl 10 1>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
41 };
42
43 reset {
44 label = "reset";
45 gpios = <&pinctrl 11 1>;
46 linux,code = <KEY_CONFIG>;
47 debounce-interval = <60>;
48 };
49 };
50
51 leds {
52 compatible = "gpio-leds";
53
54 lan1_green {
55 label = "HW556:green:lan1";
56 gpios = <&pinctrl 0 1>;
57 };
58 lan2_green {
59 label = "HW556:green:lan2";
60 gpios = <&pinctrl 1 1>;
61 };
62 dsl_red {
63 label = "HW556:red:dsl";
64 gpios = <&pinctrl 2 1>;
65 };
66 power_red {
67 label = "HW556:red:power";
68 gpios = <&pinctrl 3 1>;
69 default-state = "on";
70 };
71 message_red {
72 label = "HW556:red:message";
73 gpios = <&pinctrl 12 1>;
74 };
75 lan1_red {
76 label = "HW556:red:lan1";
77 gpios = <&pinctrl 13 1>;
78 };
79 hspa_red {
80 label = "HW556:red:hspa";
81 gpios = <&pinctrl 15 1>;
82 };
83 lan2_red {
84 label = "HW556:red:lan2";
85 gpios = <&pinctrl 22 1>;
86 };
87 lan3_green {
88 label = "HW556:green:lan3";
89 gpios = <&pinctrl 23 1>;
90 };
91 lan3_red {
92 label = "HW556:red:lan3";
93 gpios = <&pinctrl 26 1>;
94 };
95 lan4_green {
96 label = "HW556:green:lan4";
97 gpios = <&pinctrl 27 1>;
98 };
99 lan4_red {
100 label = "HW556:red:lan4";
101 gpios = <&pinctrl 28 1>;
102 };
103 };
104 };
105
106 &pflash {
107 status = "ok";
108
109 partitions {
110 compatible = "fixed-partitions";
111 #address-cells = <1>;
112 #size-cells = <1>;
113
114 cfe@0 {
115 label = "CFE";
116 reg = <0x000000 0x020000>;
117 read-only;
118 };
119
120 linux@20000 {
121 label = "linux";
122 reg = <0x020000 0xec0000>;
123 compatible = "brcm,bcm963xx-imagetag";
124 };
125
126 cal_data@ee0000 {
127 label = "cal_data";
128 reg = <0xee0000 0x100000>;
129 read-only;
130 };
131
132 nvram@fe0000 {
133 label = "nvram";
134 reg = <0xfe0000 0x020000>;
135 };
136 };
137 };
138
139 &uart0 {
140 status = "ok";
141 };