1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6358.dtsi"
8 model = "Huawei EchoLife HG556a (version B)";
9 compatible = "huawei,hg556a-b", "brcm,bcm6358";
12 led-boot = &led_power_red;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_red;
15 led-upgrade = &led_power_red;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_HELP>;
26 debounce-interval = <60>;
31 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WLAN>;
33 debounce-interval = <60>;
38 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
45 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_CONFIG>;
47 debounce-interval = <60>;
52 compatible = "gpio-leds";
55 label = "red:message";
56 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
69 led_power_red: led@3 {
70 function = LED_FUNCTION_POWER;
71 color = <LED_COLOR_ID_RED>;
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";
126 function = LED_FUNCTION_WLAN;
127 color = <LED_COLOR_ID_RED>;
128 gpios = <&ath9k 2 GPIO_ACTIVE_HIGH>;
129 linux,default-trigger = "phy0tpt";
141 nvmem-cells = <&macaddr_cfe_6a0 0>;
142 nvmem-cell-names = "mac-address";
164 compatible = "pci168c,0029";
165 reg = <0x0800 0 0 0 0>;
169 nvmem-cells = <&macaddr_cfe_6a0 1>;
170 nvmem-cell-names = "mac-address";
181 compatible = "fixed-partitions";
182 #address-cells = <1>;
187 reg = <0x000000 0x020000>;
191 compatible = "fixed-layout";
192 #address-cells = <1>;
195 macaddr_cfe_6a0: macaddr@6a0 {
196 compatible = "mac-base";
198 #nvmem-cell-cells = <1>;
205 reg = <0x020000 0xec0000>;
206 compatible = "brcm,bcm963xx-imagetag";
209 cal_data: partition@ee0000 {
211 reg = <0xee0000 0x100000>;
215 compatible = "fixed-layout";
216 #address-cells = <1>;
219 cal_data_1e000: cal@1e000 {
220 reg = <0x1e000 0xeb8>;
227 reg = <0xfe0000 0x020000>;