xref: /rk3399_rockchip-uboot/arch/arm/dts/rv1108-evb.dts (revision f42a70b193dddf6bc9f746e341ff90ee1dec7701)
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	compatible = "rockchip,rksfc";
49	status = "okay";
50};
51
52&u2phy {
53	status = "okay";
54};
55
56&u2phy_otg {
57	status = "okay";
58};
59
60&u2phy_host {
61	status = "okay";
62};
63
64&uart0 {
65	status = "okay";
66};
67
68&uart1 {
69	status = "okay";
70};
71
72&uart2 {
73	status = "okay";
74};
75
76&usb20_otg {
77	vbus-supply = <&vcc5v0_otg>;
78	status = "okay";
79};
80
81&usb_host_ehci {
82	status = "okay";
83};
84
85&usb_host_ohci {
86	status = "okay";
87};
88
89&i2c0 {
90	i2c-scl-rising-time-ns = <275>;
91	i2c-scl-falling-time-ns = <16>;
92	clock-frequency = <200000>;
93	nack-retry = <1>;
94	status = "okay";
95
96	rk805: pmic@18 {
97		compatible = "rockchip,rk805";
98		status = "okay";
99		reg = <0x18>;
100		interrupt-parent = <&gpio1>;
101		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
102		pinctrl-names = "default";
103		pinctrl-0 = <&pmic_int_l>;
104		rockchip,system-power-controller;
105		wakeup-source;
106		gpio-controller;
107		#gpio-cells = <2>;
108		#clock-cells = <1>;
109		clock-output-names = "xin32k", "rk805-clkout2";
110
111		pwrkey {
112			status = "okay";
113		};
114
115		regulators {
116			vdd_arm: DCDC_REG1 {
117				regulator-name = "vdd_arm";
118				regulator-min-microvolt = <712500>;
119				regulator-max-microvolt = <1450000>;
120				regulator-ramp-delay = <6001>;
121				regulator-boot-on;
122				regulator-always-on;
123				regulator-state-mem {
124					regulator-on-in-suspend;
125					regulator-suspend-microvolt = <1000000>;
126				};
127			};
128
129			vdd_cam: DCDC_REG2 {
130				regulator-name = "vdd_cam";
131				regulator-min-microvolt = <712500>;
132				regulator-max-microvolt = <2000000>;
133				regulator-ramp-delay = <6001>;
134				regulator-boot-on;
135				regulator-always-on;
136				regulator-state-mem {
137					regulator-on-in-suspend;
138					regulator-suspend-microvolt = <2000000>;
139				};
140			};
141
142			vcc_ddr: DCDC_REG3 {
143				regulator-name = "vcc_ddr";
144				regulator-boot-on;
145				regulator-always-on;
146				regulator-state-mem {
147					regulator-on-in-suspend;
148				};
149			};
150
151			vcc_io: DCDC_REG4 {
152				regulator-name = "vcc_io";
153				regulator-min-microvolt = <3300000>;
154				regulator-max-microvolt = <3300000>;
155				regulator-boot-on;
156				regulator-always-on;
157				regulator-state-mem {
158					regulator-on-in-suspend;
159					regulator-suspend-microvolt = <3300000>;
160				};
161			};
162
163			vdd_10: LDO_REG1 {
164				regulator-name = "vdd_10";
165				regulator-min-microvolt = <1000000>;
166				regulator-max-microvolt = <1000000>;
167				regulator-boot-on;
168				regulator-always-on;
169				regulator-state-mem {
170					regulator-on-in-suspend;
171					regulator-suspend-microvolt = <1000000>;
172				};
173			};
174
175			vcc_18emmc: LDO_REG2 {
176				regulator-name = "vcc_18emmc";
177				regulator-min-microvolt = <1800000>;
178				regulator-max-microvolt = <1800000>;
179				regulator-boot-on;
180				regulator-always-on;
181				regulator-state-mem {
182					regulator-on-in-suspend;
183					regulator-suspend-microvolt = <1800000>;
184				};
185			};
186
187			vdd_10_pmu: LDO_REG3 {
188				regulator-name = "vdd_10_pmu";
189				regulator-min-microvolt = <1000000>;
190				regulator-max-microvolt = <1000000>;
191				regulator-boot-on;
192				regulator-always-on;
193				regulator-state-mem {
194					regulator-on-in-suspend;
195					regulator-suspend-microvolt = <1000000>;
196				};
197			};
198		};
199	};
200};
201
202&pinctrl {
203	pmic {
204		pmic_int_l: pmic-int-l {
205		rockchip,pins =
206			<0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
207		};
208	};
209};
210