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 = &power_red;
11 led-failsafe = &power_red;
12 led-running = &power_red;
13 led-upgrade = &power_red;
16 led-internet = &dsl_red;
21 device_type = "memory";
22 reg = <0x00000000 0x04000000>;
26 compatible = "gpio-keys-polled";
31 gpios = <&pinctrl 8 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_HELP>;
33 debounce-interval = <60>;
38 gpios = <&pinctrl 9 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WLAN>;
40 debounce-interval = <60>;
45 gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
47 debounce-interval = <60>;
52 gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_CONFIG>;
54 debounce-interval = <60>;
59 compatible = "gpio-leds";
62 label = "red:message";
63 gpios = <&pinctrl 0 GPIO_ACTIVE_LOW>;
68 gpios = <&pinctrl 1 GPIO_ACTIVE_LOW>;
73 gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>;
78 gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>;
83 gpios = <&pinctrl 6 GPIO_ACTIVE_LOW>;
89 gpios = <&pinctrl 12 GPIO_ACTIVE_LOW>;
94 gpios = <&pinctrl 13 GPIO_ACTIVE_LOW>;
99 gpios = <&pinctrl 15 GPIO_ACTIVE_LOW>;
104 gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
108 label = "green:lan3";
109 gpios = <&pinctrl 23 GPIO_ACTIVE_LOW>;
114 gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
118 label = "green:lan4";
119 gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
124 gpios = <&pinctrl 28 GPIO_ACTIVE_LOW>;
141 compatible = "fixed-partitions";
142 #address-cells = <1>;
147 reg = <0x000000 0x020000>;
153 reg = <0x020000 0xec0000>;
154 compatible = "brcm,bcm963xx-imagetag";
157 cal_data: partition@ee0000 {
159 reg = <0xee0000 0x100000>;
165 reg = <0xfe0000 0x020000>;