2 * Copyright (C) 2014 Broadcom Corporation
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation version 2.
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
9 * kind, whether express or implied; without even the implied warranty
10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
17 #include "dt-bindings/clock/bcm21664.h"
19 #include "skeleton.dtsi"
22 model = "BCM21664 SoC";
23 compatible = "brcm,bcm21664";
24 interrupt-parent = <&gic>;
27 bootargs = "console=ttyS0,115200n8";
30 gic: interrupt-controller@3ff00100 {
31 compatible = "arm,cortex-a9-gic";
32 #interrupt-cells = <3>;
35 reg = <0x3ff01000 0x1000>,
40 compatible = "brcm,bcm21664-smc", "brcm,kona-smc";
41 reg = <0x3404e000 0x400>; /* 1 KiB in SRAM */
45 compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
47 reg = <0x3e000000 0x118>;
48 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB>;
49 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
55 compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
57 reg = <0x3e001000 0x118>;
58 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB2>;
59 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
65 compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
67 reg = <0x3e002000 0x118>;
68 clocks = <&slave_ccu BCM21664_SLAVE_CCU_UARTB3>;
69 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
75 compatible = "arm,pl310-cache";
76 reg = <0x3ff20000 0x1000>;
81 brcm,resetmgr@35001f00 {
82 compatible = "brcm,bcm21664-resetmgr";
83 reg = <0x35001f00 0x24>;
87 compatible = "brcm,kona-timer";
88 reg = <0x35006000 0x1c>;
89 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
90 clocks = <&aon_ccu BCM21664_AON_CCU_HUB_TIMER>;
94 compatible = "brcm,bcm21664-gpio", "brcm,kona-gpio";
95 reg = <0x35003000 0x524>;
97 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
98 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
99 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
100 GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
102 #interrupt-cells = <2>;
104 interrupt-controller;
107 sdio1: sdio@3f180000 {
108 compatible = "brcm,kona-sdhci";
109 reg = <0x3f180000 0x801c>;
110 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
111 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO1>;
115 sdio2: sdio@3f190000 {
116 compatible = "brcm,kona-sdhci";
117 reg = <0x3f190000 0x801c>;
118 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
119 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO2>;
123 sdio3: sdio@3f1a0000 {
124 compatible = "brcm,kona-sdhci";
125 reg = <0x3f1a0000 0x801c>;
126 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
127 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO3>;
131 sdio4: sdio@3f1b0000 {
132 compatible = "brcm,kona-sdhci";
133 reg = <0x3f1b0000 0x801c>;
134 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
135 clocks = <&master_ccu BCM21664_MASTER_CCU_SDIO4>;
140 compatible = "brcm,bcm21664-i2c", "brcm,kona-i2c";
141 reg = <0x3e016000 0x70>;
142 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
143 #address-cells = <1>;
145 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC1>;
150 compatible = "brcm,bcm21664-i2c", "brcm,kona-i2c";
151 reg = <0x3e017000 0x70>;
152 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
153 #address-cells = <1>;
155 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC2>;
160 compatible = "brcm,bcm21664-i2c", "brcm,kona-i2c";
161 reg = <0x3e018000 0x70>;
162 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
163 #address-cells = <1>;
165 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC3>;
170 compatible = "brcm,bcm21664-i2c", "brcm,kona-i2c";
171 reg = <0x3e01c000 0x70>;
172 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
173 #address-cells = <1>;
175 clocks = <&slave_ccu BCM21664_SLAVE_CCU_BSC4>;
180 #address-cells = <1>;
185 * Fixed clocks are defined before CCUs whose
186 * clocks may depend on them.
189 ref_32k_clk: ref_32k {
191 compatible = "fixed-clock";
192 clock-frequency = <32768>;
195 bbl_32k_clk: bbl_32k {
197 compatible = "fixed-clock";
198 clock-frequency = <32768>;
201 ref_13m_clk: ref_13m {
203 compatible = "fixed-clock";
204 clock-frequency = <13000000>;
207 var_13m_clk: var_13m {
209 compatible = "fixed-clock";
210 clock-frequency = <13000000>;
213 dft_19_5m_clk: dft_19_5m {
215 compatible = "fixed-clock";
216 clock-frequency = <19500000>;
219 ref_crystal_clk: ref_crystal {
221 compatible = "fixed-clock";
222 clock-frequency = <26000000>;
225 ref_52m_clk: ref_52m {
227 compatible = "fixed-clock";
228 clock-frequency = <52000000>;
231 var_52m_clk: var_52m {
233 compatible = "fixed-clock";
234 clock-frequency = <52000000>;
237 usb_otg_ahb_clk: usb_otg_ahb {
239 compatible = "fixed-clock";
240 clock-frequency = <52000000>;
243 ref_96m_clk: ref_96m {
245 compatible = "fixed-clock";
246 clock-frequency = <96000000>;
249 var_96m_clk: var_96m {
251 compatible = "fixed-clock";
252 clock-frequency = <96000000>;
255 ref_104m_clk: ref_104m {
257 compatible = "fixed-clock";
258 clock-frequency = <104000000>;
261 var_104m_clk: var_104m {
263 compatible = "fixed-clock";
264 clock-frequency = <104000000>;
267 ref_156m_clk: ref_156m {
269 compatible = "fixed-clock";
270 clock-frequency = <156000000>;
273 var_156m_clk: var_156m {
275 compatible = "fixed-clock";
276 clock-frequency = <156000000>;
280 compatible = BCM21664_DT_ROOT_CCU_COMPAT;
281 reg = <0x35001000 0x0f00>;
283 clock-output-names = "frac_1m";
287 compatible = BCM21664_DT_AON_CCU_COMPAT;
288 reg = <0x35002000 0x0f00>;
290 clock-output-names = "hub_timer";
293 master_ccu: master_ccu {
294 compatible = BCM21664_DT_MASTER_CCU_COMPAT;
295 reg = <0x3f001000 0x0f00>;
297 clock-output-names = "sdio1",
307 slave_ccu: slave_ccu {
308 compatible = BCM21664_DT_SLAVE_CCU_COMPAT;
309 reg = <0x3e011000 0x0f00>;
311 clock-output-names = "uartb",
321 usbotg: usb@3f120000 {
322 compatible = "snps,dwc2";
323 reg = <0x3f120000 0x10000>;
324 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&usb_otg_ahb_clk>;
328 phy-names = "usb2-phy";
332 usbphy: usb-phy@3f130000 {
333 compatible = "brcm,kona-usb2-phy";
334 reg = <0x3f130000 0x28>;