brcm63xx: fix DTS LEDs and buttons
[openwrt.git] / target / linux / brcm63xx / dts / v2500v-bb.dts
1 /dts-v1/;
2
3 /include/ "bcm6348.dtsi"
4
5 / {
6         model = "BT Voyager V2500V";
7         compatible = "bt,v2500v-bb", "brcm,bcm6348";
8
9         gpio-keys-polled {
10                 compatible = "gpio-keys-polled";
11                 #address-cells = <1>;
12                 #size-cells = <0>;
13                 poll-interval = <20>;
14                 debounce-interval = <60>;
15
16                 reset {
17                         label = "reset";
18                         gpios = <&gpio0 31 1>;
19                         linux,code = <0x198>;
20                 };
21         };
22
23         gpio-leds {
24                 compatible = "gpio-leds";
25
26                 power_green {
27                         label = "V2500V_BB:green:power";
28                         gpios = <&gpio0 0 1>;
29                 };
30                 power_red {
31                         label = "V2500V_BB:red:power";
32                         gpios = <&gpio0 1 1>;
33                 };
34                 adsl_green {
35                         label = "V2500V_BB:green:adsl";
36                         gpios = <&gpio0 2 1>;
37                 };
38                 ppp_green {
39                         label = "V2500V_BB:green:ppp";
40                         gpios = <&gpio0 3 1>;
41                 };
42                 wireless_green {
43                         label = "V2500V_BB:green:wireless";
44                         gpios = <&gpio0 6 1>;
45                 };
46         };
47 };
48
49 &pflash {
50         status = "ok";
51
52         linux,part-probe = "bcm63xxpart";
53
54         cfe@0 {
55                 label = "CFE";
56                 reg = <0x000000 0x010000>;
57                 read-only;
58         };
59
60         linux@10000 {
61                 label = "linux";
62                 reg = <0x010000 0x3e0000>;
63         };
64
65         nvram@3f0000 {
66                 label = "nvram";
67                 reg = <0x3f0000 0x010000>;
68         };
69 };