xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rv1108-elgin-r1.dts (revision 3fd6c59042dbba50391e30862beac979491145fe)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring/*
4724ba675SRob Herring * Copyright (C) 2018 O.S. Systems Software LTDA.
5724ba675SRob Herring */
6724ba675SRob Herring
7724ba675SRob Herring/dts-v1/;
8724ba675SRob Herring
9724ba675SRob Herring#include "rv1108.dtsi"
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	model = "Elgin RV1108 R1 board";
13724ba675SRob Herring	compatible = "elgin,rv1108-r1", "rockchip,rv1108";
14724ba675SRob Herring
15724ba675SRob Herring	aliases {
16724ba675SRob Herring		mmc0 = &emmc;
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	memory@60000000 {
20724ba675SRob Herring		device_type = "memory";
21724ba675SRob Herring		reg = <0x60000000 0x08000000>;
22724ba675SRob Herring	};
23724ba675SRob Herring
24724ba675SRob Herring	chosen {
25724ba675SRob Herring		stdout-path = "serial2:1500000n8";
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	vcc_sys: regulator-vsys {
29724ba675SRob Herring		compatible = "regulator-fixed";
30724ba675SRob Herring		regulator-name = "vsys";
31724ba675SRob Herring		regulator-min-microvolt = <5000000>;
32724ba675SRob Herring		regulator-max-microvolt = <5000000>;
33724ba675SRob Herring		regulator-boot-on;
34724ba675SRob Herring	};
35724ba675SRob Herring};
36724ba675SRob Herring
37724ba675SRob Herring&cpu0 {
38724ba675SRob Herring	cpu-supply = <&vdd_core>;
39724ba675SRob Herring};
40724ba675SRob Herring
41724ba675SRob Herring&emmc {
42724ba675SRob Herring	bus-width = <8>;
43724ba675SRob Herring	cap-mmc-highspeed;
44724ba675SRob Herring	no-sd;
45724ba675SRob Herring	no-sdio;
46724ba675SRob Herring	non-removable;
47724ba675SRob Herring	mmc-ddr-1_8v;
48724ba675SRob Herring	mmc-hs200-1_8v;
49724ba675SRob Herring	pinctrl-names = "default";
50724ba675SRob Herring	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
51724ba675SRob Herring	status = "okay";
52724ba675SRob Herring};
53724ba675SRob Herring
54724ba675SRob Herring&gmac {
55724ba675SRob Herring	clock_in_out = "output";
56724ba675SRob Herring	pinctrl-names = "default";
57724ba675SRob Herring	pinctrl-0 = <&rmii_pins>;
58724ba675SRob Herring	snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>;
59724ba675SRob Herring	snps,reset-active-low;
60724ba675SRob Herring	status = "okay";
61724ba675SRob Herring};
62724ba675SRob Herring
63724ba675SRob Herring&i2c0 {
64724ba675SRob Herring	clock-frequency = <400000>;
65724ba675SRob Herring	i2c-scl-rising-time-ns = <275>;
66724ba675SRob Herring	i2c-scl-falling-time-ns = <16>;
67724ba675SRob Herring	status = "okay";
68724ba675SRob Herring
69724ba675SRob Herring	rk805: pmic@18 {
70724ba675SRob Herring		compatible = "rockchip,rk805";
71724ba675SRob Herring		reg = <0x18>;
72724ba675SRob Herring		interrupt-parent = <&gpio0>;
73724ba675SRob Herring		interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
74724ba675SRob Herring		rockchip,system-power-controller;
75724ba675SRob Herring		#clock-cells = <0>;
76724ba675SRob Herring
77724ba675SRob Herring		vcc1-supply = <&vcc_sys>;
78724ba675SRob Herring		vcc2-supply = <&vcc_sys>;
79724ba675SRob Herring		vcc3-supply = <&vcc_sys>;
80724ba675SRob Herring		vcc4-supply = <&vcc_sys>;
81724ba675SRob Herring		vcc5-supply = <&vdd_buck2>;
82724ba675SRob Herring		vcc6-supply = <&vdd_buck2>;
83724ba675SRob Herring
84724ba675SRob Herring		regulators {
85724ba675SRob Herring			vdd_core: DCDC_REG1 {
86724ba675SRob Herring				regulator-name = "vdd_core";
87724ba675SRob Herring				regulator-min-microvolt = <700000>;
88724ba675SRob Herring				regulator-max-microvolt = <1500000>;
89724ba675SRob Herring				regulator-always-on;
90724ba675SRob Herring				regulator-boot-on;
91724ba675SRob Herring				regulator-state-mem {
92724ba675SRob Herring					regulator-on-in-suspend;
93724ba675SRob Herring					regulator-suspend-microvolt = <900000>;
94724ba675SRob Herring				};
95724ba675SRob Herring			};
96724ba675SRob Herring
97724ba675SRob Herring			vdd_buck2: DCDC_REG2 {
98724ba675SRob Herring				regulator-name = "vdd_buck2";
99724ba675SRob Herring				regulator-min-microvolt = <2200000>;
100724ba675SRob Herring				regulator-max-microvolt = <2200000>;
101724ba675SRob Herring				regulator-always-on;
102724ba675SRob Herring				regulator-boot-on;
103724ba675SRob Herring				regulator-state-mem {
104724ba675SRob Herring					regulator-off-in-suspend;
105724ba675SRob Herring				};
106724ba675SRob Herring			};
107724ba675SRob Herring
108724ba675SRob Herring			vcc_ddr: DCDC_REG3 {
109724ba675SRob Herring				regulator-name = "vcc_ddr";
110724ba675SRob Herring				regulator-always-on;
111724ba675SRob Herring				regulator-boot-on;
112724ba675SRob Herring				regulator-state-mem {
113724ba675SRob Herring					regulator-on-in-suspend;
114724ba675SRob Herring				};
115724ba675SRob Herring			};
116724ba675SRob Herring
117724ba675SRob Herring			vcc_io: DCDC_REG4 {
118724ba675SRob Herring				regulator-name = "vcc_io";
119724ba675SRob Herring				regulator-min-microvolt = <3300000>;
120724ba675SRob Herring				regulator-max-microvolt = <3300000>;
121724ba675SRob Herring				regulator-always-on;
122724ba675SRob Herring				regulator-boot-on;
123724ba675SRob Herring				regulator-state-mem {
124724ba675SRob Herring					regulator-on-in-suspend;
125724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
126724ba675SRob Herring				};
127724ba675SRob Herring			};
128724ba675SRob Herring
129724ba675SRob Herring			vdd_10: LDO_REG1 {
130724ba675SRob Herring				regulator-name = "vdd_10";
131724ba675SRob Herring				regulator-min-microvolt = <1000000>;
132724ba675SRob Herring				regulator-max-microvolt = <1000000>;
133724ba675SRob Herring				regulator-always-on;
134724ba675SRob Herring				regulator-boot-on;
135724ba675SRob Herring				regulator-state-mem {
136724ba675SRob Herring					regulator-off-in-suspend;
137724ba675SRob Herring				};
138724ba675SRob Herring			};
139724ba675SRob Herring
140724ba675SRob Herring			vcc_18: LDO_REG2 {
141724ba675SRob Herring				regulator-name = "vcc_18";
142724ba675SRob Herring				regulator-min-microvolt = <1800000>;
143724ba675SRob Herring				regulator-max-microvolt = <1800000>;
144724ba675SRob Herring				regulator-always-on;
145724ba675SRob Herring				regulator-boot-on;
146724ba675SRob Herring				regulator-state-mem {
147724ba675SRob Herring					regulator-off-in-suspend;
148724ba675SRob Herring				};
149724ba675SRob Herring			};
150724ba675SRob Herring
151724ba675SRob Herring			vdd10_pmu: LDO_REG3 {
152724ba675SRob Herring				regulator-name = "vdd10_pmu";
153724ba675SRob Herring				regulator-min-microvolt = <1000000>;
154724ba675SRob Herring				regulator-max-microvolt = <1000000>;
155724ba675SRob Herring				regulator-always-on;
156724ba675SRob Herring				regulator-boot-on;
157724ba675SRob Herring				regulator-state-mem {
158724ba675SRob Herring					regulator-on-in-suspend;
159724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
160724ba675SRob Herring				};
161724ba675SRob Herring			};
162724ba675SRob Herring		};
163724ba675SRob Herring	};
164724ba675SRob Herring};
165724ba675SRob Herring
166724ba675SRob Herring&spi {
167724ba675SRob Herring	pinctrl-names = "default";
168724ba675SRob Herring	pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
169724ba675SRob Herring	status = "okay";
170724ba675SRob Herring
171*0296f20cSFabio Estevam	display: display@0 {
172*0296f20cSFabio Estevam		compatible = "elgin,jg10309-01";
173724ba675SRob Herring		reg = <0>;
174724ba675SRob Herring		spi-max-frequency = <24000000>;
175724ba675SRob Herring		spi-cpha;
176724ba675SRob Herring		spi-cpol;
177724ba675SRob Herring	};
178724ba675SRob Herring};
179724ba675SRob Herring
180724ba675SRob Herring&u2phy {
181724ba675SRob Herring	status = "okay";
182724ba675SRob Herring
183724ba675SRob Herring	u2phy_host: host-port {
184724ba675SRob Herring		status = "okay";
185724ba675SRob Herring	};
186724ba675SRob Herring
187724ba675SRob Herring	u2phy_otg: otg-port {
188724ba675SRob Herring		status = "okay";
189724ba675SRob Herring	};
190724ba675SRob Herring};
191724ba675SRob Herring
192724ba675SRob Herring&uart0 {
193724ba675SRob Herring	pinctrl-names = "default";
194724ba675SRob Herring	pinctrl-0 = <&uart0_xfer>;
195724ba675SRob Herring	status = "okay";
196724ba675SRob Herring};
197724ba675SRob Herring
198724ba675SRob Herring&uart2 {
199724ba675SRob Herring	status = "okay";
200724ba675SRob Herring};
201724ba675SRob Herring
202724ba675SRob Herring&usb_host_ehci {
203724ba675SRob Herring	status = "okay";
204724ba675SRob Herring};
205724ba675SRob Herring
206724ba675SRob Herring&usb_host_ohci {
207724ba675SRob Herring	status = "okay";
208724ba675SRob Herring};
209724ba675SRob Herring
210724ba675SRob Herring&usb_otg {
211724ba675SRob Herring	status = "okay";
212724ba675SRob Herring};
213