brcm63xx: register serial through device tree
[oweals/openwrt.git] / target / linux / brcm63xx / dts / usr9108.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "USRobotics 9108";
9         compatible = "usr,9108", "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-leds {
17                 compatible = "gpio-leds";
18
19                 usb {
20                         label = "96348GW-A::usb";
21                         gpios = <&pinctrl 0 1>;
22                 };
23                 dsl {
24                         label = "96348GW-A::adsl";
25                         gpios = <&pinctrl 3 1>;
26                 };
27         };
28 };
29
30 &pflash {
31         status = "ok";
32
33         linux,part-probe = "bcm63xxpart";
34
35         cfe@0 {
36                 label = "CFE";
37                 reg = <0x000000 0x010000>;
38                 read-only;
39         };
40
41         linux@10000 {
42                 label = "linux";
43                 reg = <0x010000 0x3e0000>;
44         };
45
46         nvram@3f0000 {
47                 label = "nvram";
48                 reg = <0x3f0000 0x010000>;
49         };
50 };
51
52 &pinctrl {
53         pinctrl-names = "default";
54         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
55 };
56
57 &uart0 {
58         status = "ok";
59 };