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