b6dafeeae3c677dd5f7aacd871bcc7bfc7c9223b
[openwrt/staging/lynxis.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 pinctrl = &pinctrl;
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 brcm,field-width = <5>;
72 };
73
74 pinctrl: pin-controller@fffe0400 {
75 compatible = "brcm,bcm6348-pinctrl";
76 reg = <0xfffe0400 0x8>,
77 <0xfffe0408 0x8>,
78 <0xfffe0418 0x4>;
79 reg-names = "dirout", "dat", "mode";
80
81 gpio-controller;
82 #gpio-cells = <2>;
83
84 interrupt-parent = <&ext_intc>;
85 interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
86 interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35";
87
88 pinctrl_ext_ephy: ext_ephy {
89 function = "ext_ephy";
90 groups = "group1", "group4";
91 };
92
93 pinctrl_mii_snoop: mii_snoop {
94 function = "ext_ephy";
95 groups = "group1", "group4";
96 };
97
98 pinctrl_legacy_led: legacy_led {
99 function = "legacy_led";
100 groups = "group4";
101 };
102
103 pinctrl_mii_pccard: mii_pccard {
104 function = "mii_pccard";
105 groups = "group1";
106 };
107
108 pinctrl_pci: pci {
109 function = "pci";
110 groups = "group2";
111 };
112
113 pinctrl_spi_master_uart: spi_master_uart {
114 function = "spi_master_uart";
115 groups = "group1";
116 };
117
118 pinctrl_ext_mii: ext_mii {
119 function = "ext_mii";
120 groups = "group0", "group3";
121 };
122
123 pinctrl_utopia: utopia {
124 function = "utopia";
125 groups = "group0", "group1", "group3";
126 };
127 };
128
129 lsspi: spi@fffe0c00 {
130 #address-cells = <1>;
131 #size-cells = <0>;
132 compatible = "brcm,bcm6348-spi";
133 reg = <0xfffe0c00 0x40>;
134 interrupts = <1>;
135 /* clocks = <&clkctl 9>; */
136
137 };
138 };
139 };