brcm63xx: add pflash for remaining pflash equipped boards
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6348.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6348";
5
6 aliases {
7 pflash = &pflash;
8 gpio0 = &gpio0;
9 gpio1 = &gpio1;
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 brcm,field-width = <5>;
73 };
74
75 gpio1: gpio-controller@fffe0400 {
76 compatible = "brcm,bcm6345-gpio";
77 reg = <0xfffe0400 4>, <0xfffe0408 4>;
78
79 gpio-controller;
80 #gpio-cells = <2>;
81
82 ngpios = <5>;
83
84 interrupt-parent = <&ext_intc>;
85 interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
86 interrupt-names = "gpio0", "gpio1", "gpio2", "gpio3";
87 };
88
89 gpio0: gpio-controller@fffe0404 {
90 compatible = "brcm,bcm6345-gpio";
91 reg = <0xfffe0404 4>, <0xfffe040c 4>;
92
93 gpio-controller;
94 #gpio-cells = <2>;
95 };
96
97 lsspi: spi@fffe0c00 {
98 #address-cells = <1>;
99 #size-cells = <0>;
100 compatible = "brcm,bcm6348-spi";
101 reg = <0xfffe0c00 0x40>;
102 interrupts = <1>;
103 /* clocks = <&clkctl 9>; */
104
105 };
106 };
107 };