base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6358-huawei-echolife-hg556a.dtsi
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 aliases {
8 led-boot = &led_power_red;
9 led-failsafe = &led_power_red;
10 led-running = &led_power_red;
11 led-upgrade = &led_power_red;
12 };
13
14 chosen {
15 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
16 stdout-path = "serial0:115200n8";
17 };
18
19 gpiokeys: keys {
20 compatible = "gpio-keys-polled";
21 #address-cells = <1>;
22 #size-cells = <0>;
23 poll-interval = <20>;
24
25 wlan {
26 label = "wlan";
27 gpios = <&pinctrl 9 1>;
28 linux,code = <KEY_WLAN>;
29 debounce-interval = <60>;
30 };
31
32 restart {
33 label = "restart";
34 gpios = <&pinctrl 10 1>;
35 linux,code = <KEY_RESTART>;
36 debounce-interval = <60>;
37 };
38
39 reset {
40 label = "reset";
41 gpios = <&pinctrl 11 1>;
42 linux,code = <KEY_CONFIG>;
43 debounce-interval = <60>;
44 };
45 };
46
47 gpioleds: leds {
48 compatible = "gpio-leds";
49
50 dsl_red {
51 label = "red:dsl";
52 gpios = <&pinctrl 2 1>;
53 };
54
55 led_power_red: power_red {
56 function = LED_FUNCTION_POWER;
57 color = <LED_COLOR_ID_RED>;
58 gpios = <&pinctrl 3 1>;
59 default-state = "on";
60 };
61
62 lan1_red {
63 label = "red:lan1";
64 gpios = <&pinctrl 13 1>;
65 };
66
67 lan2_red {
68 label = "red:lan2";
69 gpios = <&pinctrl 22 1>;
70 };
71
72 lan3_green {
73 label = "green:lan3";
74 gpios = <&pinctrl 23 1>;
75 };
76
77 lan3_red {
78 label = "red:lan3";
79 gpios = <&pinctrl 26 1>;
80 };
81
82 lan4_green {
83 label = "green:lan4";
84 gpios = <&pinctrl 27 1>;
85 };
86
87 lan4_red {
88 label = "red:lan4";
89 gpios = <&pinctrl 28 1>;
90 };
91 };
92 };
93
94 &pflash {
95 status = "okay";
96
97 partitions {
98 compatible = "fixed-partitions";
99 #address-cells = <1>;
100 #size-cells = <1>;
101
102 cfe@0 {
103 label = "CFE";
104 reg = <0x000000 0x020000>;
105 read-only;
106 };
107
108 linux@20000 {
109 label = "linux";
110 reg = <0x020000 0xec0000>;
111 compatible = "brcm,bcm963xx-imagetag";
112 };
113
114 cal_data@ee0000 {
115 label = "cal_data";
116 reg = <0xee0000 0x100000>;
117 read-only;
118 };
119
120 nvram@fe0000 {
121 label = "nvram";
122 reg = <0xfe0000 0x020000>;
123 };
124 };
125 };
126
127 &uart0 {
128 status = "okay";
129 };