1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6362.dtsi"
6 model = "Huawei HG253s v2";
7 compatible = "huawei,hg253s-v2", "brcm,bcm6362";
10 led-boot = &led_phone_green;
11 led-failsafe = &led_phone_green;
12 led-upgrade = &led_phone_green;
16 compatible = "gpio-keys-polled";
17 poll-interval = <100>;
21 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
23 debounce-interval = <60>;
28 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WLAN>;
30 debounce-interval = <60>;
35 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
44 led_phone_green: led@28 {
45 label = "green:phone";
46 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
63 nvmem-cells = <&macaddr_cferom_6a0>;
64 nvmem-cell-names = "mac-address";
70 pinctrl-names = "default";
71 pinctrl-0 = <&pinctrl_leds>;
76 label = "green:internet";
90 compatible = "brcm,bcm53125";
92 spi-max-frequency = <781000>;
124 ethernet = <&switch0port4>;
138 phy24: ethernet-phy@18 {
139 compatible = "ethernet-phy-ieee802.3-c22";
148 compatible = "brcm,nandcs";
150 nand-ecc-step-size = <512>;
151 nand-ecc-strength = <15>;
153 brcm,nand-oob-sector-size = <64>;
155 #address-cells = <1>;
159 compatible = "fixed-partitions";
160 #address-cells = <1>;
163 cferom: partition@0 {
165 reg = <0x0000000 0x0020000>;
169 compatible = "fixed-layout";
170 #address-cells = <1>;
173 macaddr_cferom_6a0: macaddr@6a0 {
180 compatible = "brcm,wfi";
182 reg = <0x0020000 0x7d80000>;
187 reg = <0x7da0000 0x160000>;
200 pins = "gpio3", "gpio5";
208 switch0port4: port@4 {
224 phy-handle = <&phy24>;
225 phy-mode = "rgmii-txid";