1811acfed80ed43f4afb8d34d5cc8734b4463481
[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 spi0 = &lsspi;
10 };
11
12 cpus {
13 #address-cells = <1>;
14 #size-cells = <0>;
15
16 cpu@0 {
17 compatible = "brcm,bmips3300", "mips,mips4Kc";
18 device_type = "cpu";
19 reg = <0>;
20 };
21 };
22
23 cpu_intc: interrupt-controller {
24 #address-cells = <0>;
25 compatible = "mti,cpu-interrupt-controller";
26
27 interrupt-controller;
28 #interrupt-cells = <1>;
29 };
30
31 memory { device_type = "memory"; reg = <0 0>; };
32
33 pflash: nor@1fc00000 {
34 compatible = "cfi-flash";
35 reg = <0x1fc00000 0x400000>;
36 bank-width = <2>;
37 #address-cells = <1>;
38 #size-cells = <1>;
39
40 status = "disabled";
41 };
42
43 ubus@fff00000 {
44 #address-cells = <1>;
45 #size-cells = <1>;
46 ranges;
47 compatible = "simple-bus";
48 interrupt-parent = <&periph_intc>;
49
50 periph_intc: interrupt-controller@fffe000c {
51 compatible = "brcm,bcm6345-l1-intc";
52 reg = <0xfffe000c 0x8>;
53
54 interrupt-controller;
55 #interrupt-cells = <1>;
56
57 interrupt-parent = <&cpu_intc>;
58 interrupts = <2>;
59 };
60
61 ext_intc: interrupt-controller@fffe0014 {
62 compatible = "brcm,bcm6345-ext-intc";
63 reg = <0xfffe0014 0x4>;
64
65 interrupt-controller;
66 #interrupt-cells = <2>;
67
68 interrupt-parent = <&cpu_intc>;
69 interrupts = <3>, <4>, <5>, <6>;
70 };
71
72 gpio0: gpio-controller@fffe0404 {
73 compatible = "brcm,bcm6345-gpio";
74 reg = <0xfffe0404 4>, <0xfffe040c 4>;
75
76 gpio-controller;
77 #gpio-cells = <2>;
78
79 ngpios = <8>;
80 };
81
82 lsspi: spi@fffe0c00 {
83 #address-cells = <1>;
84 #size-cells = <0>;
85 compatible = "brcm,bcm6348-spi";
86 reg = <0xfffe0c00 0x40>;
87 interrupts = <1>;
88 /* clocks = <&clkctl 9>; */
89 };
90 };
91 };