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
6 * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de>
8 * Licensed under the GNU/GPL. See COPYING for details.
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>
20 interrupt-parent = <&gic>;
22 chipcommonA@18000000 {
23 compatible = "simple-bus";
24 ranges = <0x00000000 0x18000000 0x00001000>;
29 compatible = "ns16550";
31 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
32 clocks = <&iprocslow>;
37 compatible = "ns16550";
39 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
40 clocks = <&iprocslow>;
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinmux_uart1>;
48 compatible = "simple-bus";
49 ranges = <0x00000000 0x19000000 0x00023000>;
55 compatible = "brcm,nsp-armpll";
57 reg = <0x00000 0x1000>;
61 compatible = "arm,cortex-a9-scu";
62 reg = <0x20000 0x100>;
66 compatible = "arm,cortex-a9-global-timer";
67 reg = <0x20200 0x100>;
68 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
69 clocks = <&periph_clk>;
73 compatible = "arm,cortex-a9-twd-timer";
75 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
76 IRQ_TYPE_EDGE_RISING)>;
77 clocks = <&periph_clk>;
81 compatible = "arm,cortex-a9-twd-wdt";
83 interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
84 IRQ_TYPE_EDGE_RISING)>;
85 clocks = <&periph_clk>;
88 gic: interrupt-controller@21000 {
89 compatible = "arm,cortex-a9-gic";
90 #interrupt-cells = <3>;
93 reg = <0x21000 0x1000>,
97 L2: cache-controller@22000 {
98 compatible = "arm,pl310-cache";
99 reg = <0x22000 0x1000>;
103 prefetch-instr = <1>;
109 compatible = "arm,cortex-a9-pmu";
111 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
112 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
116 #address-cells = <1>;
122 compatible = "fixed-clock";
123 clock-frequency = <25000000>;
128 compatible = "fixed-factor-clock";
129 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
134 iprocslow: iprocslow {
136 compatible = "fixed-factor-clock";
137 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
142 periph_clk: periph_clk {
144 compatible = "fixed-factor-clock";
151 usb2_phy: usb2-phy@1800c000 {
152 compatible = "brcm,ns-usb2-phy";
153 reg = <0x1800c000 0x1000>;
156 clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
157 clock-names = "phy-ref-clk";
161 compatible = "brcm,bus-axi";
162 reg = <0x18000000 0x1000>;
163 ranges = <0x00000000 0x18000000 0x00100000>;
164 #address-cells = <1>;
167 #interrupt-cells = <1>;
168 interrupt-map-mask = <0x000fffff 0xffff>;
171 <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
173 /* Switch Register Access Block */
174 <0x00007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
175 <0x00007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
176 <0x00007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
177 <0x00007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
178 <0x00007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
179 <0x00007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
180 <0x00007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
181 <0x00007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
182 <0x00007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
183 <0x00007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
184 <0x00007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
185 <0x00007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
186 <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
188 /* PCIe Controller 0 */
189 <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
190 <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
191 <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
192 <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
193 <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
194 <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
196 /* PCIe Controller 1 */
197 <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
198 <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
199 <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
200 <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
201 <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
202 <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
204 /* PCIe Controller 2 */
205 <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
206 <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
207 <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
208 <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
209 <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
210 <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
212 /* USB 2.0 Controller */
213 <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
215 /* USB 3.0 Controller */
216 <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
218 /* Ethernet Controller 0 */
219 <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
221 /* Ethernet Controller 1 */
222 <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
224 /* Ethernet Controller 2 */
225 <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
227 /* Ethernet Controller 3 */
228 <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
230 /* NAND Controller */
231 <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
232 <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
233 <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
234 <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
235 <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
236 <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
237 <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
238 <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
240 chipcommon: chipcommon@0 {
241 reg = <0x00000000 0x1000>;
248 reg = <0x00012000 0x1000>;
252 reg = <0x00013000 0x1000>;
256 reg = <0x00021000 0x1000>;
258 #address-cells = <1>;
262 interrupt-parent = <&gic>;
267 compatible = "generic-ehci";
268 reg = <0x00021000 0x1000>;
269 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
272 #address-cells = <1>;
277 #trigger-source-cells = <0>;
282 #trigger-source-cells = <0>;
289 compatible = "generic-ohci";
290 reg = <0x00022000 0x1000>;
291 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
293 #address-cells = <1>;
298 #trigger-source-cells = <0>;
303 #trigger-source-cells = <0>;
309 reg = <0x00023000 0x1000>;
311 #address-cells = <1>;
315 interrupt-parent = <&gic>;
320 compatible = "generic-xhci";
321 reg = <0x00023000 0x1000>;
322 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
326 #address-cells = <1>;
331 #trigger-source-cells = <0>;
336 gmac0: ethernet@24000 {
337 reg = <0x24000 0x800>;
340 gmac1: ethernet@25000 {
341 reg = <0x25000 0x800>;
344 gmac2: ethernet@26000 {
345 reg = <0x26000 0x800>;
348 gmac3: ethernet@27000 {
349 reg = <0x27000 0x800>;
353 mdio: mdio@18003000 {
354 compatible = "brcm,iproc-mdio";
355 reg = <0x18003000 0x8>;
357 #address-cells = <1>;
360 mdio-bus-mux@18003000 {
361 compatible = "mdio-mux-mmioreg";
362 mdio-parent-bus = <&mdio>;
363 #address-cells = <1>;
365 reg = <0x18003000 0x4>;
370 #address-cells = <1>;
373 usb3_phy: usb3-phy@10 {
374 compatible = "brcm,ns-ax-usb3-phy";
376 usb3-dmp-syscon = <&usb3_dmp>;
383 usb3_dmp: syscon@18105000 {
384 reg = <0x18105000 0x1000>;
388 compatible = "brcm,iproc-i2c";
389 reg = <0x18009000 0x50>;
390 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
391 #address-cells = <1>;
393 clock-frequency = <100000>;
398 compatible = "simple-bus";
399 ranges = <0 0x1800c000 0x1000>;
400 #address-cells = <1>;
404 compatible = "simple-bus";
407 #address-cells = <1>;
411 compatible = "brcm,bcm4708-pinmux";
413 reg-names = "cru_gpio_control";
426 groups = "pwm0_grp", "pwm1_grp",
427 "pwm2_grp", "pwm3_grp";
431 pinmux_uart1: uart1 {
432 groups = "uart1_grp";
439 lcpll0: lcpll0@1800c100 {
441 compatible = "brcm,nsp-lcpll0";
442 reg = <0x1800c100 0x14>;
444 clock-output-names = "lcpll0", "pcie_phy", "sdio",
448 genpll: genpll@1800c140 {
450 compatible = "brcm,nsp-genpll";
451 reg = <0x1800c140 0x24>;
453 clock-output-names = "genpll", "phy", "ethernetclk",
454 "usbclk", "iprocfast", "sata1",
458 thermal: thermal@1800c2c0 {
459 compatible = "brcm,ns-thermal";
460 reg = <0x1800c2c0 0x10>;
461 #thermal-sensor-cells = <0>;
464 srab: srab@18007000 {
465 compatible = "brcm,bcm5301x-srab";
466 reg = <0x18007000 0x1000>;
470 /* ports are defined in board DTS */
474 compatible = "brcm,bcm5301x-rng";
475 reg = <0x18004000 0x14>;
478 nand: nand@18028000 {
479 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
480 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
481 reg-names = "nand", "iproc-idm", "iproc-ext";
482 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
484 #address-cells = <1>;
491 compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
492 reg = <0x18029200 0x184>,
496 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
497 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
498 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
499 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
500 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
501 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
502 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
503 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
504 interrupt-names = "spi_lr_fullness_reached",
505 "spi_lr_session_aborted",
507 "spi_lr_session_done",
511 clocks = <&iprocmed>;
512 clock-names = "iprocmed";
514 #address-cells = <1>;
518 compatible = "jedec,spi-nor";
520 spi-max-frequency = <20000000>;
524 compatible = "brcm,bcm947xx-cfe-partitions";
530 cpu_thermal: cpu-thermal {
531 polling-delay-passive = <0>;
532 polling-delay = <1000>;
533 coefficients = <(-556) 418000>;
534 thermal-sensors = <&thermal>;
538 temperature = <125000>;