2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-11-28 08:04:15 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2017 Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "rk3128.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Rockchip RK3128 Evaluation board";
|
|
|
|
compatible = "rockchip,rk3128-evb", "rockchip,rk3128";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = &uart2;
|
|
|
|
};
|
|
|
|
|
2022-09-09 20:19:24 +00:00
|
|
|
memory@60000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x60000000 0x40000000>;
|
|
|
|
};
|
|
|
|
|
2017-11-28 08:04:15 +00:00
|
|
|
vcc5v0_otg: vcc5v0-otg-drv {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc5v0_otg";
|
|
|
|
gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&otg_vbus_drv>;
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc5v0_host: vcc5v0-host-drv {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc5v0_host";
|
|
|
|
gpio = <&gpio2 23 GPIO_ACTIVE_HIGH>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&host_vbus_drv>;
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-09-09 20:19:06 +00:00
|
|
|
&emmc {
|
|
|
|
fifo-mode;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-11-28 08:04:15 +00:00
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
hym8563: hym8563@51 {
|
|
|
|
compatible = "haoyu,hym8563";
|
|
|
|
reg = <0x51>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
clock-output-names = "xin32k";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&u2phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&u2phy_otg {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&u2phy_host {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_host_ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_host_ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_otg {
|
|
|
|
vbus-supply = <&vcc5v0_otg>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
usb_otg {
|
|
|
|
otg_vbus_drv: host-vbus-drv {
|
2022-09-09 20:18:55 +00:00
|
|
|
rockchip,pins = <0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-11-28 08:04:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_host {
|
|
|
|
host_vbus_drv: host-vbus-drv {
|
2022-09-09 20:18:55 +00:00
|
|
|
rockchip,pins = <2 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
|
2017-11-28 08:04:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|