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