3317fc85eba964707ba6d0cb85d71ad001281fb4
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / spw303v.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "T-Com Speedport W303 V";
9 compatible = "t-com,spw303v", "brcm,bcm6358";
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 11 0>;
26 linux,code = <KEY_RESTART>;
27 };
28 ses {
29 label = "ses";
30 gpios = <&pinctrl 37 1>;
31 linux,code = <KEY_WPS_BUTTON>;
32 };
33 };
34
35 gpio-leds {
36 compatible = "gpio-leds";
37
38 ses_green {
39 label = "spw303v:green:ses";
40 gpios = <&pinctrl 0 1>;
41 };
42 power_adsl_red {
43 label = "spw303v:red:power+adsl";
44 gpios = <&pinctrl 2 1>;
45 };
46 ppp_green {
47 label = "spw303v:green:ppp";
48 gpios = <&pinctrl 5 1>;
49 };
50 power_adsl_green {
51 label = "spw303v:green:power+adsl";
52 gpios = <&pinctrl 22 1>;
53 default-state = "on";
54 };
55 voip_green {
56 label = "spw303v:green:voip";
57 gpios = <&pinctrl 27 1>;
58 };
59 pots_green {
60 label = "spw303v:green:pots";
61 gpios = <&pinctrl 31 1>;
62 };
63 };
64 };
65
66 &pflash {
67 status = "ok";
68
69 partitions {
70 compatible = "fixed-partitions";
71 #address-cells = <1>;
72 #size-cells = <1>;
73
74 cfe@0 {
75 label = "CFE";
76 reg = <0x000000 0x010000>;
77 read-only;
78 };
79
80 linux@10000 {
81 label = "linux";
82 reg = <0x010000 0x7e0000>;
83 compatible = "brcm,bcm963xx-imagetag";
84 };
85
86 nvram@7f0000 {
87 label = "nvram";
88 reg = <0x7f0000 0x010000>;
89 };
90 };
91 };
92
93 &uart0 {
94 status = "ok";
95 };