3 #include "bcm6362.dtsi"
5 #include <dt-bindings/input/input.h>
8 model = "Huawei HG253s v2";
9 compatible = "huawei,hg253s-v2", "brcm,bcm6362";
12 led-boot = &led_phone_green;
13 led-failsafe = &led_phone_green;
14 led-upgrade = &led_phone_green;
18 bootargs = "rootfstype=squashfs,ubifs noinitrd console=ttyS0,115200";
19 stdout-path = "serial0:115200n8";
23 compatible = "gpio-keys-polled";
30 gpios = <&pinctrl 24 1>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
37 gpios = <&pinctrl 25 1>;
38 linux,code = <KEY_WLAN>;
39 debounce-interval = <60>;
44 gpios = <&pinctrl 26 1>;
45 linux,code = <KEY_WPS_BUTTON>;
46 debounce-interval = <60>;
51 compatible = "gpio-leds";
53 led_phone_green: led@28 {
54 label = "hg253s-v2:green:phone";
55 gpios = <&pinctrl 28 1>;
59 label = "hg253s-v2:green:usb";
60 gpios = <&pinctrl 30 1>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_leds>;
74 label = "hg253s-v2:green:internet";
80 label = "hg253s-v2:green:wifi";
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";