brcm47xx: rename target to bcm47xx
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6358-t-com-speedport-w-303v.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "T-Com Speedport W 303V";
9         compatible = "t-com,speedport-w-303v", "brcm,bcm6358";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         keys {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21
22                 reset {
23                         label = "reset";
24                         gpios = <&pinctrl 11 0>;
25                         linux,code = <KEY_RESTART>;
26                         debounce-interval = <60>;
27                 };
28
29                 ses {
30                         label = "ses";
31                         gpios = <&pinctrl 37 1>;
32                         linux,code = <KEY_WPS_BUTTON>;
33                         debounce-interval = <60>;
34                 };
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39
40                 ses_green {
41                         label = "spw303v:green:ses";
42                         gpios = <&pinctrl 0 1>;
43                 };
44                 power_adsl_red {
45                         label = "spw303v:red:power+adsl";
46                         gpios = <&pinctrl 2 1>;
47                 };
48                 ppp_green {
49                         label = "spw303v:green:ppp";
50                         gpios = <&pinctrl 5 1>;
51                 };
52                 power_adsl_green {
53                         label = "spw303v:green:power+adsl";
54                         gpios = <&pinctrl 22 1>;
55                         default-state = "on";
56                 };
57                 voip_green {
58                         label = "spw303v:green:voip";
59                         gpios = <&pinctrl 27 1>;
60                 };
61                 pots_green {
62                         label = "spw303v:green:pots";
63                         gpios = <&pinctrl 31 1>;
64                 };
65         };
66 };
67
68 &pflash {
69         status = "ok";
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 };