2 * Device Tree Source for the Axis ARTPEC-6 SoC
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 #include <dt-bindings/clock/axis,artpec6-clkctrl.h>
45 #include "skeleton.dtsi"
48 compatible = "axis,artpec6";
49 interrupt-parent = <&intc>;
57 compatible = "arm,cortex-a9";
59 next-level-cache = <&pl310>;
64 compatible = "arm,cortex-a9";
66 next-level-cache = <&pl310>;
70 syscon: syscon@f8000000 {
71 compatible = "axis,artpec6-syscon", "syscon";
72 reg = <0xf8000000 0x48>;
76 compatible = "arm,psci-0.2", "arm,psci";
78 psci_version = <0x84000000>;
79 cpu_on = <0x84000003>;
80 system_reset = <0x84000009>;
84 compatible = "arm,cortex-a9-scu";
85 reg = <0xfaf00000 0x58>;
88 /* Main external clock driving CPU and peripherals */
91 compatible = "fixed-clock";
92 clock-frequency = <50000000>;
95 eth_phy_ref_clk: eth_phy_ref_clk {
97 compatible = "fixed-clock";
98 clock-frequency = <125000000>;
101 clkctrl: clkctrl@0xf8000000 {
103 compatible = "axis,artpec6-clkctrl";
104 reg = <0xf8000000 0x48>;
106 clock-names = "sys_refclk";
110 compatible = "arm,cortex-a9-global-timer";
111 reg = <0xfaf00200 0x20>;
112 interrupts = <GIC_PPI 11 0xf01>;
113 clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
117 compatible = "arm,cortex-a9-twd-timer";
118 reg = <0xfaf00600 0x20>;
119 interrupts = <GIC_PPI 13 0xf04>;
120 clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
124 intc: interrupt-controller@faf01000 {
125 interrupt-controller;
126 compatible = "arm,cortex-a9-gic";
127 #interrupt-cells = <3>;
128 reg = < 0xfaf01000 0x1000 >, < 0xfaf00100 0x0100 >;
131 pl310: cache-controller@faf10000 {
132 compatible = "arm,pl310-cache";
135 reg = <0xfaf10000 0x1000>;
136 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
137 arm,data-latency = <1 1 1>;
138 arm,tag-latency = <1 1 1>;
139 arm,filter-ranges = <0x0 0x80000000>;
140 arm,double-linefill = <1>;
141 arm,double-linefill-incr = <0>;
142 arm,double-linefill-wrap = <0>;
144 prefetch-instr = <1>;
145 arm,prefetch-offset = <0>;
146 arm,prefetch-drop = <1>;
150 compatible = "arm,cortex-a9-pmu";
151 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
152 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
153 interrupt-affinity = <&cpu0>, <&cpu1>;
154 interrupt-parent = <&intc>;
157 pcie: pcie@f8050000 {
158 compatible = "axis,artpec6-pcie", "snps,dw-pcie";
159 reg = <0xf8050000 0x2000
162 reg-names = "dbi", "phy", "config";
163 #address-cells = <3>;
167 ranges = <0x81000000 0 0 0xc0002000 0 0x00010000
168 /* non-prefetchable memory */
169 0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
171 bus-range = <0x00 0xff>;
172 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
173 interrupt-names = "msi";
174 #interrupt-cells = <1>;
175 interrupt-map-mask = <0 0 0 0x7>;
176 interrupt-map = <0 0 0 1 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
177 <0 0 0 2 &intc GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
178 <0 0 0 3 &intc GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
179 <0 0 0 4 &intc GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
180 axis,syscon-pcie = <&syscon>;
185 compatible = "simple-bus";
186 #address-cells = <0x1>;
188 interrupt-parent = <&intc>;
190 dma-ranges = <0x80000000 0x00000000 0x40000000>;
193 ethernet: ethernet@f8010000 {
194 clock-names = "phy_ref_clk", "apb_pclk";
195 clocks = <ð_phy_ref_clk>,
196 <&clkctrl ARTPEC6_CLK_ETH_ACLK>;
197 compatible = "snps,dwc-qos-ethernet-4.10";
198 interrupt-parent = <&intc>;
199 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
200 reg = <0xf8010000 0x4000>;
202 snps,write-requests = <2>;
203 snps,read-requests = <16>;
210 uart0: serial@f8036000 {
211 compatible = "arm,pl011", "arm,primecell";
212 reg = <0xf8036000 0x1000>;
213 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
215 <&clkctrl ARTPEC6_CLK_UART_PCLK>;
216 clock-names = "uart_clk", "apb_pclk";
219 uart1: serial@f8037000 {
220 compatible = "arm,pl011", "arm,primecell";
221 reg = <0xf8037000 0x1000>;
222 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
223 clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
224 <&clkctrl ARTPEC6_CLK_UART_PCLK>;
225 clock-names = "uart_clk", "apb_pclk";
228 uart2: serial@f8038000 {
229 compatible = "arm,pl011", "arm,primecell";
230 reg = <0xf8038000 0x1000>;
231 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
232 clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
233 <&clkctrl ARTPEC6_CLK_UART_PCLK>;
234 clock-names = "uart_clk", "apb_pclk";
237 uart3: serial@f8039000 {
238 compatible = "arm,pl011", "arm,primecell";
239 reg = <0xf8039000 0x1000>;
240 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
241 clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
242 <&clkctrl ARTPEC6_CLK_UART_PCLK>;
243 clock-names = "uart_clk", "apb_pclk";