x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm5301x.dtsi
blob00de62dc0042f1445851d1cb84c2cbea3e28d25f
1 /*
2  * Broadcom BCM470X / BCM5301X ARM platform code.
3  * Generic DTS part for all BCM53010, BCM53011, BCM53012, BCM53014, BCM53015,
4  * BCM53016, BCM53017, BCM53018, BCM4707, BCM4708 and BCM4709 SoCs
5  *
6  * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de>
7  *
8  * Licensed under the GNU/GPL. See COPYING for details.
9  */
11 #include <dt-bindings/clock/bcm-nsp.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include "skeleton.dtsi"
18 / {
19         interrupt-parent = <&gic>;
21         chosen {
22                 stdout-path = &uart0;
23         };
25         chipcommonA {
26                 compatible = "simple-bus";
27                 ranges = <0x00000000 0x18000000 0x00001000>;
28                 #address-cells = <1>;
29                 #size-cells = <1>;
31                 uart0: serial@0300 {
32                         compatible = "ns16550";
33                         reg = <0x0300 0x100>;
34                         interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
35                         clocks = <&iprocslow>;
36                         status = "disabled";
37                 };
39                 uart1: serial@0400 {
40                         compatible = "ns16550";
41                         reg = <0x0400 0x100>;
42                         interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
43                         clocks = <&iprocslow>;
44                         status = "disabled";
45                 };
46         };
48         mpcore {
49                 compatible = "simple-bus";
50                 ranges = <0x00000000 0x19000000 0x00023000>;
51                 #address-cells = <1>;
52                 #size-cells = <1>;
54                 a9pll: arm_clk@00000 {
55                         #clock-cells = <0>;
56                         compatible = "brcm,nsp-armpll";
57                         clocks = <&osc>;
58                         reg = <0x00000 0x1000>;
59                 };
61                 scu@20000 {
62                         compatible = "arm,cortex-a9-scu";
63                         reg = <0x20000 0x100>;
64                 };
66                 timer@20200 {
67                         compatible = "arm,cortex-a9-global-timer";
68                         reg = <0x20200 0x100>;
69                         interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
70                         clocks = <&periph_clk>;
71                 };
73                 local-timer@20600 {
74                         compatible = "arm,cortex-a9-twd-timer";
75                         reg = <0x20600 0x100>;
76                         interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
77                         clocks = <&periph_clk>;
78                 };
80                 gic: interrupt-controller@21000 {
81                         compatible = "arm,cortex-a9-gic";
82                         #interrupt-cells = <3>;
83                         #address-cells = <0>;
84                         interrupt-controller;
85                         reg = <0x21000 0x1000>,
86                               <0x20100 0x100>;
87                 };
89                 L2: cache-controller@22000 {
90                         compatible = "arm,pl310-cache";
91                         reg = <0x22000 0x1000>;
92                         cache-unified;
93                         arm,shared-override;
94                         prefetch-data = <1>;
95                         prefetch-instr = <1>;
96                         cache-level = <2>;
97                 };
98         };
100         pmu {
101                 compatible = "arm,cortex-a9-pmu";
102                 interrupts =
103                         <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
104                         <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
105         };
107         clocks {
108                 #address-cells = <1>;
109                 #size-cells = <1>;
110                 ranges;
112                 osc: oscillator {
113                         #clock-cells = <0>;
114                         compatible = "fixed-clock";
115                         clock-frequency = <25000000>;
116                 };
118                 iprocmed: iprocmed {
119                         #clock-cells = <0>;
120                         compatible = "fixed-factor-clock";
121                         clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
122                         clock-div = <2>;
123                         clock-mult = <1>;
124                 };
126                 iprocslow: iprocslow {
127                         #clock-cells = <0>;
128                         compatible = "fixed-factor-clock";
129                         clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
130                         clock-div = <4>;
131                         clock-mult = <1>;
132                 };
134                 periph_clk: periph_clk {
135                         #clock-cells = <0>;
136                         compatible = "fixed-factor-clock";
137                         clocks = <&a9pll>;
138                         clock-div = <2>;
139                         clock-mult = <1>;
140                 };
141         };
143         usb2_phy: usb2-phy {
144                 compatible = "brcm,ns-usb2-phy";
145                 reg = <0x1800c000 0x1000>;
146                 reg-names = "dmu";
147                 #phy-cells = <0>;
148                 clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
149                 clock-names = "phy-ref-clk";
150         };
152         usb3_phy: usb3-phy {
153                 compatible = "brcm,ns-ax-usb3-phy";
154                 reg = <0x18105000 0x1000>, <0x18003000 0x1000>;
155                 reg-names = "dmp", "ccb-mii";
156                 #phy-cells = <0>;
157         };
159         axi@18000000 {
160                 compatible = "brcm,bus-axi";
161                 reg = <0x18000000 0x1000>;
162                 ranges = <0x00000000 0x18000000 0x00100000>;
163                 #address-cells = <1>;
164                 #size-cells = <1>;
166                 #interrupt-cells = <1>;
167                 interrupt-map-mask = <0x000fffff 0xffff>;
168                 interrupt-map = 
169                         /* ChipCommon */
170                         <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
172                         /* Switch Register Access Block */
173                         <0x00007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
174                         <0x00007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
175                         <0x00007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
176                         <0x00007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
177                         <0x00007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
178                         <0x00007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
179                         <0x00007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
180                         <0x00007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
181                         <0x00007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
182                         <0x00007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
183                         <0x00007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
184                         <0x00007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
185                         <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
187                         /* PCIe Controller 0 */
188                         <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
189                         <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
190                         <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
191                         <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
192                         <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
193                         <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
195                         /* PCIe Controller 1 */
196                         <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
197                         <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
198                         <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
199                         <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
200                         <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
201                         <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
203                         /* PCIe Controller 2 */
204                         <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
205                         <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
206                         <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
207                         <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
208                         <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
209                         <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
211                         /* USB 2.0 Controller */
212                         <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
214                         /* USB 3.0 Controller */
215                         <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
217                         /* Ethernet Controller 0 */
218                         <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
220                         /* Ethernet Controller 1 */
221                         <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
223                         /* Ethernet Controller 2 */
224                         <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
226                         /* Ethernet Controller 3 */
227                         <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
229                         /* NAND Controller */
230                         <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
231                         <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
232                         <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
233                         <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
234                         <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
235                         <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
236                         <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
237                         <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
239                 chipcommon: chipcommon@0 {
240                         reg = <0x00000000 0x1000>;
242                         gpio-controller;
243                         #gpio-cells = <2>;
244                 };
246                 pcie0: pcie@12000 {
247                         reg = <0x00012000 0x1000>;
248                 };
250                 pcie1: pcie@13000 {
251                         reg = <0x00013000 0x1000>;
252                 };
254                 usb2: usb2@21000 {
255                         reg = <0x00021000 0x1000>;
257                         #address-cells = <1>;
258                         #size-cells = <1>;
259                         ranges;
261                         interrupt-parent = <&gic>;
263                         ehci: ehci@21000 {
264                                 #usb-cells = <0>;
266                                 compatible = "generic-ehci";
267                                 reg = <0x00021000 0x1000>;
268                                 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
269                                 phys = <&usb2_phy>;
270                         };
272                         ohci: ohci@22000 {
273                                 #usb-cells = <0>;
275                                 compatible = "generic-ohci";
276                                 reg = <0x00022000 0x1000>;
277                                 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
278                         };
279                 };
281                 usb3: usb3@23000 {
282                         reg = <0x00023000 0x1000>;
284                         #address-cells = <1>;
285                         #size-cells = <1>;
286                         ranges;
288                         interrupt-parent = <&gic>;
290                         xhci: xhci@23000 {
291                                 #usb-cells = <0>;
293                                 compatible = "generic-xhci";
294                                 reg = <0x00023000 0x1000>;
295                                 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
296                                 phys = <&usb3_phy>;
297                                 phy-names = "usb";
298                         };
299                 };
301                 spi@29000 {
302                         reg = <0x00029000 0x1000>;
303                         #address-cells = <1>;
304                         #size-cells = <0>;
306                         spi_nor: spi-nor@0 {
307                                 compatible = "jedec,spi-nor";
308                                 reg = <0>;
309                                 spi-max-frequency = <20000000>;
310                                 linux,part-probe = "ofpart", "bcm47xxpart";
311                                 status = "disabled";
312                         };
313                 };
315                 gmac0: ethernet@24000 {
316                         reg = <0x24000 0x800>;
317                 };
319                 gmac1: ethernet@25000 {
320                         reg = <0x25000 0x800>;
321                 };
323                 gmac2: ethernet@26000 {
324                         reg = <0x26000 0x800>;
325                 };
327                 gmac3: ethernet@27000 {
328                         reg = <0x27000 0x800>;
329                 };
330         };
332         lcpll0: lcpll0@1800c100 {
333                 #clock-cells = <1>;
334                 compatible = "brcm,nsp-lcpll0";
335                 reg = <0x1800c100 0x14>;
336                 clocks = <&osc>;
337                 clock-output-names = "lcpll0", "pcie_phy", "sdio",
338                                      "ddr_phy";
339         };
341         genpll: genpll@1800c140 {
342                 #clock-cells = <1>;
343                 compatible = "brcm,nsp-genpll";
344                 reg = <0x1800c140 0x24>;
345                 clocks = <&osc>;
346                 clock-output-names = "genpll", "phy", "ethernetclk",
347                                      "usbclk", "iprocfast", "sata1",
348                                      "sata2";
349         };
351         srab: srab@18007000 {
352                 compatible = "brcm,bcm5301x-srab";
353                 reg = <0x18007000 0x1000>;
354                 #address-cells = <1>;
355                 #size-cells = <0>;
357                 status = "disabled";
359                 /* ports are defined in board DTS */
360         };
362         rng: rng@18004000 {
363                 compatible = "brcm,bcm5301x-rng";
364                 reg = <0x18004000 0x14>;
365         };
367         nand: nand@18028000 {
368                 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
369                 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
370                 reg-names = "nand", "iproc-idm", "iproc-ext";
371                 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
373                 #address-cells = <1>;
374                 #size-cells = <0>;
376                 brcm,nand-has-wp;
377         };