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