1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * (C) Copyright 2017 Rockchip Electronics Co., Ltd 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot#include "rk3128.dtsi" 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "Rockchip RK3128 Evaluation board"; 12*f126890aSEmmanuel Vadot compatible = "rockchip,rk3128-evb", "rockchip,rk3128"; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot aliases { 15*f126890aSEmmanuel Vadot mmc0 = &emmc; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot chosen { 19*f126890aSEmmanuel Vadot stdout-path = &uart2; 20*f126890aSEmmanuel Vadot }; 21*f126890aSEmmanuel Vadot 22*f126890aSEmmanuel Vadot memory@60000000 { 23*f126890aSEmmanuel Vadot device_type = "memory"; 24*f126890aSEmmanuel Vadot reg = <0x60000000 0x40000000>; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot vcc5v0_otg: vcc5v0-otg-regulator { 28*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 29*f126890aSEmmanuel Vadot gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>; 30*f126890aSEmmanuel Vadot pinctrl-names = "default"; 31*f126890aSEmmanuel Vadot pinctrl-0 = <&otg_vbus_drv>; 32*f126890aSEmmanuel Vadot regulator-name = "vcc5v0_otg"; 33*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 34*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot vcc5v0_host: vcc5v0-host-regulator { 38*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 39*f126890aSEmmanuel Vadot gpio = <&gpio2 23 GPIO_ACTIVE_HIGH>; 40*f126890aSEmmanuel Vadot pinctrl-names = "default"; 41*f126890aSEmmanuel Vadot pinctrl-0 = <&host_vbus_drv>; 42*f126890aSEmmanuel Vadot regulator-name = "vcc5v0_host"; 43*f126890aSEmmanuel Vadot regulator-always-on; 44*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 45*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot}; 48*f126890aSEmmanuel Vadot 49*f126890aSEmmanuel Vadot&emmc { 50*f126890aSEmmanuel Vadot bus-width = <8>; 51*f126890aSEmmanuel Vadot pinctrl-names = "default"; 52*f126890aSEmmanuel Vadot pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 53*f126890aSEmmanuel Vadot status = "okay"; 54*f126890aSEmmanuel Vadot}; 55*f126890aSEmmanuel Vadot 56*f126890aSEmmanuel Vadot&i2c1 { 57*f126890aSEmmanuel Vadot status = "okay"; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot hym8563: rtc@51 { 60*f126890aSEmmanuel Vadot compatible = "haoyu,hym8563"; 61*f126890aSEmmanuel Vadot reg = <0x51>; 62*f126890aSEmmanuel Vadot #clock-cells = <0>; 63*f126890aSEmmanuel Vadot clock-output-names = "xin32k"; 64*f126890aSEmmanuel Vadot }; 65*f126890aSEmmanuel Vadot}; 66*f126890aSEmmanuel Vadot 67*f126890aSEmmanuel Vadot&usb2phy { 68*f126890aSEmmanuel Vadot status = "okay"; 69*f126890aSEmmanuel Vadot}; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot&usb2phy_host { 72*f126890aSEmmanuel Vadot status = "okay"; 73*f126890aSEmmanuel Vadot}; 74*f126890aSEmmanuel Vadot 75*f126890aSEmmanuel Vadot&usb2phy_otg { 76*f126890aSEmmanuel Vadot status = "okay"; 77*f126890aSEmmanuel Vadot}; 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot&usb_host_ehci { 80*f126890aSEmmanuel Vadot status = "okay"; 81*f126890aSEmmanuel Vadot}; 82*f126890aSEmmanuel Vadot 83*f126890aSEmmanuel Vadot&usb_host_ohci { 84*f126890aSEmmanuel Vadot status = "okay"; 85*f126890aSEmmanuel Vadot}; 86*f126890aSEmmanuel Vadot 87*f126890aSEmmanuel Vadot&usb_otg { 88*f126890aSEmmanuel Vadot vbus-supply = <&vcc5v0_otg>; 89*f126890aSEmmanuel Vadot status = "okay"; 90*f126890aSEmmanuel Vadot}; 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot&pinctrl { 93*f126890aSEmmanuel Vadot usb-host { 94*f126890aSEmmanuel Vadot host_vbus_drv: host-vbus-drv { 95*f126890aSEmmanuel Vadot rockchip,pins = <2 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot usb-otg { 100*f126890aSEmmanuel Vadot otg_vbus_drv: otg-vbus-drv { 101*f126890aSEmmanuel Vadot rockchip,pins = <0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot}; 105