4 * Copyright(c) 2016 Broadcom. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
16 * * Neither the name of Broadcom Corporation nor the names of its
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 #include <dt-bindings/interrupt-controller/arm-gic.h>
34 #include <dt-bindings/interrupt-controller/irq.h>
36 /* BCM23550 and BCM21664 have almost identical clocks */
37 #include "dt-bindings/clock/bcm21664.h"
39 #include "skeleton.dtsi"
42 model = "BCM23550 SoC";
43 compatible = "brcm,bcm23550";
44 interrupt-parent = <&gic>;
52 compatible = "arm,cortex-a7";
54 clock-frequency = <1000000000>;
59 compatible = "arm,cortex-a7";
60 enable-method = "brcm,bcm23550";
61 secondary-boot-reg = <0x35004178>;
63 clock-frequency = <1000000000>;
68 compatible = "arm,cortex-a7";
69 enable-method = "brcm,bcm23550";
70 secondary-boot-reg = <0x35004178>;
72 clock-frequency = <1000000000>;
77 compatible = "arm,cortex-a7";
78 enable-method = "brcm,bcm23550";
79 secondary-boot-reg = <0x35004178>;
81 clock-frequency = <1000000000>;
87 compatible = "simple-bus";
88 ranges = <0 0x34000000 0x102f83ac>;
93 compatible = "brcm,bcm23550-smc", "brcm,kona-smc";
94 reg = <0x0004e000 0x400>; /* 1 KiB in SRAM */
97 resetmgr: reset-controller@1001f00 {
98 compatible = "brcm,bcm21664-resetmgr";
99 reg = <0x01001f00 0x24>;
103 compatible = "brcm,bcm23550-gpio", "brcm,kona-gpio";
104 reg = <0x01003000 0x524>;
106 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
107 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
108 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
109 GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
111 #interrupt-cells = <2>;
113 interrupt-controller;
117 compatible = "brcm,kona-timer";
118 reg = <0x01006000 0x1c>;
119 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
120 clocks = <&aon_ccu BCM21664_AON_CCU_HUB_TIMER>;
126 compatible = "simple-bus";
127 ranges = <0 0x3e000000 0x0001c070>;
128 #address-cells = <1>;
132 compatible = "snps,dw-apb-uart";
134 reg = <0x00000000 0x118>;
135 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB>;
136 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
141 uartb2: serial@1000 {
142 compatible = "snps,dw-apb-uart";
144 reg = <0x00001000 0x118>;
145 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB2>;
146 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
151 uartb3: serial@2000 {
152 compatible = "snps,dw-apb-uart";
154 reg = <0x00002000 0x118>;
155 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB3>;
156 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
162 compatible = "brcm,kona-i2c";
163 reg = <0x00016000 0x70>;
164 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
165 #address-cells = <1>;
167 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC1>;
172 compatible = "brcm,kona-i2c";
173 reg = <0x00017000 0x70>;
174 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
175 #address-cells = <1>;
177 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC2>;
182 compatible = "brcm,kona-i2c";
183 reg = <0x00018000 0x70>;
184 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
185 #address-cells = <1>;
187 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC3>;
192 compatible = "brcm,kona-i2c";
193 reg = <0x0001c000 0x70>;
194 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
195 #address-cells = <1>;
197 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC4>;
204 compatible = "simple-bus";
205 ranges = <0 0x3e300000 0x01b77000>;
206 #address-cells = <1>;
210 compatible = "snps,dwc2";
211 reg = <0x00e20000 0x10000>;
212 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
213 clocks = <&usb_otg_ahb_clk>;
216 phy-names = "usb2-phy";
220 usbphy: usb-phy@e30000 {
221 compatible = "brcm,kona-usb2-phy";
222 reg = <0x00e30000 0x28>;
228 compatible = "brcm,kona-sdhci";
229 reg = <0x00e80000 0x801c>;
230 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
231 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO1>;
236 compatible = "brcm,kona-sdhci";
237 reg = <0x00e90000 0x801c>;
238 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
239 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO2>;
244 compatible = "brcm,kona-sdhci";
245 reg = <0x00ea0000 0x801c>;
246 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO3>;
252 compatible = "brcm,kona-sdhci";
253 reg = <0x00eb0000 0x801c>;
254 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO4>;
260 compatible = "brcm,bcm23550-cdc";
261 reg = <0x01b0e000 0x78>;
264 gic: interrupt-controller@1b21000 {
265 compatible = "arm,cortex-a9-gic";
266 #interrupt-cells = <3>;
267 #address-cells = <0>;
268 interrupt-controller;
269 reg = <0x01b21000 0x1000>,
275 #address-cells = <1>;
280 * Fixed clocks are defined before CCUs whose
281 * clocks may depend on them.
284 ref_32k_clk: ref_32k {
286 compatible = "fixed-clock";
287 clock-frequency = <32768>;
290 bbl_32k_clk: bbl_32k {
292 compatible = "fixed-clock";
293 clock-frequency = <32768>;
296 ref_13m_clk: ref_13m {
298 compatible = "fixed-clock";
299 clock-frequency = <13000000>;
302 var_13m_clk: var_13m {
304 compatible = "fixed-clock";
305 clock-frequency = <13000000>;
308 dft_19_5m_clk: dft_19_5m {
310 compatible = "fixed-clock";
311 clock-frequency = <19500000>;
314 ref_crystal_clk: ref_crystal {
316 compatible = "fixed-clock";
317 clock-frequency = <26000000>;
320 ref_52m_clk: ref_52m {
322 compatible = "fixed-clock";
323 clock-frequency = <52000000>;
326 var_52m_clk: var_52m {
328 compatible = "fixed-clock";
329 clock-frequency = <52000000>;
332 usb_otg_ahb_clk: usb_otg_ahb {
334 compatible = "fixed-clock";
335 clock-frequency = <52000000>;
338 ref_96m_clk: ref_96m {
340 compatible = "fixed-clock";
341 clock-frequency = <96000000>;
344 var_96m_clk: var_96m {
346 compatible = "fixed-clock";
347 clock-frequency = <96000000>;
350 ref_104m_clk: ref_104m {
352 compatible = "fixed-clock";
353 clock-frequency = <104000000>;
356 var_104m_clk: var_104m {
358 compatible = "fixed-clock";
359 clock-frequency = <104000000>;
362 ref_156m_clk: ref_156m {
364 compatible = "fixed-clock";
365 clock-frequency = <156000000>;
368 var_156m_clk: var_156m {
370 compatible = "fixed-clock";
371 clock-frequency = <156000000>;
375 compatible = BCM21664_DT_ROOT_CCU_COMPAT;
376 reg = <0x35001000 0x0f00>;
378 clock-output-names = "frac_1m";
382 compatible = BCM21664_DT_AON_CCU_COMPAT;
383 reg = <0x35002000 0x0f00>;
385 clock-output-names = "hub_timer";
388 slave_ccu: slave_ccu {
389 compatible = BCM21664_DT_SLAVE_CCU_COMPAT;
390 reg = <0x3e011000 0x0f00>;
392 clock-output-names = "uartb",
401 master_ccu: master_ccu {
402 compatible = BCM21664_DT_MASTER_CCU_COMPAT;
403 reg = <0x3f001000 0x0f00>;
405 clock-output-names = "sdio1",