brcm63xx: register serial through device tree
[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 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 33 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 power_green {
34 label = "V2110:green:power";
35 gpios = <&pinctrl 0 1>;
36 };
37 power_red {
38 label = "V2110:red:power";
39 gpios = <&pinctrl 1 1>;
40 };
41 adsl_green {
42 label = "V2110:green:adsl";
43 gpios = <&pinctrl 2 1>;
44 };
45 ppp_green {
46 label = "V2110:green:ppp";
47 gpios = <&pinctrl 3 1>;
48 };
49 wireless_green {
50 label = "V2110:green:wireless";
51 gpios = <&pinctrl 6 1>;
52 };
53 };
54 };
55
56 &pflash {
57 status = "ok";
58
59 linux,part-probe = "bcm63xxpart";
60
61 cfe@0 {
62 label = "CFE";
63 reg = <0x000000 0x010000>;
64 read-only;
65 };
66
67 linux@10000 {
68 label = "linux";
69 reg = <0x010000 0x3e0000>;
70 };
71
72 nvram@3f0000 {
73 label = "nvram";
74 reg = <0x3f0000 0x010000>;
75 };
76 };
77
78 &pinctrl {
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
81 };
82
83 &uart0 {
84 status = "ok";
85 };