brcm63xx: register serial through device tree
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / dts / rta770w.dts
1 /dts-v1/;
2
3 #include "bcm6345.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Dynalink RTA770W";
9 compatible = "dynalink,rta770w", "brcm,bcm6345";
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 = <&gpio0 13 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 usb {
34 label = "RTA770W:green:usb";
35 gpios = <&gpio0 7 1>;
36 };
37
38 adsl {
39 label = "RTA770W:green:adsl";
40 gpios = <&gpio0 8 0>;
41 };
42
43 diag {
44 label = "RTA770W:green:diag";
45 gpios = <&gpio0 10 1>;
46 };
47
48 wlan {
49 label = "RTA770W:green:wlan";
50 gpios = <&gpio0 11 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 &uart0 {
78 status = "ok";
79 };