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 / rk3229-xms6.dts
blob263393ac4fa635d5a950429263b2d457fe5ab07f
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/input/input.h>
6 #include "rk3229.dtsi"
8 / {
9         model = "Mecer Xtreme Mini S6";
10         compatible = "mecer,xms6", "rockchip,rk3229";
12         memory@60000000 {
13                 device_type = "memory";
14                 reg = <0x60000000 0x40000000>;
15         };
17         dc_12v: dc-12v-regulator {
18                 compatible = "regulator-fixed";
19                 regulator-name = "dc_12v";
20                 regulator-always-on;
21                 regulator-boot-on;
22                 regulator-min-microvolt = <12000000>;
23                 regulator-max-microvolt = <12000000>;
24         };
26         ext_gmac: ext_gmac {
27                 compatible = "fixed-clock";
28                 clock-frequency = <125000000>;
29                 clock-output-names = "ext_gmac";
30                 #clock-cells = <0>;
31         };
33         power-led {
34                 compatible = "gpio-leds";
36                 blue_led: led-0 {
37                         gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
38                         default-state = "on";
39                 };
40         };
42         sdio_pwrseq: sdio-pwrseq {
43                 compatible = "mmc-pwrseq-simple";
44                 reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
45                               <&gpio2 29 GPIO_ACTIVE_LOW>;
46         };
48         vcc_host: vcc-host-regulator {
49                 compatible = "regulator-fixed";
50                 enable-active-high;
51                 gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
52                 pinctrl-names = "default";
53                 pinctrl-0 = <&host_vbus_drv>;
54                 regulator-name = "vcc_host";
55                 regulator-always-on;
56                 regulator-boot-on;
57                 vin-supply = <&vcc_sys>;
58         };
60         vcc_phy: vcc-phy-regulator {
61                 compatible = "regulator-fixed";
62                 enable-active-high;
63                 regulator-name = "vcc_phy";
64                 regulator-min-microvolt = <1800000>;
65                 regulator-max-microvolt = <1800000>;
66                 regulator-always-on;
67                 regulator-boot-on;
68                 vin-supply = <&vccio_1v8>;
69         };
71         vcc_sys: vcc-sys-regulator {
72                 compatible = "regulator-fixed";
73                 regulator-name = "vcc_sys";
74                 regulator-always-on;
75                 regulator-boot-on;
76                 regulator-min-microvolt = <5000000>;
77                 regulator-max-microvolt = <5000000>;
78                 vin-supply = <&dc_12v>;
79         };
81         vccio_1v8: vccio-1v8-regulator {
82                 compatible = "regulator-fixed";
83                 regulator-name = "vccio_1v8";
84                 regulator-min-microvolt = <1800000>;
85                 regulator-max-microvolt = <1800000>;
86                 regulator-always-on;
87                 vin-supply = <&vcc_sys>;
88         };
90         vccio_3v3: vccio-3v3-regulator {
91                 compatible = "regulator-fixed";
92                 regulator-name = "vccio_3v3";
93                 regulator-min-microvolt = <3300000>;
94                 regulator-max-microvolt = <3300000>;
95                 regulator-always-on;
96                 vin-supply = <&vcc_sys>;
97         };
99         vdd_arm: vdd-arm-regulator {
100                 compatible = "pwm-regulator";
101                 pwms = <&pwm1 0 25000 1>;
102                 pwm-supply = <&vcc_sys>;
103                 regulator-name = "vdd_arm";
104                 regulator-min-microvolt = <950000>;
105                 regulator-max-microvolt = <1400000>;
106                 regulator-always-on;
107                 regulator-boot-on;
108         };
110         vdd_log: vdd-log-regulator {
111                 compatible = "pwm-regulator";
112                 pwms = <&pwm2 0 25000 1>;
113                 pwm-supply = <&vcc_sys>;
114                 regulator-name = "vdd_log";
115                 regulator-min-microvolt = <1000000>;
116                 regulator-max-microvolt = <1300000>;
117                 regulator-always-on;
118                 regulator-boot-on;
119         };
122 &cpu0 {
123         cpu-supply = <&vdd_arm>;
126 &cpu1 {
127         cpu-supply = <&vdd_arm>;
130 &cpu2 {
131         cpu-supply = <&vdd_arm>;
134 &cpu3 {
135         cpu-supply = <&vdd_arm>;
138 &emmc {
139         cap-mmc-highspeed;
140         non-removable;
141         status = "okay";
144 &gmac {
145         assigned-clocks = <&cru SCLK_MAC_SRC>;
146         assigned-clock-rates = <50000000>;
147         clock_in_out = "output";
148         phy-handle = <&phy>;
149         phy-mode = "rmii";
150         phy-supply = <&vcc_phy>;
151         status = "okay";
153         mdio {
154                 compatible = "snps,dwmac-mdio";
155                 #address-cells = <1>;
156                 #size-cells = <0>;
158                 phy: ethernet-phy@0 {
159                         compatible = "ethernet-phy-id1234.d400",
160                                      "ethernet-phy-ieee802.3-c22";
161                         reg = <0>;
162                         clocks = <&cru SCLK_MAC_PHY>;
163                         phy-is-integrated;
164                         resets = <&cru SRST_MACPHY>;
165                 };
166         };
169 &gpu {
170         mali-supply = <&vdd_log>;
171         status = "okay";
174 &hdmi {
175         status = "okay";
178 &hdmi_phy {
179         status = "okay";
182 &iep_mmu {
183         status = "okay";
186 &io_domains {
187         status = "okay";
189         vccio1-supply = <&vccio_3v3>;
190         vccio2-supply = <&vccio_1v8>;
191         vccio4-supply = <&vccio_3v3>;
194 &pinctrl {
195         usb {
196                 host_vbus_drv: host-vbus-drv {
197                         rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
198                 };
199         };
202 &pwm1 {
203         status = "okay";
206 &pwm2 {
207         status = "okay";
210 &sdio {
211         bus-width = <4>;
212         cap-sd-highspeed;
213         cap-sdio-irq;
214         mmc-pwrseq = <&sdio_pwrseq>;
215         non-removable;
216         vqmmc-supply = <&vccio_1v8>;
217         status = "okay";
220 &sdmmc {
221         cap-mmc-highspeed;
222         disable-wp;
223         status = "okay";
226 &tsadc {
227         rockchip,hw-tshut-mode = <0>;
228         status = "okay";
231 &u2phy0 {
232         status = "okay";
234         u2phy0_host: host-port {
235                 phy-supply = <&vcc_host>;
236                 status = "okay";
237         };
239         u2phy0_otg: otg-port {
240                 phy-supply = <&vcc_host>;
241                 status = "okay";
242         };
245 &u2phy1 {
246         status = "okay";
248         u2phy1_host: host-port {
249                 phy-supply = <&vcc_host>;
250                 status = "okay";
251         };
253         u2phy1_otg: otg-port {
254                 phy-supply = <&vcc_host>;
255                 status = "okay";
256         };
259 &uart2 {
260         pinctrl-0 = <&uart21_xfer>;
261         status = "okay";
264 &usb_host0_ehci {
265         status = "okay";
268 &usb_host0_ohci {
269         status = "okay";
272 &usb_host1_ehci {
273         status = "okay";
276 &usb_host1_ohci {
277         status = "okay";
280 &usb_host2_ehci {
281         status = "okay";
284 &usb_host2_ohci {
285         status = "okay";
288 &usb_otg {
289         status = "okay";
292 &vop {
293         status = "okay";
296 &vop_mmu {
297         status = "okay";