brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / v2500v-bb.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "BT Voyager V2500V";
9         compatible = "bt,v2500v-bb", "brcm,bcm6348";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 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 31 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28         };
29
30         gpio-leds {
31                 compatible = "gpio-leds";
32
33                 power_green {
34                         label = "V2500V_BB:green:power";
35                         gpios = <&pinctrl 0 1>;
36                 };
37                 power_red {
38                         label = "V2500V_BB:red:power";
39                         gpios = <&pinctrl 1 1>;
40                 };
41                 adsl_green {
42                         label = "V2500V_BB:green:adsl";
43                         gpios = <&pinctrl 2 1>;
44                 };
45                 ppp_green {
46                         label = "V2500V_BB:green:ppp";
47                         gpios = <&pinctrl 3 1>;
48                 };
49                 wireless_green {
50                         label = "V2500V_BB:green:wireless";
51                         gpios = <&pinctrl 6 1>;
52                 };
53         };
54 };
55
56 &pflash {
57         status = "ok";
58
59         linux,part-probe = "bcm63xxpart";
60
61         partitions {
62                 compatible = "fixed-partitions";
63                 #address-cells = <1>;
64                 #size-cells = <1>;
65
66                 cfe@0 {
67                         label = "CFE";
68                         reg = <0x000000 0x010000>;
69                         read-only;
70                 };
71
72                 linux@10000 {
73                         label = "linux";
74                         reg = <0x010000 0x3e0000>;
75                         compatible = "brcm,bcm963xx-imagetag";
76                 };
77
78                 nvram@3f0000 {
79                         label = "nvram";
80                         reg = <0x3f0000 0x010000>;
81                 };
82         };
83 };
84
85 &pinctrl {
86         pinctrl-names = "default";
87         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
88 };
89
90 &uart0 {
91         status = "ok";
92 };