xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1108-evb.dts (revision 2fe2ebad16a535161c9a2bd560ba1bf2ddddfdf5)
1/*
2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier:     GPL-2.0+
5 */
6
7/dts-v1/;
8
9#include "rv1108.dtsi"
10#include "rv1108-sdram-ddr3-400.dtsi"
11
12/ {
13	model = "Rockchip RV1108 Evaluation board";
14	compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
15
16	memory@60000000 {
17		device_type = "memory";
18		reg = <0x60000000 0x08000000>;
19	};
20
21	chosen {
22		stdout-path = "serial2:1500000n8";
23	};
24
25	vcc5v0_otg: vcc5v0-otg-drv {
26		compatible = "regulator-fixed";
27		enable-active-high;
28		regulator-name = "vcc5v0_otg";
29		gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
30		regulator-min-microvolt = <5000000>;
31		regulator-max-microvolt = <5000000>;
32	};
33};
34
35&gmac {
36	status = "okay";
37	clock_in_out = <0>;
38	snps,reset-active-low;
39	snps,reset-delays-us = <0 10000 1000000>;
40	snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>;
41};
42
43&saradc {
44	status = "okay";
45};
46
47&sfc {
48	status = "okay";
49	flash@0 {
50		compatible = "gd25q256","spi-flash";
51		reg = <0>;
52		spi-tx-bus-width = <1>;
53		spi-rx-bus-width = <4>;
54		spi-max-frequency = <96000000>;
55	};
56};
57
58&u2phy {
59	status = "okay";
60};
61
62&u2phy_otg {
63	status = "okay";
64};
65
66&u2phy_host {
67	status = "okay";
68};
69
70&uart0 {
71	status = "okay";
72};
73
74&uart1 {
75	status = "okay";
76};
77
78&uart2 {
79	status = "okay";
80};
81
82&usb20_otg {
83	vbus-supply = <&vcc5v0_otg>;
84	status = "okay";
85};
86
87&usb_host_ehci {
88	status = "okay";
89};
90
91&usb_host_ohci {
92	status = "okay";
93};
94
95&i2c0 {
96	i2c-scl-rising-time-ns = <275>;
97	i2c-scl-falling-time-ns = <16>;
98	clock-frequency = <200000>;
99	nack-retry = <1>;
100	status = "okay";
101
102	rk805: pmic@18 {
103		compatible = "rockchip,rk805";
104		status = "okay";
105		reg = <0x18>;
106		interrupt-parent = <&gpio1>;
107		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
108		pinctrl-names = "default";
109		pinctrl-0 = <&pmic_int_l>;
110		rockchip,system-power-controller;
111		wakeup-source;
112		gpio-controller;
113		#gpio-cells = <2>;
114		#clock-cells = <1>;
115		clock-output-names = "xin32k", "rk805-clkout2";
116
117		pwrkey {
118			status = "okay";
119		};
120
121		regulators {
122			vdd_arm: DCDC_REG1 {
123				regulator-name = "vdd_arm";
124				regulator-min-microvolt = <712500>;
125				regulator-max-microvolt = <1450000>;
126				regulator-ramp-delay = <6001>;
127				regulator-boot-on;
128				regulator-always-on;
129				regulator-state-mem {
130					regulator-on-in-suspend;
131					regulator-suspend-microvolt = <1000000>;
132				};
133			};
134
135			vdd_cam: DCDC_REG2 {
136				regulator-name = "vdd_cam";
137				regulator-min-microvolt = <712500>;
138				regulator-max-microvolt = <2000000>;
139				regulator-ramp-delay = <6001>;
140				regulator-boot-on;
141				regulator-always-on;
142				regulator-state-mem {
143					regulator-on-in-suspend;
144					regulator-suspend-microvolt = <2000000>;
145				};
146			};
147
148			vcc_ddr: DCDC_REG3 {
149				regulator-name = "vcc_ddr";
150				regulator-boot-on;
151				regulator-always-on;
152				regulator-state-mem {
153					regulator-on-in-suspend;
154				};
155			};
156
157			vcc_io: DCDC_REG4 {
158				regulator-name = "vcc_io";
159				regulator-min-microvolt = <3300000>;
160				regulator-max-microvolt = <3300000>;
161				regulator-boot-on;
162				regulator-always-on;
163				regulator-state-mem {
164					regulator-on-in-suspend;
165					regulator-suspend-microvolt = <3300000>;
166				};
167			};
168
169			vdd_10: LDO_REG1 {
170				regulator-name = "vdd_10";
171				regulator-min-microvolt = <1000000>;
172				regulator-max-microvolt = <1000000>;
173				regulator-boot-on;
174				regulator-always-on;
175				regulator-state-mem {
176					regulator-on-in-suspend;
177					regulator-suspend-microvolt = <1000000>;
178				};
179			};
180
181			vcc_18emmc: LDO_REG2 {
182				regulator-name = "vcc_18emmc";
183				regulator-min-microvolt = <1800000>;
184				regulator-max-microvolt = <1800000>;
185				regulator-boot-on;
186				regulator-always-on;
187				regulator-state-mem {
188					regulator-on-in-suspend;
189					regulator-suspend-microvolt = <1800000>;
190				};
191			};
192
193			vdd_10_pmu: LDO_REG3 {
194				regulator-name = "vdd_10_pmu";
195				regulator-min-microvolt = <1000000>;
196				regulator-max-microvolt = <1000000>;
197				regulator-boot-on;
198				regulator-always-on;
199				regulator-state-mem {
200					regulator-on-in-suspend;
201					regulator-suspend-microvolt = <1000000>;
202				};
203			};
204		};
205	};
206};
207
208&pinctrl {
209	pmic {
210		pmic_int_l: pmic-int-l {
211		rockchip,pins =
212			<0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
213		};
214	};
215};
216