63e13090ce977285e21e28e7dc4def92026dae2c
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / dts / hg655b.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Huawei HG655b";
9 compatible = "huawei,hg655b", "brcm,bcm6368";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 wps {
23 label = "wps";
24 gpios = <&pinctrl 12 1>;
25 linux,code = <KEY_WPS_BUTTON>;
26 };
27 wlan {
28 label = "wlan";
29 gpios = <&pinctrl 23 1>;
30 linux,code = <KEY_WLAN>;
31 };
32 reset {
33 label = "reset";
34 gpios = <&pinctrl 34 1>;
35 linux,code = <KEY_RESTART>;
36 };
37 };
38
39 gpio-leds {
40 compatible = "gpio-leds";
41
42 dsl_green {
43 label = "HW65x:green:dsl";
44 gpios = <&pinctrl 2 1>;
45 };
46 internet_green {
47 label = "HW65x:green:internet";
48 gpios = <&pinctrl 5 1>;
49 };
50
51 usb_green {
52 label = "HW65x:green:usb";
53 gpios = <&pinctrl 14 1>;
54 };
55 power_green {
56 label = "HW65x:green:power";
57 gpios = <&pinctrl 22 1>;
58 default-state = "on";
59 };
60 voip_green {
61 label = "HW65x:green:voip";
62 gpios = <&pinctrl 25 1>;
63 };
64 wps_green {
65 label = "HW65x:green:wps";
66 gpios = <&pinctrl 27 1>;
67 };
68 };
69 };
70
71 &pflash {
72 status = "ok";
73
74 linux,part-probe = "bcm63xxpart";
75
76 cfe@0 {
77 label = "CFE";
78 reg = <0x000000 0x020000>;
79 };
80
81 linux@20000 {
82 label = "linux";
83 reg = <0x020000 0x770000>;
84 };
85
86 board_data@790000 {
87 label = "board_data";
88 reg = <0x790000 0x030000>;
89 };
90
91 cal_data@7c0000 {
92 label = "cal_data";
93 reg = <0x7c0000 0x020000>;
94 read-only;
95 };
96
97 nvram@7d0000 {
98 label = "nvram";
99 reg = <0x7e0000 0x020000>;
100 };
101 };
102
103 &pinctrl {
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
106 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
107 };