base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/nbd.git] / target / linux / bcm63xx / dts / bcm6358-huawei-echolife-hg553.dts
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Huawei EchoLife HG553";
8 compatible = "huawei,echolife-hg553", "brcm,bcm6358";
9
10 aliases {
11 led-boot = &led_power_blue;
12 led-failsafe = &led_power_blue;
13 led-running = &led_power_blue;
14 led-upgrade = &led_power_blue;
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 rfkill {
29 label = "rfkill";
30 gpios = <&pinctrl 9 1>;
31 linux,code = <KEY_RFKILL>;
32 debounce-interval = <60>;
33 };
34
35 reset {
36 label = "reset";
37 gpios = <&pinctrl 37 1>;
38 linux,code = <KEY_RESTART>;
39 debounce-interval = <60>;
40 };
41 };
42
43 leds {
44 compatible = "gpio-leds";
45
46 led_power_blue: power_blue {
47 function = LED_FUNCTION_POWER;
48 color = <LED_COLOR_ID_BLUE>;
49 gpios = <&pinctrl 4 1>;
50 default-state = "on";
51 };
52 power_red {
53 function = LED_FUNCTION_POWER;
54 color = <LED_COLOR_ID_RED>;
55 gpios = <&pinctrl 5 1>;
56 };
57 hspa_red {
58 label = "red:hspa";
59 gpios = <&pinctrl 12 1>;
60 };
61 hspa_blue {
62 label = "blue:hspa";
63 gpios = <&pinctrl 13 1>;
64 };
65 lan_red {
66 function = LED_FUNCTION_LAN;
67 color = <LED_COLOR_ID_RED>;
68 gpios = <&pinctrl 22 1>;
69 };
70 lan_blue {
71 function = LED_FUNCTION_LAN;
72 color = <LED_COLOR_ID_BLUE>;
73 gpios = <&pinctrl 23 1>;
74 };
75 wifi_red {
76 label = "red:wifi";
77 gpios = <&pinctrl 25 1>;
78 };
79 dsl_red {
80 label = "red:adsl";
81 gpios = <&pinctrl 34 1>;
82 };
83 dsl_blue {
84 label = "blue:adsl";
85 gpios = <&pinctrl 35 1>;
86 };
87 };
88 };
89
90 &pflash {
91 status = "okay";
92
93 partitions {
94 compatible = "fixed-partitions";
95 #address-cells = <1>;
96 #size-cells = <1>;
97
98 cfe@0 {
99 label = "CFE";
100 reg = <0x000000 0x020000>;
101 read-only;
102 };
103
104 linux@20000 {
105 label = "linux";
106 reg = <0x020000 0xfc0000>;
107 compatible = "brcm,bcm963xx-imagetag";
108 };
109
110 nvram@fe0000 {
111 label = "nvram";
112 reg = <0xfe0000 0x020000>;
113 };
114 };
115 };
116
117 &uart0 {
118 status = "okay";
119 };