3df98209200500568a11b23f6a04acfdee3c3241
[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 linux,part-probe = "bcm63xxpart";
70
71 partitions {
72 compatible = "fixed-partitions";
73 #address-cells = <1>;
74 #size-cells = <1>;
75
76 cfe@0 {
77 label = "CFE";
78 reg = <0x000000 0x010000>;
79 read-only;
80 };
81
82 linux@10000 {
83 label = "linux";
84 reg = <0x010000 0x7e0000>;
85 compatible = "brcm,bcm963xx-imagetag";
86 };
87
88 nvram@7f0000 {
89 label = "nvram";
90 reg = <0x7f0000 0x010000>;
91 };
92 };
93 };
94
95 &uart0 {
96 status = "ok";
97 };