1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
12 compatible = "sdk,sdk-rk3036", "rockchip,rk3036";
18 vcc5v0_otg: vcc5v0-otg-drv {
19 compatible = "regulator-fixed";
20 regulator-name = "vcc5v0_otg";
21 gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&otg_vbus_drv>;
24 regulator-min-microvolt = <5000000>;
25 regulator-max-microvolt = <5000000>;
28 vcc5v0_host: vcc5v0-host-drv {
29 compatible = "regulator-fixed";
30 regulator-name = "vcc5v0_host";
31 gpio = <&gpio2 23 GPIO_ACTIVE_HIGH>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&host_vbus_drv>;
34 regulator-min-microvolt = <5000000>;
35 regulator-max-microvolt = <5000000>;
44 compatible = "haoyu,hym8563";
47 clock-frequency = <32768>;
48 clock-output-names = "xin32k";
53 vbus-supply = <&vcc5v0_host>;
58 vbus-supply = <&vcc5v0_otg>;
64 otg_vbus_drv: host-vbus-drv {
65 rockchip,pins = <0 26 RK_FUNC_GPIO &pcfg_pull_none>;
70 host_vbus_drv: host-vbus-drv {
71 rockchip,pins = <2 23 RK_FUNC_GPIO &pcfg_pull_none>;