x86: Make the vdso2c compiler use the host architecture headers
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm5301x.dtsi
blob7d4d29bf0ed35376b55a301a7fe93f7f04de8877
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_LEVEL_HIGH>;
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_LEVEL_HIGH>;
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         axi@18000000 {
144                 compatible = "brcm,bus-axi";
145                 reg = <0x18000000 0x1000>;
146                 ranges = <0x00000000 0x18000000 0x00100000>;
147                 #address-cells = <1>;
148                 #size-cells = <1>;
150                 #interrupt-cells = <1>;
151                 interrupt-map-mask = <0x000fffff 0xffff>;
152                 interrupt-map = 
153                         /* ChipCommon */
154                         <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
156                         /* PCIe Controller 0 */
157                         <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
158                         <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
159                         <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
160                         <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
161                         <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
162                         <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
164                         /* PCIe Controller 1 */
165                         <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
166                         <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
167                         <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
168                         <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
169                         <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
170                         <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
172                         /* PCIe Controller 2 */
173                         <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
174                         <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
175                         <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
176                         <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
177                         <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
178                         <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
180                         /* USB 2.0 Controller */
181                         <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
183                         /* USB 3.0 Controller */
184                         <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
186                         /* Ethernet Controller 0 */
187                         <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
189                         /* Ethernet Controller 1 */
190                         <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
192                         /* Ethernet Controller 2 */
193                         <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
195                         /* Ethernet Controller 3 */
196                         <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
198                         /* NAND Controller */
199                         <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
200                         <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
201                         <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
202                         <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
203                         <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
204                         <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
205                         <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
206                         <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
208                 chipcommon: chipcommon@0 {
209                         reg = <0x00000000 0x1000>;
211                         gpio-controller;
212                         #gpio-cells = <2>;
213                 };
215                 usb2: usb2@21000 {
216                         reg = <0x00021000 0x1000>;
218                         #address-cells = <1>;
219                         #size-cells = <1>;
220                 };
222                 usb3: usb3@23000 {
223                         reg = <0x00023000 0x1000>;
225                         #address-cells = <1>;
226                         #size-cells = <1>;
227                 };
229                 spi@29000 {
230                         reg = <0x00029000 0x1000>;
231                         #address-cells = <1>;
232                         #size-cells = <0>;
234                         spi_nor: spi-nor@0 {
235                                 compatible = "jedec,spi-nor";
236                                 reg = <0>;
237                                 spi-max-frequency = <20000000>;
238                                 linux,part-probe = "ofpart", "bcm47xxpart";
239                                 status = "disabled";
240                         };
241                 };
242         };
244         lcpll0: lcpll0@1800c100 {
245                 #clock-cells = <1>;
246                 compatible = "brcm,nsp-lcpll0";
247                 reg = <0x1800c100 0x14>;
248                 clocks = <&osc>;
249                 clock-output-names = "lcpll0", "pcie_phy", "sdio",
250                                      "ddr_phy";
251         };
253         genpll: genpll@1800c140 {
254                 #clock-cells = <1>;
255                 compatible = "brcm,nsp-genpll";
256                 reg = <0x1800c140 0x24>;
257                 clocks = <&osc>;
258                 clock-output-names = "genpll", "phy", "ethernetclk",
259                                      "usbclk", "iprocfast", "sata1",
260                                      "sata2";
261         };
263         nand: nand@18028000 {
264                 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
265                 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
266                 reg-names = "nand", "iproc-idm", "iproc-ext";
267                 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
269                 #address-cells = <1>;
270                 #size-cells = <0>;
272                 brcm,nand-has-wp;
273         };