brcm63xx: add uart nodes
[openwrt/staging/lynxis.git] / target / linux / brcm63xx / dts / bcm6338.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6338";
5
6 aliases {
7 pflash = &pflash;
8 gpio0 = &gpio0;
9 serial0 = &uart0;
10 spi0 = &lsspi;
11 };
12
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16
17 cpu@0 {
18 compatible = "brcm,bmips3300", "mips,mips4Kc";
19 device_type = "cpu";
20 reg = <0>;
21 };
22 };
23
24 cpu_intc: interrupt-controller {
25 #address-cells = <0>;
26 compatible = "mti,cpu-interrupt-controller";
27
28 interrupt-controller;
29 #interrupt-cells = <1>;
30 };
31
32 memory { device_type = "memory"; reg = <0 0>; };
33
34 pflash: nor@1fc00000 {
35 compatible = "cfi-flash";
36 reg = <0x1fc00000 0x400000>;
37 bank-width = <2>;
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 status = "disabled";
42 };
43
44 ubus@fff00000 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48 compatible = "simple-bus";
49 interrupt-parent = <&periph_intc>;
50
51 periph_intc: interrupt-controller@fffe000c {
52 compatible = "brcm,bcm6345-l1-intc";
53 reg = <0xfffe000c 0x8>;
54
55 interrupt-controller;
56 #interrupt-cells = <1>;
57
58 interrupt-parent = <&cpu_intc>;
59 interrupts = <2>;
60 };
61
62 ext_intc: interrupt-controller@fffe0014 {
63 compatible = "brcm,bcm6345-ext-intc";
64 reg = <0xfffe0014 0x4>;
65
66 interrupt-controller;
67 #interrupt-cells = <2>;
68
69 interrupt-parent = <&cpu_intc>;
70 interrupts = <3>, <4>, <5>, <6>;
71 };
72
73 gpio0: gpio-controller@fffe0404 {
74 compatible = "brcm,bcm6345-gpio";
75 reg = <0xfffe0404 4>, <0xfffe040c 4>;
76
77 gpio-controller;
78 #gpio-cells = <2>;
79
80 ngpios = <8>;
81 };
82
83 uart0: serial@fffe0300 {
84 compatible = "brcm,bcm6345-uart";
85 reg = <0xfffe0300 0x18>;
86
87 interrupt-parent = <&periph_intc>;
88 interrupts = <2>;
89
90 /* clocks = <&periph_clk>; */
91 /* clock-names = "refclk"; */
92
93 status = "disabled";
94 };
95
96 lsspi: spi@fffe0c00 {
97 #address-cells = <1>;
98 #size-cells = <0>;
99 compatible = "brcm,bcm6348-spi";
100 reg = <0xfffe0c00 0x40>;
101 interrupts = <1>;
102 /* clocks = <&clkctl 9>; */
103 };
104 };
105 };