Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / rv1108-elgin-r1.dts
blobb1db924710c80e1dcdd1d20f33fc5fcb0f0e1d8d
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /*
4  * Copyright (C) 2018 O.S. Systems Software LTDA.
5  */
7 /dts-v1/;
9 #include "rv1108.dtsi"
11 / {
12         model = "Elgin RV1108 R1 board";
13         compatible = "elgin,rv1108-r1", "rockchip,rv1108";
15         memory@60000000 {
16                 device_type = "memory";
17                 reg = <0x60000000 0x08000000>;
18         };
20         chosen {
21                 stdout-path = "serial2:1500000n8";
22         };
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         };
33 &cpu0 {
34         cpu-supply = <&vdd_core>;
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";
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";
59 &i2c0 {
60         clock-frequency = <400000>;
61         i2c-scl-rising-time-ns = <275>;
62         i2c-scl-falling-time-ns = <16>;
63         status = "okay";
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;
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>;
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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         };
161 &spi {
162         pinctrl-names = "default";
163         pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
164         status = "okay";
166         dh2228fv: dac@0 {
167                 compatible = "rohm,dh2228fv";
168                 reg = <0>;
169                 spi-max-frequency = <24000000>;
170                 spi-cpha;
171                 spi-cpol;
172         };
175 &u2phy {
176         status = "okay";
178         u2phy_host: host-port {
179                 status = "okay";
180         };
182         u2phy_otg: otg-port {
183                 status = "okay";
184         };
187 &uart0 {
188         pinctrl-names = "default";
189         pinctrl-0 = <&uart0_xfer>;
190         status = "okay";
193 &uart2 {
194         status = "okay";
197 &usb_host_ehci {
198         status = "okay";
201 &usb_host_ohci {
202         status = "okay";
205 &usb_otg {
206         status = "okay";