1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2019 Radxa Limited
5 * Copyright (c) 2019 Amarula Solutions(India)
8 #include <dt-bindings/pwm/pwm.h>
11 clkin_gmac: external-gmac-clock {
12 compatible = "fixed-clock";
13 clock-frequency = <125000000>;
14 clock-output-names = "clkin_gmac";
18 sdio_pwrseq: sdio-pwrseq {
19 compatible = "mmc-pwrseq-simple";
21 clock-names = "ext_clock";
22 pinctrl-names = "default";
23 pinctrl-0 = <&wifi_enable_h>;
26 vcc12v_dcin: vcc12v-dcin-regulator {
27 compatible = "regulator-fixed";
28 regulator-name = "vcc12v_dcin";
31 regulator-min-microvolt = <12000000>;
32 regulator-max-microvolt = <12000000>;
35 vcc5v0_sys: vcc5v0-sys-regulator {
36 compatible = "regulator-fixed";
37 regulator-name = "vcc5v0_sys";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 vin-supply = <&vcc12v_dcin>;
45 vbus_host: vbus-host {
46 compatible = "regulator-fixed";
47 pinctrl-names = "default";
48 pinctrl-0 = <&usb1_en_oc>;
49 regulator-name = "vbus_host"; /* HOST-5V */
51 vin-supply = <&vcc5v0_sys>;
54 vbus_typec: vbus-typec {
55 compatible = "regulator-fixed";
56 pinctrl-names = "default";
57 pinctrl-0 = <&usb0_en_oc>;
58 regulator-name = "vbus_typec";
60 vin-supply = <&vcc5v0_sys>;
65 assigned-clock-parents = <&clkin_gmac>;
66 clock_in_out = "input";
68 pinctrl-names = "default";
69 pinctrl-0 = <&rgmii_pins>;
70 snps,reset-active-low;
71 snps,reset-delays-us = <0 10000 50000>;
93 keep-power-in-suspend;
94 mmc-pwrseq = <&sdio_pwrseq>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
107 vqmmc-supply = <&vccio_sd>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&uart0_xfer &uart0_cts>;