Linux Audio

Check our new training course

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