Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.17.
  1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2
  3/*
  4 * Copyright (C) 2018 O.S. Systems Software LTDA.
  5 */
  6
  7/dts-v1/;
  8
  9#include "rv1108.dtsi"
 10
 11/ {
 12	model = "Elgin RV1108 R1 board";
 13	compatible = "elgin,rv1108-r1", "rockchip,rv1108";
 14
 15	aliases {
 16		mmc0 = &emmc;
 17	};
 18
 19	memory@60000000 {
 20		device_type = "memory";
 21		reg = <0x60000000 0x08000000>;
 22	};
 23
 24	chosen {
 25		stdout-path = "serial2:1500000n8";
 26	};
 27
 28	vcc_sys: vsys-regulator {
 29		compatible = "regulator-fixed";
 30		regulator-name = "vsys";
 31		regulator-min-microvolt = <5000000>;
 32		regulator-max-microvolt = <5000000>;
 33		regulator-boot-on;
 34	};
 35};
 36
 37&cpu0 {
 38	cpu-supply = <&vdd_core>;
 39};
 40
 41&emmc {
 42	bus-width = <8>;
 43	cap-mmc-highspeed;
 44	no-sd;
 45	no-sdio;
 46	non-removable;
 47	mmc-ddr-1_8v;
 48	mmc-hs200-1_8v;
 49	pinctrl-names = "default";
 50	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
 51	status = "okay";
 52};
 53
 54&gmac {
 55	clock_in_out = "output";
 56	pinctrl-names = "default";
 57	pinctrl-0 = <&rmii_pins>;
 58	snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>;
 59	snps,reset-active-low;
 60	status = "okay";
 61};
 62
 63&i2c0 {
 64	clock-frequency = <400000>;
 65	i2c-scl-rising-time-ns = <275>;
 66	i2c-scl-falling-time-ns = <16>;
 67	status = "okay";
 68
 69	rk805: pmic@18 {
 70		compatible = "rockchip,rk805";
 71		reg = <0x18>;
 72		interrupt-parent = <&gpio0>;
 73		interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>;
 74		rockchip,system-power-controller;
 75
 76		vcc1-supply = <&vcc_sys>;
 77		vcc2-supply = <&vcc_sys>;
 78		vcc3-supply = <&vcc_sys>;
 79		vcc4-supply = <&vcc_sys>;
 80		vcc5-supply = <&vdd_buck2>;
 81		vcc6-supply = <&vdd_buck2>;
 82
 83		regulators {
 84			vdd_core: DCDC_REG1 {
 85				regulator-name= "vdd_core";
 86				regulator-min-microvolt = <700000>;
 87				regulator-max-microvolt = <1500000>;
 88				regulator-always-on;
 89				regulator-boot-on;
 90				regulator-state-mem {
 91					regulator-on-in-suspend;
 92					regulator-suspend-microvolt = <900000>;
 93				};
 94			};
 95
 96			vdd_buck2: DCDC_REG2 {
 97				regulator-name= "vdd_buck2";
 98				regulator-min-microvolt = <2200000>;
 99				regulator-max-microvolt = <2200000>;
100				regulator-always-on;
101				regulator-boot-on;
102				regulator-state-mem {
103					regulator-off-in-suspend;
104				};
105			};
106
107			vcc_ddr: DCDC_REG3 {
108				regulator-name= "vcc_ddr";
109				regulator-always-on;
110				regulator-boot-on;
111				regulator-state-mem {
112					regulator-on-in-suspend;
113				};
114			};
115
116			vcc_io: DCDC_REG4 {
117				regulator-name= "vcc_io";
118				regulator-min-microvolt = <3300000>;
119				regulator-max-microvolt = <3300000>;
120				regulator-always-on;
121				regulator-boot-on;
122				regulator-state-mem {
123					regulator-on-in-suspend;
124					regulator-suspend-microvolt = <3300000>;
125				};
126			};
127
128			vdd_10: LDO_REG1 {
129				regulator-name= "vdd_10";
130				regulator-min-microvolt = <1000000>;
131				regulator-max-microvolt = <1000000>;
132				regulator-always-on;
133				regulator-boot-on;
134				regulator-state-mem {
135					regulator-off-in-suspend;
136				};
137			};
138
139			vcc_18: LDO_REG2 {
140				regulator-name= "vcc_18";
141				regulator-min-microvolt = <1800000>;
142				regulator-max-microvolt = <1800000>;
143				regulator-always-on;
144				regulator-boot-on;
145				regulator-state-mem {
146					regulator-off-in-suspend;
147				};
148			};
149
150			vdd10_pmu: LDO_REG3 {
151				regulator-name= "vdd10_pmu";
152				regulator-min-microvolt = <1000000>;
153				regulator-max-microvolt = <1000000>;
154				regulator-always-on;
155				regulator-boot-on;
156				regulator-state-mem {
157					regulator-on-in-suspend;
158					regulator-suspend-microvolt = <1000000>;
159				};
160			};
161		};
162	};
163};
164
165&spi {
166	pinctrl-names = "default";
167	pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
168	status = "okay";
169
170	dh2228fv: dac@0 {
171		compatible = "rohm,dh2228fv";
172		reg = <0>;
173		spi-max-frequency = <24000000>;
174		spi-cpha;
175		spi-cpol;
176	};
177};
178
179&u2phy {
180	status = "okay";
181
182	u2phy_host: host-port {
183		status = "okay";
184	};
185
186	u2phy_otg: otg-port {
187		status = "okay";
188	};
189};
190
191&uart0 {
192	pinctrl-names = "default";
193	pinctrl-0 = <&uart0_xfer>;
194	status = "okay";
195};
196
197&uart2 {
198	status = "okay";
199};
200
201&usb_host_ehci {
202	status = "okay";
203};
204
205&usb_host_ohci {
206	status = "okay";
207};
208
209&usb_otg {
210	status = "okay";
211};