ARM: dts: lager: Enable SCIF_CLK frequency and pins
[deliverable/linux.git] / arch / arm / boot / dts / bcm5301x.dtsi
CommitLineData
d27509f1
HM
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 */
10
cdc36b22 11#include <dt-bindings/clock/bcm-nsp.h>
fb026d3d 12#include <dt-bindings/gpio/gpio.h>
f6f82344 13#include <dt-bindings/input/input.h>
d27509f1
HM
14#include <dt-bindings/interrupt-controller/irq.h>
15#include <dt-bindings/interrupt-controller/arm-gic.h>
16#include "skeleton.dtsi"
17
18/ {
19 interrupt-parent = <&gic>;
20
21 chipcommonA {
22 compatible = "simple-bus";
23 ranges = <0x00000000 0x18000000 0x00001000>;
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 uart0: serial@0300 {
28 compatible = "ns16550";
29 reg = <0x0300 0x100>;
30 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
cdc36b22 31 clocks = <&iprocslow>;
d27509f1
HM
32 status = "disabled";
33 };
34
35 uart1: serial@0400 {
36 compatible = "ns16550";
37 reg = <0x0400 0x100>;
38 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
cdc36b22 39 clocks = <&iprocslow>;
d27509f1
HM
40 status = "disabled";
41 };
42 };
43
44 mpcore {
45 compatible = "simple-bus";
cdc36b22 46 ranges = <0x00000000 0x19000000 0x00023000>;
d27509f1
HM
47 #address-cells = <1>;
48 #size-cells = <1>;
49
cdc36b22
JM
50 a9pll: arm_clk@00000 {
51 #clock-cells = <0>;
52 compatible = "brcm,nsp-armpll";
53 clocks = <&osc>;
54 reg = <0x00000 0x1000>;
55 };
56
57 scu@20000 {
d27509f1 58 compatible = "arm,cortex-a9-scu";
cdc36b22 59 reg = <0x20000 0x100>;
d27509f1
HM
60 };
61
cdc36b22 62 timer@20200 {
d27509f1 63 compatible = "arm,cortex-a9-global-timer";
cdc36b22 64 reg = <0x20200 0x100>;
d27509f1 65 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
cdc36b22 66 clocks = <&periph_clk>;
d27509f1
HM
67 };
68
cdc36b22 69 local-timer@20600 {
d27509f1 70 compatible = "arm,cortex-a9-twd-timer";
cdc36b22 71 reg = <0x20600 0x100>;
d27509f1 72 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>;
cdc36b22 73 clocks = <&periph_clk>;
d27509f1
HM
74 };
75
cdc36b22 76 gic: interrupt-controller@21000 {
d27509f1
HM
77 compatible = "arm,cortex-a9-gic";
78 #interrupt-cells = <3>;
79 #address-cells = <0>;
80 interrupt-controller;
cdc36b22
JM
81 reg = <0x21000 0x1000>,
82 <0x20100 0x100>;
d27509f1
HM
83 };
84
cdc36b22 85 L2: cache-controller@22000 {
d27509f1 86 compatible = "arm,pl310-cache";
cdc36b22 87 reg = <0x22000 0x1000>;
d27509f1 88 cache-unified;
db44f134
HM
89 arm,shared-override;
90 prefetch-data = <1>;
91 prefetch-instr = <1>;
d27509f1
HM
92 cache-level = <2>;
93 };
94 };
95
1ff80363
FF
96 pmu {
97 compatible = "arm,cortex-a9-pmu";
98 interrupts =
99 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
100 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
101 };
102
d27509f1
HM
103 clocks {
104 #address-cells = <1>;
cdc36b22
JM
105 #size-cells = <1>;
106 ranges;
d27509f1 107
cdc36b22
JM
108 osc: oscillator {
109 #clock-cells = <0>;
d27509f1 110 compatible = "fixed-clock";
cdc36b22
JM
111 clock-frequency = <25000000>;
112 };
113
114 iprocmed: iprocmed {
115 #clock-cells = <0>;
116 compatible = "fixed-factor-clock";
117 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
118 clock-div = <2>;
119 clock-mult = <1>;
120 };
121
122 iprocslow: iprocslow {
123 #clock-cells = <0>;
124 compatible = "fixed-factor-clock";
125 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
126 clock-div = <4>;
127 clock-mult = <1>;
128 };
129
130 periph_clk: periph_clk {
d27509f1 131 #clock-cells = <0>;
cdc36b22
JM
132 compatible = "fixed-factor-clock";
133 clocks = <&a9pll>;
134 clock-div = <2>;
135 clock-mult = <1>;
d27509f1
HM
136 };
137 };
fb026d3d
RM
138
139 axi@18000000 {
140 compatible = "brcm,bus-axi";
141 reg = <0x18000000 0x1000>;
142 ranges = <0x00000000 0x18000000 0x00100000>;
143 #address-cells = <1>;
144 #size-cells = <1>;
145
dec37882
HM
146 #interrupt-cells = <1>;
147 interrupt-map-mask = <0x000fffff 0xffff>;
148 interrupt-map =
149 /* ChipCommon */
150 <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
151
1f80de68
HM
152 /* PCIe Controller 0 */
153 <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
154 <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
155 <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
156 <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
157 <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
158 <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
159
160 /* PCIe Controller 1 */
161 <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
162 <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
163 <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
164 <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
165 <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
166 <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
167
168 /* PCIe Controller 2 */
169 <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
170 <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
171 <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
172 <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
173 <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
174 <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
175
dec37882
HM
176 /* USB 2.0 Controller */
177 <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
178
179 /* USB 3.0 Controller */
180 <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
181
182 /* Ethernet Controller 0 */
183 <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
184
185 /* Ethernet Controller 1 */
186 <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
187
188 /* Ethernet Controller 2 */
189 <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
190
191 /* Ethernet Controller 3 */
192 <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
193
194 /* NAND Controller */
195 <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
196 <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
197 <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
198 <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
199 <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
200 <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
201 <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
202 <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
203
fb026d3d
RM
204 chipcommon: chipcommon@0 {
205 reg = <0x00000000 0x1000>;
206
207 gpio-controller;
208 #gpio-cells = <2>;
209 };
210 };
9faa5960 211
cdc36b22
JM
212 lcpll0: lcpll0@1800c100 {
213 #clock-cells = <1>;
214 compatible = "brcm,nsp-lcpll0";
215 reg = <0x1800c100 0x14>;
216 clocks = <&osc>;
217 clock-output-names = "lcpll0", "pcie_phy", "sdio",
218 "ddr_phy";
219 };
220
221 genpll: genpll@1800c140 {
222 #clock-cells = <1>;
223 compatible = "brcm,nsp-genpll";
224 reg = <0x1800c140 0x24>;
225 clocks = <&osc>;
226 clock-output-names = "genpll", "phy", "ethernetclk",
227 "usbclk", "iprocfast", "sata1",
228 "sata2";
229 };
230
9faa5960
HM
231 nand: nand@18028000 {
232 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
233 reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;
234 reg-names = "nand", "iproc-idm", "iproc-ext";
235 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
236
237 #address-cells = <1>;
238 #size-cells = <0>;
239
240 brcm,nand-has-wp;
241 };
d27509f1 242};
This page took 0.151452 seconds and 5 git commands to generate.