1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6358.dtsi"
6 compatible = "huawei,hg556a-b", "brcm,bcm6358";
7 model = "Huawei EchoLife HG556a (version B)";
10 led-boot = &led_power_red;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_red;
13 led-upgrade = &led_power_red;
15 led-dsl = &led_dsl_red;
16 led-usb = &led_hspa_red;
20 compatible = "gpio-keys-polled";
21 poll-interval = <100>;
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_HELP>;
27 debounce-interval = <60>;
32 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WLAN>;
34 debounce-interval = <60>;
39 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 debounce-interval = <60>;
46 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_CONFIG>;
48 debounce-interval = <60>;
53 compatible = "gpio-leds";
56 label = "red:message";
57 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
70 led_power_red: led@3 {
72 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
77 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
83 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
88 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
98 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
102 label = "green:lan3";
103 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
108 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
112 label = "green:lan4";
113 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
118 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
123 compatible = "gpio-leds";
127 gpios = <&ath9k 2 GPIO_ACTIVE_HIGH>;
128 linux,default-trigger = "phy0tpt";
140 nvmem-cells = <&macaddr_cfe_6a0>;
141 nvmem-cell-names = "mac-address";
163 compatible = "pci168c,0029";
164 reg = <0x0800 0 0 0 0>;
168 nvmem-cells = <&macaddr_cfe_6a0>;
169 nvmem-cell-names = "mac-address";
170 mac-address-increment = <1>;
181 compatible = "fixed-partitions";
182 #address-cells = <1>;
187 reg = <0x000000 0x020000>;
193 reg = <0x020000 0xec0000>;
194 compatible = "brcm,bcm963xx-imagetag";
197 cal_data: partition@ee0000 {
199 reg = <0xee0000 0x100000>;
205 reg = <0xfe0000 0x020000>;
219 compatible = "nvmem-cells";
220 #address-cells = <1>;
223 cal_data_1e000: cal@1e000 {
224 reg = <0x1e000 0xeb8>;
229 compatible = "nvmem-cells";
230 #address-cells = <1>;
233 macaddr_cfe_6a0: macaddr@6a0 {