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&pwm0 {
29	status = "okay";
30};
31
32&sdmmc {
33	cap-sd-highspeed;
34	card-detect-delay = <800>;
35	vmmc-supply = <&vcc_3v3>;	/* +3V3_SOM */
36	vqmmc-supply = <&vcc_3v3>;
37	status = "okay";
38};
39
40&u2phy {
41	status = "okay";
42
43	u2phy_host: host-port {
44		status = "okay";
45	};
46
47	u2phy_otg: otg-port {
48		status = "okay";
49	};
50};
51
52&uart2 {
53	pinctrl-0 = <&uart2m1_xfer>;
54	status = "okay";
55};
56
57&usb20_otg {
58	status = "okay";
59};
60
61&usb_host0_ehci {
62	status = "okay";
63};
64
65&usb_host0_ohci {
66	status = "okay";
67};
68