acc100c74747dd99ddab8777617ba9a61b1b58c3
[oweals/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 = "root=/dev/mtdblock2 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         linux,part-probe = "bcm63xxpart";
56
57         cfe@0 {
58                 label = "CFE";
59                 reg = <0x000000 0x010000>;
60                 read-only;
61         };
62
63         linux@10000 {
64                 label = "linux";
65                 reg = <0x010000 0x7e0000>;
66         };
67
68         nvram@7f0000 {
69                 label = "nvram";
70                 reg = <0x7f0000 0x010000>;
71         };
72 };
73
74 &pinctrl {
75         pinctrl-names = "default";
76         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
77 };
78
79 &uart0 {
80         status = "ok";
81 };