1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Engicam srl
4 * Copyright (c) 2020 Amarula Solutions
5 * Copyright (c) 2020 Amarula Solutions(India)
6 */
7
8/ {
9	vcc5v0_sys: vcc5v0-sys {
10		compatible = "regulator-fixed";
11		regulator-name = "vcc5v0_sys";	/* +5V */
12		regulator-always-on;
13		regulator-boot-on;
14		regulator-min-microvolt = <5000000>;
15		regulator-max-microvolt = <5000000>;
16	};
17};
18
19&gmac {
20	clock_in_out = "output";
21	phy-supply = <&vcc_3v3>;	/* +3V3_SOM */
22	snps,reset-active-low;
23	snps,reset-delays-us = <0 50000 50000>;
24	snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
25	status = "okay";
26};
27
28&sdmmc {
29	cap-sd-highspeed;
30	card-detect-delay = <800>;
31	vmmc-supply = <&vcc_3v3>;	/* +3V3_SOM */
32	vqmmc-supply = <&vcc_3v3>;
33	status = "okay";
34};
35
36&u2phy {
37	status = "okay";
38
39	u2phy_host: host-port {
40		status = "okay";
41	};
42
43	u2phy_otg: otg-port {
44		status = "okay";
45	};
46};
47
48&uart2 {
49	pinctrl-0 = <&uart2m1_xfer>;
50	status = "okay";
51};
52
53&usb20_otg {
54	status = "okay";
55};
56
57&usb_host0_ehci {
58	status = "okay";
59};
60
61&usb_host0_ohci {
62	status = "okay";
63};
64