1 #include "bcm6362.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Huawei HG253s v2";
8 compatible = "huawei,hg253s-v2", "brcm,bcm6362";
11 led-boot = &led_phone_green;
12 led-failsafe = &led_phone_green;
13 led-upgrade = &led_phone_green;
17 bootargs = "rootfstype=squashfs,ubifs noinitrd console=ttyS0,115200";
18 stdout-path = "serial0:115200n8";
22 compatible = "gpio-keys-polled";
29 gpios = <&pinctrl 24 1>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
36 gpios = <&pinctrl 25 1>;
37 linux,code = <KEY_WLAN>;
38 debounce-interval = <60>;
43 gpios = <&pinctrl 26 1>;
44 linux,code = <KEY_WPS_BUTTON>;
45 debounce-interval = <60>;
50 compatible = "gpio-leds";
52 led_phone_green: led@28 {
53 label = "green:phone";
54 gpios = <&pinctrl 28 1>;
58 function = LED_FUNCTION_USB;
59 color = <LED_COLOR_ID_GREEN>;
60 gpios = <&pinctrl 30 1>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_leds>;
74 label = "green:internet";
86 compatible = "brcm,bcm53125";
88 spi-max-frequency = <781000>;
135 compatible = "brcm,nandcs";
137 #address-cells = <1>;
139 nand-ecc-step-size = <512>;
140 nand-ecc-strength = <15>;
142 brcm,nand-oob-sector-size = <64>;
145 compatible = "fixed-partitions";
146 #address-cells = <1>;
151 reg = <0x0000000 0x0020000>;
156 compatible = "brcm,wfi";
158 reg = <0x0020000 0x7d80000>;
163 reg = <0x7da0000 0x160000>;
172 pins = "gpio3", "gpio5";