bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / bcm63xx / dts / bcm6358-huawei-echolife-hg553.dts
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Huawei EchoLife HG553";
7 compatible = "huawei,echolife-hg553", "brcm,bcm6358";
8
9 aliases {
10 led-boot = &led_power_blue;
11 led-failsafe = &led_power_blue;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_blue;
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 rfkill {
28 label = "rfkill";
29 gpios = <&pinctrl 9 1>;
30 linux,code = <KEY_RFKILL>;
31 debounce-interval = <60>;
32 };
33
34 reset {
35 label = "reset";
36 gpios = <&pinctrl 37 1>;
37 linux,code = <KEY_RESTART>;
38 debounce-interval = <60>;
39 };
40 };
41
42 leds {
43 compatible = "gpio-leds";
44
45 led_power_blue: power_blue {
46 label = "blue:power";
47 gpios = <&pinctrl 4 1>;
48 default-state = "on";
49 };
50 power_red {
51 label = "red:power";
52 gpios = <&pinctrl 5 1>;
53 };
54 hspa_red {
55 label = "red:hspa";
56 gpios = <&pinctrl 12 1>;
57 };
58 hspa_blue {
59 label = "blue:hspa";
60 gpios = <&pinctrl 13 1>;
61 };
62 lan_red {
63 label = "red:lan";
64 gpios = <&pinctrl 22 1>;
65 };
66 lan_blue {
67 label = "blue:lan";
68 gpios = <&pinctrl 23 1>;
69 };
70 wifi_red {
71 label = "red:wifi";
72 gpios = <&pinctrl 25 1>;
73 };
74 dsl_red {
75 label = "red:adsl";
76 gpios = <&pinctrl 34 1>;
77 };
78 dsl_blue {
79 label = "blue:adsl";
80 gpios = <&pinctrl 35 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 read-only;
97 };
98
99 linux@20000 {
100 label = "linux";
101 reg = <0x020000 0xfc0000>;
102 compatible = "brcm,bcm963xx-imagetag";
103 };
104
105 nvram@fe0000 {
106 label = "nvram";
107 reg = <0xfe0000 0x020000>;
108 };
109 };
110 };
111
112 &uart0 {
113 status = "okay";
114 };