xref: /openbmc/u-boot/arch/arm/dts/rk3xxx.dtsi (revision 4549e789c1d58a8c48e8a20f1b4bdb83e978c954)
1*4549e789STom Rini// SPDX-License-Identifier: GPL-2.0+ OR X11
2a57f2b86SHeiko Stübner/*
3a57f2b86SHeiko Stübner * Copyright (c) 2013 MundoReader S.L.
4a57f2b86SHeiko Stübner * Author: Heiko Stuebner <heiko@sntech.de>
5a57f2b86SHeiko Stübner */
6a57f2b86SHeiko Stübner
7a57f2b86SHeiko Stübner#include <dt-bindings/interrupt-controller/irq.h>
8a57f2b86SHeiko Stübner#include <dt-bindings/interrupt-controller/arm-gic.h>
9a57f2b86SHeiko Stübner#include "skeleton.dtsi"
10a57f2b86SHeiko Stübner
11a57f2b86SHeiko Stübner/ {
12a57f2b86SHeiko Stübner	interrupt-parent = <&gic>;
13a57f2b86SHeiko Stübner
14a57f2b86SHeiko Stübner	aliases {
15a57f2b86SHeiko Stübner		ethernet0 = &emac;
16a57f2b86SHeiko Stübner		i2c0 = &i2c0;
17a57f2b86SHeiko Stübner		i2c1 = &i2c1;
18a57f2b86SHeiko Stübner		i2c2 = &i2c2;
19a57f2b86SHeiko Stübner		i2c3 = &i2c3;
20a57f2b86SHeiko Stübner		i2c4 = &i2c4;
21a57f2b86SHeiko Stübner		mshc0 = &emmc;
22a57f2b86SHeiko Stübner		mshc1 = &mmc0;
23a57f2b86SHeiko Stübner		mshc2 = &mmc1;
24a57f2b86SHeiko Stübner		serial0 = &uart0;
25a57f2b86SHeiko Stübner		serial1 = &uart1;
26a57f2b86SHeiko Stübner		serial2 = &uart2;
27a57f2b86SHeiko Stübner		serial3 = &uart3;
28a57f2b86SHeiko Stübner		spi0 = &spi0;
29a57f2b86SHeiko Stübner		spi1 = &spi1;
30a57f2b86SHeiko Stübner	};
31a57f2b86SHeiko Stübner
32a57f2b86SHeiko Stübner	amba {
33a57f2b86SHeiko Stübner		compatible = "simple-bus";
34a57f2b86SHeiko Stübner		#address-cells = <1>;
35a57f2b86SHeiko Stübner		#size-cells = <1>;
36a57f2b86SHeiko Stübner		ranges;
37a57f2b86SHeiko Stübner
38a57f2b86SHeiko Stübner		dmac1_s: dma-controller@20018000 {
39a57f2b86SHeiko Stübner			compatible = "arm,pl330", "arm,primecell";
40a57f2b86SHeiko Stübner			reg = <0x20018000 0x4000>;
41a57f2b86SHeiko Stübner			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
42a57f2b86SHeiko Stübner				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
43a57f2b86SHeiko Stübner			#dma-cells = <1>;
44a57f2b86SHeiko Stübner			arm,pl330-broken-no-flushp;
45a57f2b86SHeiko Stübner			clocks = <&cru ACLK_DMA1>;
46a57f2b86SHeiko Stübner			clock-names = "apb_pclk";
47a57f2b86SHeiko Stübner		};
48a57f2b86SHeiko Stübner
49a57f2b86SHeiko Stübner		dmac1_ns: dma-controller@2001c000 {
50a57f2b86SHeiko Stübner			compatible = "arm,pl330", "arm,primecell";
51a57f2b86SHeiko Stübner			reg = <0x2001c000 0x4000>;
52a57f2b86SHeiko Stübner			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
53a57f2b86SHeiko Stübner				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
54a57f2b86SHeiko Stübner			#dma-cells = <1>;
55a57f2b86SHeiko Stübner			arm,pl330-broken-no-flushp;
56a57f2b86SHeiko Stübner			clocks = <&cru ACLK_DMA1>;
57a57f2b86SHeiko Stübner			clock-names = "apb_pclk";
58a57f2b86SHeiko Stübner			status = "disabled";
59a57f2b86SHeiko Stübner		};
60a57f2b86SHeiko Stübner
61a57f2b86SHeiko Stübner		dmac2: dma-controller@20078000 {
62a57f2b86SHeiko Stübner			compatible = "arm,pl330", "arm,primecell";
63a57f2b86SHeiko Stübner			reg = <0x20078000 0x4000>;
64a57f2b86SHeiko Stübner			interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
65a57f2b86SHeiko Stübner				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
66a57f2b86SHeiko Stübner			#dma-cells = <1>;
67a57f2b86SHeiko Stübner			arm,pl330-broken-no-flushp;
68a57f2b86SHeiko Stübner			clocks = <&cru ACLK_DMA2>;
69a57f2b86SHeiko Stübner			clock-names = "apb_pclk";
70a57f2b86SHeiko Stübner		};
71a57f2b86SHeiko Stübner	};
72a57f2b86SHeiko Stübner
73a57f2b86SHeiko Stübner	xin24m: oscillator {
74a57f2b86SHeiko Stübner		compatible = "fixed-clock";
75a57f2b86SHeiko Stübner		clock-frequency = <24000000>;
76a57f2b86SHeiko Stübner		#clock-cells = <0>;
77a57f2b86SHeiko Stübner		clock-output-names = "xin24m";
78a57f2b86SHeiko Stübner	};
79a57f2b86SHeiko Stübner
80a57f2b86SHeiko Stübner	L2: l2-cache-controller@10138000 {
81a57f2b86SHeiko Stübner		compatible = "arm,pl310-cache";
82a57f2b86SHeiko Stübner		reg = <0x10138000 0x1000>;
83a57f2b86SHeiko Stübner		cache-unified;
84a57f2b86SHeiko Stübner		cache-level = <2>;
85a57f2b86SHeiko Stübner	};
86a57f2b86SHeiko Stübner
87a57f2b86SHeiko Stübner	scu@1013c000 {
88a57f2b86SHeiko Stübner		compatible = "arm,cortex-a9-scu";
89a57f2b86SHeiko Stübner		reg = <0x1013c000 0x100>;
90a57f2b86SHeiko Stübner	};
91a57f2b86SHeiko Stübner
92a57f2b86SHeiko Stübner	global_timer: global-timer@1013c200 {
93a57f2b86SHeiko Stübner		compatible = "arm,cortex-a9-global-timer";
94a57f2b86SHeiko Stübner		reg = <0x1013c200 0x20>;
95a57f2b86SHeiko Stübner		interrupts = <GIC_PPI 11 0x304>;
96a57f2b86SHeiko Stübner		clocks = <&cru CORE_PERI>;
97a57f2b86SHeiko Stübner	};
98a57f2b86SHeiko Stübner
99a57f2b86SHeiko Stübner	local_timer: local-timer@1013c600 {
100a57f2b86SHeiko Stübner		compatible = "arm,cortex-a9-twd-timer";
101a57f2b86SHeiko Stübner		reg = <0x1013c600 0x20>;
102a57f2b86SHeiko Stübner		interrupts = <GIC_PPI 13 0x304>;
103a57f2b86SHeiko Stübner		clocks = <&cru CORE_PERI>;
104a57f2b86SHeiko Stübner	};
105a57f2b86SHeiko Stübner
106a57f2b86SHeiko Stübner	gic: interrupt-controller@1013d000 {
107a57f2b86SHeiko Stübner		compatible = "arm,cortex-a9-gic";
108a57f2b86SHeiko Stübner		interrupt-controller;
109a57f2b86SHeiko Stübner		#interrupt-cells = <3>;
110a57f2b86SHeiko Stübner		reg = <0x1013d000 0x1000>,
111a57f2b86SHeiko Stübner		      <0x1013c100 0x0100>;
112a57f2b86SHeiko Stübner	};
113a57f2b86SHeiko Stübner
114a57f2b86SHeiko Stübner	uart0: serial@10124000 {
115a57f2b86SHeiko Stübner		compatible = "snps,dw-apb-uart";
116a57f2b86SHeiko Stübner		reg = <0x10124000 0x400>;
117a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
118a57f2b86SHeiko Stübner		reg-shift = <2>;
119a57f2b86SHeiko Stübner		reg-io-width = <1>;
120a57f2b86SHeiko Stübner		clock-names = "baudclk", "apb_pclk";
121a57f2b86SHeiko Stübner		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
122a57f2b86SHeiko Stübner		status = "disabled";
123a57f2b86SHeiko Stübner	};
124a57f2b86SHeiko Stübner
125a57f2b86SHeiko Stübner	uart1: serial@10126000 {
126a57f2b86SHeiko Stübner		compatible = "snps,dw-apb-uart";
127a57f2b86SHeiko Stübner		reg = <0x10126000 0x400>;
128a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
129a57f2b86SHeiko Stübner		reg-shift = <2>;
130a57f2b86SHeiko Stübner		reg-io-width = <1>;
131a57f2b86SHeiko Stübner		clock-names = "baudclk", "apb_pclk";
132a57f2b86SHeiko Stübner		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
133a57f2b86SHeiko Stübner		status = "disabled";
134a57f2b86SHeiko Stübner	};
135a57f2b86SHeiko Stübner
136a57f2b86SHeiko Stübner	noc: syscon@10128000 {
137a57f2b86SHeiko Stübner		u-boot,dm-spl;
138a57f2b86SHeiko Stübner		compatible = "rockchip,rk3188-noc", "syscon";
139a57f2b86SHeiko Stübner		reg = <0x10128000 0x2000>;
140a57f2b86SHeiko Stübner	};
141a57f2b86SHeiko Stübner
142a57f2b86SHeiko Stübner	usb_otg: usb@10180000 {
143a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-usb", "snps,dwc2";
144a57f2b86SHeiko Stübner		reg = <0x10180000 0x40000>;
145a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
146a57f2b86SHeiko Stübner		clocks = <&cru HCLK_OTG0>;
147a57f2b86SHeiko Stübner		clock-names = "otg";
148a57f2b86SHeiko Stübner		dr_mode = "otg";
149a57f2b86SHeiko Stübner		g-np-tx-fifo-size = <16>;
150a57f2b86SHeiko Stübner		g-rx-fifo-size = <275>;
151a57f2b86SHeiko Stübner		g-tx-fifo-size = <256 128 128 64 64 32>;
152a57f2b86SHeiko Stübner		g-use-dma;
153a57f2b86SHeiko Stübner		phys = <&usbphy0>;
154a57f2b86SHeiko Stübner		phy-names = "usb2-phy";
155a57f2b86SHeiko Stübner		status = "disabled";
156a57f2b86SHeiko Stübner	};
157a57f2b86SHeiko Stübner
158a57f2b86SHeiko Stübner	usb_host: usb@101c0000 {
159a57f2b86SHeiko Stübner		compatible = "snps,dwc2";
160a57f2b86SHeiko Stübner		reg = <0x101c0000 0x40000>;
161a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
162a57f2b86SHeiko Stübner		clocks = <&cru HCLK_OTG1>;
163a57f2b86SHeiko Stübner		clock-names = "otg";
164a57f2b86SHeiko Stübner		dr_mode = "host";
165a57f2b86SHeiko Stübner		phys = <&usbphy1>;
166a57f2b86SHeiko Stübner		phy-names = "usb2-phy";
167a57f2b86SHeiko Stübner		status = "disabled";
168a57f2b86SHeiko Stübner	};
169a57f2b86SHeiko Stübner
170a57f2b86SHeiko Stübner	emac: ethernet@10204000 {
171a57f2b86SHeiko Stübner		compatible = "snps,arc-emac";
172a57f2b86SHeiko Stübner		reg = <0x10204000 0x3c>;
173a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
174a57f2b86SHeiko Stübner		#address-cells = <1>;
175a57f2b86SHeiko Stübner		#size-cells = <0>;
176a57f2b86SHeiko Stübner
177a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
178a57f2b86SHeiko Stübner
179a57f2b86SHeiko Stübner		clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>;
180a57f2b86SHeiko Stübner		clock-names = "hclk", "macref";
181a57f2b86SHeiko Stübner		max-speed = <100>;
182a57f2b86SHeiko Stübner		phy-mode = "rmii";
183a57f2b86SHeiko Stübner
184a57f2b86SHeiko Stübner		status = "disabled";
185a57f2b86SHeiko Stübner	};
186a57f2b86SHeiko Stübner
187a57f2b86SHeiko Stübner	mmc0: dwmmc@10214000 {
188a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-dw-mshc";
189a57f2b86SHeiko Stübner		reg = <0x10214000 0x1000>;
190a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
191a57f2b86SHeiko Stübner		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
192a57f2b86SHeiko Stübner		clock-names = "biu", "ciu";
193a57f2b86SHeiko Stübner		fifo-depth = <256>;
194a57f2b86SHeiko Stübner		status = "disabled";
195a57f2b86SHeiko Stübner	};
196a57f2b86SHeiko Stübner
197a57f2b86SHeiko Stübner	mmc1: dwmmc@10218000 {
198a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-dw-mshc";
199a57f2b86SHeiko Stübner		reg = <0x10218000 0x1000>;
200a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
201a57f2b86SHeiko Stübner		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>;
202a57f2b86SHeiko Stübner		clock-names = "biu", "ciu";
203a57f2b86SHeiko Stübner		fifo-depth = <256>;
204a57f2b86SHeiko Stübner		status = "disabled";
205a57f2b86SHeiko Stübner	};
206a57f2b86SHeiko Stübner
207a57f2b86SHeiko Stübner	emmc: dwmmc@1021c000 {
208a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-dw-mshc";
209a57f2b86SHeiko Stübner		reg = <0x1021c000 0x1000>;
210a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
211a57f2b86SHeiko Stübner		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
212a57f2b86SHeiko Stübner		clock-names = "biu", "ciu";
213a57f2b86SHeiko Stübner		fifo-depth = <256>;
214a57f2b86SHeiko Stübner		status = "disabled";
215a57f2b86SHeiko Stübner	};
216a57f2b86SHeiko Stübner
217a57f2b86SHeiko Stübner	pmu: pmu@20004000 {
218a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-pmu", "syscon";
219a57f2b86SHeiko Stübner		reg = <0x20004000 0x100>;
220a57f2b86SHeiko Stübner		u-boot,dm-spl;
221a57f2b86SHeiko Stübner	};
222a57f2b86SHeiko Stübner
223a57f2b86SHeiko Stübner	grf: grf@20008000 {
224a57f2b86SHeiko Stübner		compatible = "syscon";
225a57f2b86SHeiko Stübner		reg = <0x20008000 0x200>;
226a57f2b86SHeiko Stübner		u-boot,dm-spl;
227a57f2b86SHeiko Stübner	};
228a57f2b86SHeiko Stübner
229a57f2b86SHeiko Stübner	dmc: dmc@20020000 {
230a57f2b86SHeiko Stübner		/* unreviewed u-boot-specific binding */
231a57f2b86SHeiko Stübner		compatible = "rockchip,rk3188-dmc", "syscon";
232a57f2b86SHeiko Stübner		rockchip,cru = <&cru>;
233a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
234a57f2b86SHeiko Stübner		rockchip,pmu = <&pmu>;
235a57f2b86SHeiko Stübner		rockchip,noc = <&noc>;
236a57f2b86SHeiko Stübner		reg = <0x20020000 0x3fc
237a57f2b86SHeiko Stübner		       0x20040000 0x294>;
238a57f2b86SHeiko Stübner		clocks = <&cru PCLK_DDRUPCTL>, <&cru PCLK_PUBL>;
239a57f2b86SHeiko Stübner		clock-names = "pclk_ddrupctl", "pclk_publ";
240a57f2b86SHeiko Stübner		u-boot,dm-spl;
241a57f2b86SHeiko Stübner	};
242a57f2b86SHeiko Stübner
243a57f2b86SHeiko Stübner	i2c0: i2c@2002d000 {
244a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-i2c";
245a57f2b86SHeiko Stübner		reg = <0x2002d000 0x1000>;
246a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
247a57f2b86SHeiko Stübner		#address-cells = <1>;
248a57f2b86SHeiko Stübner		#size-cells = <0>;
249a57f2b86SHeiko Stübner
250a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
251a57f2b86SHeiko Stübner
252a57f2b86SHeiko Stübner		clock-names = "i2c";
253a57f2b86SHeiko Stübner		clocks = <&cru PCLK_I2C0>;
254a57f2b86SHeiko Stübner
255a57f2b86SHeiko Stübner		status = "disabled";
256a57f2b86SHeiko Stübner	};
257a57f2b86SHeiko Stübner
258a57f2b86SHeiko Stübner	i2c1: i2c@2002f000 {
259a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-i2c";
260a57f2b86SHeiko Stübner		reg = <0x2002f000 0x1000>;
261a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
262a57f2b86SHeiko Stübner		#address-cells = <1>;
263a57f2b86SHeiko Stübner		#size-cells = <0>;
264a57f2b86SHeiko Stübner
265a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
266a57f2b86SHeiko Stübner
267a57f2b86SHeiko Stübner		clocks = <&cru PCLK_I2C1>;
268a57f2b86SHeiko Stübner		clock-names = "i2c";
269a57f2b86SHeiko Stübner
270a57f2b86SHeiko Stübner		status = "disabled";
271a57f2b86SHeiko Stübner	};
272a57f2b86SHeiko Stübner
273a57f2b86SHeiko Stübner	pwm0: pwm@20030000 {
274a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-pwm";
275a57f2b86SHeiko Stübner		reg = <0x20030000 0x10>;
276a57f2b86SHeiko Stübner		#pwm-cells = <2>;
277a57f2b86SHeiko Stübner		clocks = <&cru PCLK_PWM01>;
278a57f2b86SHeiko Stübner		status = "disabled";
279a57f2b86SHeiko Stübner	};
280a57f2b86SHeiko Stübner
281a57f2b86SHeiko Stübner	pwm1: pwm@20030010 {
282a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-pwm";
283a57f2b86SHeiko Stübner		reg = <0x20030010 0x10>;
284a57f2b86SHeiko Stübner		#pwm-cells = <2>;
285a57f2b86SHeiko Stübner		clocks = <&cru PCLK_PWM01>;
286a57f2b86SHeiko Stübner		status = "disabled";
287a57f2b86SHeiko Stübner	};
288a57f2b86SHeiko Stübner
289a57f2b86SHeiko Stübner	wdt: watchdog@2004c000 {
290a57f2b86SHeiko Stübner		compatible = "snps,dw-wdt";
291a57f2b86SHeiko Stübner		reg = <0x2004c000 0x100>;
292a57f2b86SHeiko Stübner		clocks = <&cru PCLK_WDT>;
293a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
294a57f2b86SHeiko Stübner		status = "disabled";
295a57f2b86SHeiko Stübner	};
296a57f2b86SHeiko Stübner
297a57f2b86SHeiko Stübner	pwm2: pwm@20050020 {
298a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-pwm";
299a57f2b86SHeiko Stübner		reg = <0x20050020 0x10>;
300a57f2b86SHeiko Stübner		#pwm-cells = <2>;
301a57f2b86SHeiko Stübner		clocks = <&cru PCLK_PWM23>;
302a57f2b86SHeiko Stübner		status = "disabled";
303a57f2b86SHeiko Stübner	};
304a57f2b86SHeiko Stübner
305a57f2b86SHeiko Stübner	pwm3: pwm@20050030 {
306a57f2b86SHeiko Stübner		compatible = "rockchip,rk2928-pwm";
307a57f2b86SHeiko Stübner		reg = <0x20050030 0x10>;
308a57f2b86SHeiko Stübner		#pwm-cells = <2>;
309a57f2b86SHeiko Stübner		clocks = <&cru PCLK_PWM23>;
310a57f2b86SHeiko Stübner		status = "disabled";
311a57f2b86SHeiko Stübner	};
312a57f2b86SHeiko Stübner
313a57f2b86SHeiko Stübner	i2c2: i2c@20056000 {
314a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-i2c";
315a57f2b86SHeiko Stübner		reg = <0x20056000 0x1000>;
316a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
317a57f2b86SHeiko Stübner		#address-cells = <1>;
318a57f2b86SHeiko Stübner		#size-cells = <0>;
319a57f2b86SHeiko Stübner
320a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
321a57f2b86SHeiko Stübner
322a57f2b86SHeiko Stübner		clocks = <&cru PCLK_I2C2>;
323a57f2b86SHeiko Stübner		clock-names = "i2c";
324a57f2b86SHeiko Stübner
325a57f2b86SHeiko Stübner		status = "disabled";
326a57f2b86SHeiko Stübner	};
327a57f2b86SHeiko Stübner
328a57f2b86SHeiko Stübner	i2c3: i2c@2005a000 {
329a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-i2c";
330a57f2b86SHeiko Stübner		reg = <0x2005a000 0x1000>;
331a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
332a57f2b86SHeiko Stübner		#address-cells = <1>;
333a57f2b86SHeiko Stübner		#size-cells = <0>;
334a57f2b86SHeiko Stübner
335a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
336a57f2b86SHeiko Stübner
337a57f2b86SHeiko Stübner		clocks = <&cru PCLK_I2C3>;
338a57f2b86SHeiko Stübner		clock-names = "i2c";
339a57f2b86SHeiko Stübner
340a57f2b86SHeiko Stübner		status = "disabled";
341a57f2b86SHeiko Stübner	};
342a57f2b86SHeiko Stübner
343a57f2b86SHeiko Stübner	i2c4: i2c@2005e000 {
344a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-i2c";
345a57f2b86SHeiko Stübner		reg = <0x2005e000 0x1000>;
346a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
347a57f2b86SHeiko Stübner		#address-cells = <1>;
348a57f2b86SHeiko Stübner		#size-cells = <0>;
349a57f2b86SHeiko Stübner
350a57f2b86SHeiko Stübner		rockchip,grf = <&grf>;
351a57f2b86SHeiko Stübner
352a57f2b86SHeiko Stübner		clocks = <&cru PCLK_I2C4>;
353a57f2b86SHeiko Stübner		clock-names = "i2c";
354a57f2b86SHeiko Stübner
355a57f2b86SHeiko Stübner		status = "disabled";
356a57f2b86SHeiko Stübner	};
357a57f2b86SHeiko Stübner
358a57f2b86SHeiko Stübner	uart2: serial@20064000 {
359a57f2b86SHeiko Stübner		compatible = "snps,dw-apb-uart";
360a57f2b86SHeiko Stübner		reg = <0x20064000 0x400>;
361a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
362a57f2b86SHeiko Stübner		reg-shift = <2>;
363a57f2b86SHeiko Stübner		reg-io-width = <1>;
364a57f2b86SHeiko Stübner		clock-frequency = <24000000>;
365a57f2b86SHeiko Stübner		clock-names = "baudclk", "apb_pclk";
366a57f2b86SHeiko Stübner		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
367a57f2b86SHeiko Stübner		status = "disabled";
368a57f2b86SHeiko Stübner	};
369a57f2b86SHeiko Stübner
370a57f2b86SHeiko Stübner	uart3: serial@20068000 {
371a57f2b86SHeiko Stübner		compatible = "snps,dw-apb-uart";
372a57f2b86SHeiko Stübner		reg = <0x20068000 0x400>;
373a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
374a57f2b86SHeiko Stübner		reg-shift = <2>;
375a57f2b86SHeiko Stübner		reg-io-width = <1>;
376a57f2b86SHeiko Stübner		clock-names = "baudclk", "apb_pclk";
377a57f2b86SHeiko Stübner		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
378a57f2b86SHeiko Stübner		status = "disabled";
379a57f2b86SHeiko Stübner	};
380a57f2b86SHeiko Stübner
381a57f2b86SHeiko Stübner	saradc: saradc@2006c000 {
382a57f2b86SHeiko Stübner		compatible = "rockchip,saradc";
383a57f2b86SHeiko Stübner		reg = <0x2006c000 0x100>;
384a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
385a57f2b86SHeiko Stübner		#io-channel-cells = <1>;
386a57f2b86SHeiko Stübner		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
387a57f2b86SHeiko Stübner		clock-names = "saradc", "apb_pclk";
388a57f2b86SHeiko Stübner		status = "disabled";
389a57f2b86SHeiko Stübner	};
390a57f2b86SHeiko Stübner
391a57f2b86SHeiko Stübner	spi0: spi@20070000 {
392a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-spi";
393a57f2b86SHeiko Stübner		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
394a57f2b86SHeiko Stübner		clock-names = "spiclk", "apb_pclk";
395a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
396a57f2b86SHeiko Stübner		reg = <0x20070000 0x1000>;
397a57f2b86SHeiko Stübner		#address-cells = <1>;
398a57f2b86SHeiko Stübner		#size-cells = <0>;
399a57f2b86SHeiko Stübner		dmas = <&dmac2 10>, <&dmac2 11>;
400a57f2b86SHeiko Stübner		dma-names = "tx", "rx";
401a57f2b86SHeiko Stübner		status = "disabled";
402a57f2b86SHeiko Stübner	};
403a57f2b86SHeiko Stübner
404a57f2b86SHeiko Stübner	spi1: spi@20074000 {
405a57f2b86SHeiko Stübner		compatible = "rockchip,rk3066-spi";
406a57f2b86SHeiko Stübner		clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
407a57f2b86SHeiko Stübner		clock-names = "spiclk", "apb_pclk";
408a57f2b86SHeiko Stübner		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
409a57f2b86SHeiko Stübner		reg = <0x20074000 0x1000>;
410a57f2b86SHeiko Stübner		#address-cells = <1>;
411a57f2b86SHeiko Stübner		#size-cells = <0>;
412a57f2b86SHeiko Stübner		dmas = <&dmac2 12>, <&dmac2 13>;
413a57f2b86SHeiko Stübner		dma-names = "tx", "rx";
414a57f2b86SHeiko Stübner		status = "disabled";
415a57f2b86SHeiko Stübner	};
416a57f2b86SHeiko Stübner};
417