51f29472641bb8213cf2b311d8ef6f6f3a6ff08a
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / gw6200.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "TECOM GW6200";
9 compatible = "tecom,gw6200", "brcm,bcm6348";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 gpio-keys-polled {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21 debounce-interval = <60>;
22
23 reset {
24 label = "reset";
25 gpios = <&pinctrl 36 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 line1_green {
34 label = "GW6200:green:line1";
35 gpios = <&pinctrl 4 1>;
36 };
37 line2_green {
38 label = "GW6200:green:line2";
39 gpios = <&pinctrl 5 1>;
40 };
41 line3_green {
42 label = "GW6200:green:line3";
43 gpios = <&pinctrl 6 1>;
44 };
45 tel_green {
46 label = "GW6200:green:tel";
47 gpios = <&pinctrl 7 1>;
48 };
49 };
50 };
51
52 &pflash {
53 status = "ok";
54
55 partitions {
56 compatible = "fixed-partitions";
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 cfe@0 {
61 label = "CFE";
62 reg = <0x000000 0x010000>;
63 read-only;
64 };
65
66 linux@10000 {
67 label = "linux";
68 reg = <0x010000 0x7e0000>;
69 compatible = "brcm,bcm963xx-imagetag";
70 };
71
72 nvram@7f0000 {
73 label = "nvram";
74 reg = <0x7f0000 0x010000>;
75 };
76 };
77 };
78
79 &pinctrl {
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
82 };
83
84 &uart0 {
85 status = "ok";
86 };