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