bcm63xx: use generic diag.sh
[oweals/openwrt.git] / target / linux / bcm63xx / dts / bcm6358-huawei-echolife-hg553.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Huawei EchoLife HG553";
9         compatible = "huawei,echolife-hg553", "brcm,bcm6358";
10
11         aliases {
12                 led-boot = &led_power_blue;
13                 led-failsafe = &led_power_blue;
14                 led-running = &led_power_blue;
15                 led-upgrade = &led_power_blue;
16         };
17
18         chosen {
19                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20                 stdout-path = "serial0:115200n8";
21         };
22
23         keys {
24                 compatible = "gpio-keys-polled";
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27                 poll-interval = <20>;
28
29                 rfkill {
30                         label = "rfkill";
31                         gpios = <&pinctrl 9 1>;
32                         linux,code = <KEY_RFKILL>;
33                         debounce-interval = <60>;
34                 };
35
36                 reset {
37                         label = "reset";
38                         gpios = <&pinctrl 37 1>;
39                         linux,code = <KEY_RESTART>;
40                         debounce-interval = <60>;
41                 };
42         };
43
44         leds {
45                 compatible = "gpio-leds";
46
47                 led_power_blue: power_blue {
48                         label = "HW553:blue:power";
49                         gpios = <&pinctrl 4 1>;
50                         default-state = "on";
51                 };
52                 power_red {
53                         label = "HW553:red:power";
54                         gpios = <&pinctrl 5 1>;
55                 };
56                 hspa_red {
57                         label = "HW553:red:hspa";
58                         gpios = <&pinctrl 12 1>;
59                 };
60                 hspa_blue {
61                         label = "HW553:blue:hspa";
62                         gpios = <&pinctrl 13 1>;
63                 };
64                 lan_red {
65                         label = "HW553:red:lan";
66                         gpios = <&pinctrl 22 1>;
67                 };
68                 lan_blue {
69                         label = "HW553:blue:lan";
70                         gpios = <&pinctrl 23 1>;
71                 };
72                 wifi_red {
73                         label = "HW553:red:wifi";
74                         gpios = <&pinctrl 25 1>;
75                 };
76                 dsl_red {
77                         label = "HW553:red:adsl";
78                         gpios = <&pinctrl 34 1>;
79                 };
80                 dsl_blue {
81                         label = "HW553:blue:adsl";
82                         gpios = <&pinctrl 35 1>;
83                 };
84         };
85 };
86
87 &pflash {
88         status = "ok";
89
90         partitions {
91                 compatible = "fixed-partitions";
92                 #address-cells = <1>;
93                 #size-cells = <1>;
94
95                 cfe@0 {
96                         label = "CFE";
97                         reg = <0x000000 0x020000>;
98                         read-only;
99                 };
100
101                 linux@20000 {
102                         label = "linux";
103                         reg = <0x020000 0xfc0000>;
104                         compatible = "brcm,bcm963xx-imagetag";
105                 };
106
107                 nvram@fe0000 {
108                         label = "nvram";
109                         reg = <0xfe0000 0x020000>;
110                 };
111         };
112 };
113
114 &uart0 {
115         status = "ok";
116 };