brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / v2110.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "BT Voyager 2110";
9 compatible = "bt,v2110", "brcm,bcm6348";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 33 1>;
25 linux,code = <KEY_RESTART>;
26 };
27 };
28
29 gpio-leds {
30 compatible = "gpio-leds";
31
32 power_green {
33 label = "V2110:green:power";
34 gpios = <&pinctrl 0 1>;
35 };
36 power_red {
37 label = "V2110:red:power";
38 gpios = <&pinctrl 1 1>;
39 };
40 adsl_green {
41 label = "V2110:green:adsl";
42 gpios = <&pinctrl 2 1>;
43 };
44 ppp_green {
45 label = "V2110:green:ppp";
46 gpios = <&pinctrl 3 1>;
47 };
48 wireless_green {
49 label = "V2110:green:wireless";
50 gpios = <&pinctrl 6 1>;
51 };
52 };
53 };
54
55 &pflash {
56 status = "ok";
57
58 linux,part-probe = "bcm63xxpart";
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 0x3e0000>;
69 };
70
71 nvram@3f0000 {
72 label = "nvram";
73 reg = <0x3f0000 0x010000>;
74 };
75 };
76
77 &pinctrl {
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
80 };