1*724ba675SRob Herring/*
2*724ba675SRob Herring * Device Tree Source for the Axis ARTPEC-6 SoC
3*724ba675SRob Herring *
4*724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms
5*724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual
6*724ba675SRob Herring * licensing only applies to this file, and not this project as a
7*724ba675SRob Herring * whole.
8*724ba675SRob Herring *
9*724ba675SRob Herring *  a) This file is free software; you can redistribute it and/or
10*724ba675SRob Herring *     modify it under the terms of the GNU General Public License as
11*724ba675SRob Herring *     published by the Free Software Foundation; either version 2 of the
12*724ba675SRob Herring *     License, or (at your option) any later version.
13*724ba675SRob Herring *
14*724ba675SRob Herring *     This file is distributed in the hope that it will be useful,
15*724ba675SRob Herring *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*724ba675SRob Herring *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*724ba675SRob Herring *     GNU General Public License for more details.
18*724ba675SRob Herring *
19*724ba675SRob Herring * Or, alternatively,
20*724ba675SRob Herring *
21*724ba675SRob Herring *  b) Permission is hereby granted, free of charge, to any person
22*724ba675SRob Herring *     obtaining a copy of this software and associated documentation
23*724ba675SRob Herring *     files (the "Software"), to deal in the Software without
24*724ba675SRob Herring *     restriction, including without limitation the rights to use,
25*724ba675SRob Herring *     copy, modify, merge, publish, distribute, sublicense, and/or
26*724ba675SRob Herring *     sell copies of the Software, and to permit persons to whom the
27*724ba675SRob Herring *     Software is furnished to do so, subject to the following
28*724ba675SRob Herring *     conditions:
29*724ba675SRob Herring *
30*724ba675SRob Herring *     The above copyright notice and this permission notice shall be
31*724ba675SRob Herring *     included in all copies or substantial portions of the Software.
32*724ba675SRob Herring *
33*724ba675SRob Herring *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*724ba675SRob Herring *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*724ba675SRob Herring *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*724ba675SRob Herring *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*724ba675SRob Herring *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*724ba675SRob Herring *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*724ba675SRob Herring *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*724ba675SRob Herring *     OTHER DEALINGS IN THE SOFTWARE.
41*724ba675SRob Herring */
42*724ba675SRob Herring
43*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
44*724ba675SRob Herring#include <dt-bindings/dma/nbpfaxi.h>
45*724ba675SRob Herring#include <dt-bindings/clock/axis,artpec6-clkctrl.h>
46*724ba675SRob Herring
47*724ba675SRob Herring/ {
48*724ba675SRob Herring	#address-cells = <1>;
49*724ba675SRob Herring	#size-cells = <1>;
50*724ba675SRob Herring	compatible = "axis,artpec6";
51*724ba675SRob Herring	interrupt-parent = <&intc>;
52*724ba675SRob Herring
53*724ba675SRob Herring	cpus {
54*724ba675SRob Herring		#address-cells = <1>;
55*724ba675SRob Herring		#size-cells = <0>;
56*724ba675SRob Herring
57*724ba675SRob Herring		cpu0: cpu@0 {
58*724ba675SRob Herring			device_type = "cpu";
59*724ba675SRob Herring			compatible = "arm,cortex-a9";
60*724ba675SRob Herring			reg = <0>;
61*724ba675SRob Herring			next-level-cache = <&pl310>;
62*724ba675SRob Herring		};
63*724ba675SRob Herring
64*724ba675SRob Herring		cpu1: cpu@1 {
65*724ba675SRob Herring			device_type = "cpu";
66*724ba675SRob Herring			compatible = "arm,cortex-a9";
67*724ba675SRob Herring			reg = <1>;
68*724ba675SRob Herring			next-level-cache = <&pl310>;
69*724ba675SRob Herring		};
70*724ba675SRob Herring	};
71*724ba675SRob Herring
72*724ba675SRob Herring	syscon: syscon@f8000000 {
73*724ba675SRob Herring		compatible = "axis,artpec6-syscon", "syscon";
74*724ba675SRob Herring		reg = <0xf8000000 0x48>;
75*724ba675SRob Herring	};
76*724ba675SRob Herring
77*724ba675SRob Herring	psci {
78*724ba675SRob Herring		compatible = "arm,psci-0.2", "arm,psci";
79*724ba675SRob Herring		method = "smc";
80*724ba675SRob Herring		psci_version = <0x84000000>;
81*724ba675SRob Herring		cpu_on = <0x84000003>;
82*724ba675SRob Herring		system_reset = <0x84000009>;
83*724ba675SRob Herring	};
84*724ba675SRob Herring
85*724ba675SRob Herring	scu@faf00000 {
86*724ba675SRob Herring		compatible = "arm,cortex-a9-scu";
87*724ba675SRob Herring		reg = <0xfaf00000 0x58>;
88*724ba675SRob Herring	};
89*724ba675SRob Herring
90*724ba675SRob Herring	/* Main external clock driving CPU and peripherals */
91*724ba675SRob Herring	ext_clk: ext_clk {
92*724ba675SRob Herring		#clock-cells = <0>;
93*724ba675SRob Herring		compatible = "fixed-clock";
94*724ba675SRob Herring		clock-frequency = <50000000>;
95*724ba675SRob Herring	};
96*724ba675SRob Herring
97*724ba675SRob Herring	eth_phy_ref_clk: eth_phy_ref_clk {
98*724ba675SRob Herring		#clock-cells = <0>;
99*724ba675SRob Herring		compatible = "fixed-clock";
100*724ba675SRob Herring		clock-frequency = <125000000>;
101*724ba675SRob Herring	};
102*724ba675SRob Herring
103*724ba675SRob Herring	clkctrl: clkctrl@f8000000 {
104*724ba675SRob Herring		#clock-cells = <1>;
105*724ba675SRob Herring		compatible = "axis,artpec6-clkctrl";
106*724ba675SRob Herring		reg = <0xf8000000 0x48>;
107*724ba675SRob Herring		clocks = <&ext_clk>;
108*724ba675SRob Herring		clock-names = "sys_refclk";
109*724ba675SRob Herring	};
110*724ba675SRob Herring
111*724ba675SRob Herring	gtimer@faf00200 {
112*724ba675SRob Herring		compatible = "arm,cortex-a9-global-timer";
113*724ba675SRob Herring		reg = <0xfaf00200 0x20>;
114*724ba675SRob Herring		interrupts = <GIC_PPI 11 0xf01>;
115*724ba675SRob Herring		clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
116*724ba675SRob Herring	};
117*724ba675SRob Herring
118*724ba675SRob Herring	timer@faf00600 {
119*724ba675SRob Herring		compatible = "arm,cortex-a9-twd-timer";
120*724ba675SRob Herring		reg = <0xfaf00600 0x20>;
121*724ba675SRob Herring		interrupts = <GIC_PPI 13 0xf04>;
122*724ba675SRob Herring		clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
123*724ba675SRob Herring		status = "disabled";
124*724ba675SRob Herring	};
125*724ba675SRob Herring
126*724ba675SRob Herring	intc: interrupt-controller@faf01000 {
127*724ba675SRob Herring		interrupt-controller;
128*724ba675SRob Herring		compatible = "arm,cortex-a9-gic";
129*724ba675SRob Herring		#interrupt-cells = <3>;
130*724ba675SRob Herring		reg = < 0xfaf01000 0x1000 >, < 0xfaf00100 0x0100 >;
131*724ba675SRob Herring	};
132*724ba675SRob Herring
133*724ba675SRob Herring	pl310: cache-controller@faf10000 {
134*724ba675SRob Herring		compatible = "arm,pl310-cache";
135*724ba675SRob Herring		cache-unified;
136*724ba675SRob Herring		cache-level = <2>;
137*724ba675SRob Herring		reg = <0xfaf10000 0x1000>;
138*724ba675SRob Herring		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
139*724ba675SRob Herring		arm,data-latency = <1 1 1>;
140*724ba675SRob Herring		arm,tag-latency = <1 1 1>;
141*724ba675SRob Herring		arm,filter-ranges = <0x0 0x80000000>;
142*724ba675SRob Herring		arm,double-linefill = <1>;
143*724ba675SRob Herring		arm,double-linefill-incr = <0>;
144*724ba675SRob Herring		arm,double-linefill-wrap = <0>;
145*724ba675SRob Herring		prefetch-data = <1>;
146*724ba675SRob Herring		prefetch-instr = <1>;
147*724ba675SRob Herring		arm,prefetch-offset = <0>;
148*724ba675SRob Herring		arm,prefetch-drop = <1>;
149*724ba675SRob Herring	};
150*724ba675SRob Herring
151*724ba675SRob Herring	pmu {
152*724ba675SRob Herring		compatible = "arm,cortex-a9-pmu";
153*724ba675SRob Herring		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
154*724ba675SRob Herring			<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
155*724ba675SRob Herring		interrupt-affinity = <&cpu0>, <&cpu1>;
156*724ba675SRob Herring	};
157*724ba675SRob Herring
158*724ba675SRob Herring	/*
159*724ba675SRob Herring	 * Both pci nodes cannot be enabled at the same time,
160*724ba675SRob Herring	 * leave the unwanted node as disabled.
161*724ba675SRob Herring	 */
162*724ba675SRob Herring	pcie: pcie@f8050000 {
163*724ba675SRob Herring		compatible = "axis,artpec6-pcie", "snps,dw-pcie";
164*724ba675SRob Herring		reg = <0xf8050000 0x2000
165*724ba675SRob Herring		       0xf8040000 0x1000
166*724ba675SRob Herring		       0xc0000000 0x2000>;
167*724ba675SRob Herring		reg-names = "dbi", "phy", "config";
168*724ba675SRob Herring		#address-cells = <3>;
169*724ba675SRob Herring		#size-cells = <2>;
170*724ba675SRob Herring		device_type = "pci";
171*724ba675SRob Herring			  /* downstream I/O */
172*724ba675SRob Herring		ranges = <0x81000000 0 0 0xc0002000 0 0x00010000
173*724ba675SRob Herring			  /* non-prefetchable memory */
174*724ba675SRob Herring			  0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
175*724ba675SRob Herring		num-lanes = <2>;
176*724ba675SRob Herring		bus-range = <0x00 0xff>;
177*724ba675SRob Herring		interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
178*724ba675SRob Herring		interrupt-names = "msi";
179*724ba675SRob Herring		#interrupt-cells = <1>;
180*724ba675SRob Herring		interrupt-map-mask = <0 0 0 0x7>;
181*724ba675SRob Herring		interrupt-map = <0 0 0 1 &intc GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
182*724ba675SRob Herring				<0 0 0 2 &intc GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
183*724ba675SRob Herring				<0 0 0 3 &intc GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
184*724ba675SRob Herring				<0 0 0 4 &intc GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
185*724ba675SRob Herring		axis,syscon-pcie = <&syscon>;
186*724ba675SRob Herring		status = "disabled";
187*724ba675SRob Herring	};
188*724ba675SRob Herring
189*724ba675SRob Herring	pcie_ep: pcie_ep@f8050000 {
190*724ba675SRob Herring		compatible = "axis,artpec6-pcie-ep", "snps,dw-pcie";
191*724ba675SRob Herring		reg = <0xf8050000 0x2000
192*724ba675SRob Herring		       0xf8051000 0x2000
193*724ba675SRob Herring		       0xf8040000 0x1000
194*724ba675SRob Herring		       0xc0000000 0x20000000>;
195*724ba675SRob Herring		reg-names = "dbi", "dbi2", "phy", "addr_space";
196*724ba675SRob Herring		num-ib-windows = <6>;
197*724ba675SRob Herring		num-ob-windows = <2>;
198*724ba675SRob Herring		num-lanes = <2>;
199*724ba675SRob Herring		axis,syscon-pcie = <&syscon>;
200*724ba675SRob Herring		status = "disabled";
201*724ba675SRob Herring	};
202*724ba675SRob Herring
203*724ba675SRob Herring	pinctrl: pinctrl@f801d000 {
204*724ba675SRob Herring		compatible = "axis,artpec6-pinctrl";
205*724ba675SRob Herring		reg = <0xf801d000 0x400>;
206*724ba675SRob Herring
207*724ba675SRob Herring		pinctrl_uart0: uart0grp {
208*724ba675SRob Herring			function = "uart0";
209*724ba675SRob Herring			groups = "uart0grp2";
210*724ba675SRob Herring			bias-pull-up;
211*724ba675SRob Herring		};
212*724ba675SRob Herring		pinctrl_uart1: uart1grp {
213*724ba675SRob Herring			function = "uart1";
214*724ba675SRob Herring			groups = "uart1grp0";
215*724ba675SRob Herring			bias-pull-up;
216*724ba675SRob Herring		};
217*724ba675SRob Herring		pinctrl_uart2: uart2grp {
218*724ba675SRob Herring			function = "uart2";
219*724ba675SRob Herring			groups = "uart2grp1";
220*724ba675SRob Herring			bias-pull-up;
221*724ba675SRob Herring		};
222*724ba675SRob Herring		pinctrl_uart3: uart3grp {
223*724ba675SRob Herring			function = "uart3";
224*724ba675SRob Herring			groups = "uart3grp0";
225*724ba675SRob Herring			bias-pull-up;
226*724ba675SRob Herring		};
227*724ba675SRob Herring	};
228*724ba675SRob Herring
229*724ba675SRob Herring	amba@0 {
230*724ba675SRob Herring		compatible = "simple-bus";
231*724ba675SRob Herring		#address-cells = <0x1>;
232*724ba675SRob Herring		#size-cells = <0x1>;
233*724ba675SRob Herring		ranges;
234*724ba675SRob Herring		dma-ranges;
235*724ba675SRob Herring
236*724ba675SRob Herring		crypto@f4264000 {
237*724ba675SRob Herring			compatible = "axis,artpec6-crypto";
238*724ba675SRob Herring			reg = <0xf4264000 0x4000>;
239*724ba675SRob Herring			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
240*724ba675SRob Herring		};
241*724ba675SRob Herring
242*724ba675SRob Herring		dma0: dma@f8019000 {
243*724ba675SRob Herring			compatible = "renesas,nbpfaxi64dmac8b16";
244*724ba675SRob Herring			reg = <0xf8019000 0x400>;
245*724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* error */
246*724ba675SRob Herring				     <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
247*724ba675SRob Herring				     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
248*724ba675SRob Herring				     <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
249*724ba675SRob Herring				     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
250*724ba675SRob Herring				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
251*724ba675SRob Herring				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
252*724ba675SRob Herring				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
253*724ba675SRob Herring				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
254*724ba675SRob Herring			interrupt-names = "error",
255*724ba675SRob Herring					  "ch0", "ch1", "ch2", "ch3",
256*724ba675SRob Herring					  "ch4", "ch5", "ch6", "ch7",
257*724ba675SRob Herring					  "ch8", "ch9", "ch10", "ch12",
258*724ba675SRob Herring					  "ch12", "ch13", "ch14", "ch15";
259*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_DMA_ACLK>;
260*724ba675SRob Herring			#dma-cells = <2>;
261*724ba675SRob Herring			dma-channels = <8>;
262*724ba675SRob Herring			dma-requests = <8>;
263*724ba675SRob Herring		};
264*724ba675SRob Herring		dma1: dma@f8019400 {
265*724ba675SRob Herring			compatible = "renesas,nbpfaxi64dmac8b16";
266*724ba675SRob Herring			reg = <0xf8019400 0x400>;
267*724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* error */
268*724ba675SRob Herring				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
269*724ba675SRob Herring				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
270*724ba675SRob Herring				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
271*724ba675SRob Herring				     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
272*724ba675SRob Herring				     <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
273*724ba675SRob Herring				     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
274*724ba675SRob Herring				     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
275*724ba675SRob Herring				     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
276*724ba675SRob Herring			interrupt-names = "error",
277*724ba675SRob Herring					  "ch0", "ch1", "ch2", "ch3",
278*724ba675SRob Herring					  "ch4", "ch5", "ch6", "ch7",
279*724ba675SRob Herring					  "ch8", "ch9", "ch10", "ch12",
280*724ba675SRob Herring					  "ch12", "ch13", "ch14", "ch15";
281*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_DMA_ACLK>;
282*724ba675SRob Herring			#dma-cells = <2>;
283*724ba675SRob Herring			dma-channels = <8>;
284*724ba675SRob Herring			dma-requests = <8>;
285*724ba675SRob Herring		};
286*724ba675SRob Herring
287*724ba675SRob Herring		ethernet: ethernet@f8010000 {
288*724ba675SRob Herring			clock-names = "stmmaceth", "ptp_ref";
289*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_ETH_ACLK>,
290*724ba675SRob Herring				<&clkctrl ARTPEC6_CLK_PTP_REF>;
291*724ba675SRob Herring			compatible = "snps,dwmac-4.10a", "snps,dwmac";
292*724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
293*724ba675SRob Herring				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
294*724ba675SRob Herring			interrupt-names = "macirq", "eth_lpi";
295*724ba675SRob Herring			reg = <0xf8010000 0x4000>;
296*724ba675SRob Herring
297*724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
298*724ba675SRob Herring			snps,mtl-rx-config = <&mtl_rx_setup>;
299*724ba675SRob Herring			snps,mtl-tx-config = <&mtl_tx_setup>;
300*724ba675SRob Herring
301*724ba675SRob Herring			snps,txpbl = <8>;
302*724ba675SRob Herring			snps,rxpbl = <2>;
303*724ba675SRob Herring			snps,aal;
304*724ba675SRob Herring			snps,tso;
305*724ba675SRob Herring
306*724ba675SRob Herring			status = "disabled";
307*724ba675SRob Herring
308*724ba675SRob Herring			stmmac_axi_setup: stmmac-axi-config {
309*724ba675SRob Herring				snps,wr_osr_lmt = <1>;
310*724ba675SRob Herring				snps,rd_osr_lmt = <15>;
311*724ba675SRob Herring				/* If FB is disabled, the AXI master chooses
312*724ba675SRob Herring				 * a burst length of any value less than the
313*724ba675SRob Herring				 * maximum enabled burst length
314*724ba675SRob Herring				 * (all lesser burst length enables are redundant).
315*724ba675SRob Herring				 */
316*724ba675SRob Herring				snps,blen = <0 0 0 0 16 0 0>;
317*724ba675SRob Herring			};
318*724ba675SRob Herring
319*724ba675SRob Herring			mtl_rx_setup: rx-queues-config {
320*724ba675SRob Herring				snps,rx-queues-to-use = <1>;
321*724ba675SRob Herring				queue0 {};
322*724ba675SRob Herring			};
323*724ba675SRob Herring
324*724ba675SRob Herring			mtl_tx_setup: tx-queues-config {
325*724ba675SRob Herring				snps,tx-queues-to-use = <2>;
326*724ba675SRob Herring				queue0 {};
327*724ba675SRob Herring				queue1 {};
328*724ba675SRob Herring			};
329*724ba675SRob Herring		};
330*724ba675SRob Herring
331*724ba675SRob Herring		uart0: serial@f8036000 {
332*724ba675SRob Herring			compatible = "arm,pl011", "arm,primecell";
333*724ba675SRob Herring			reg = <0xf8036000 0x1000>;
334*724ba675SRob Herring			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
335*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
336*724ba675SRob Herring				<&clkctrl ARTPEC6_CLK_UART_PCLK>;
337*724ba675SRob Herring			clock-names = "uart_clk", "apb_pclk";
338*724ba675SRob Herring			pinctrl-names = "default";
339*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart0>;
340*724ba675SRob Herring			dmas = <&dma0 4 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>,
341*724ba675SRob Herring			       <&dma0 5 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>;
342*724ba675SRob Herring			dma-names = "rx", "tx";
343*724ba675SRob Herring			status = "disabled";
344*724ba675SRob Herring		};
345*724ba675SRob Herring		uart1: serial@f8037000 {
346*724ba675SRob Herring			compatible = "arm,pl011", "arm,primecell";
347*724ba675SRob Herring			reg = <0xf8037000 0x1000>;
348*724ba675SRob Herring			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
349*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
350*724ba675SRob Herring				<&clkctrl ARTPEC6_CLK_UART_PCLK>;
351*724ba675SRob Herring			clock-names = "uart_clk", "apb_pclk";
352*724ba675SRob Herring			pinctrl-names = "default";
353*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart1>;
354*724ba675SRob Herring			dmas = <&dma0 6 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>,
355*724ba675SRob Herring			       <&dma0 7 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>;
356*724ba675SRob Herring			dma-names = "rx", "tx";
357*724ba675SRob Herring			status = "disabled";
358*724ba675SRob Herring		};
359*724ba675SRob Herring		uart2: serial@f8038000 {
360*724ba675SRob Herring			compatible = "arm,pl011", "arm,primecell";
361*724ba675SRob Herring			reg = <0xf8038000 0x1000>;
362*724ba675SRob Herring			interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
363*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
364*724ba675SRob Herring				<&clkctrl ARTPEC6_CLK_UART_PCLK>;
365*724ba675SRob Herring			clock-names = "uart_clk", "apb_pclk";
366*724ba675SRob Herring			pinctrl-names = "default";
367*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart2>;
368*724ba675SRob Herring			dmas = <&dma1 0 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>,
369*724ba675SRob Herring			       <&dma1 1 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>;
370*724ba675SRob Herring			dma-names = "rx", "tx";
371*724ba675SRob Herring			status = "disabled";
372*724ba675SRob Herring		};
373*724ba675SRob Herring		uart3: serial@f8039000 {
374*724ba675SRob Herring			compatible = "arm,pl011", "arm,primecell";
375*724ba675SRob Herring			reg = <0xf8039000 0x1000>;
376*724ba675SRob Herring			interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
377*724ba675SRob Herring			clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
378*724ba675SRob Herring				<&clkctrl ARTPEC6_CLK_UART_PCLK>;
379*724ba675SRob Herring			clock-names = "uart_clk", "apb_pclk";
380*724ba675SRob Herring			pinctrl-names = "default";
381*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart3>;
382*724ba675SRob Herring			dmas = <&dma1 2 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>,
383*724ba675SRob Herring			       <&dma1 3 (NBPF_SLAVE_RQ_HIGH | NBPF_SLAVE_RQ_LEVEL)>;
384*724ba675SRob Herring			dma-names = "rx", "tx";
385*724ba675SRob Herring			status = "disabled";
386*724ba675SRob Herring		};
387*724ba675SRob Herring	};
388*724ba675SRob Herring};
389