Merge git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / arch / arm / dts / rv1108-evb.dts
index 0128dd8b1d73d81dc75cab3058716b952a48ceea..c91776bc106eb355f81f060de203f81bcde7eecf 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 /dts-v1/;
        chosen {
                stdout-path = "serial2:1500000n8";
        };
+
+       vcc5v0_otg: vcc5v0-otg-drv {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               regulator-name = "vcc5v0_otg";
+               gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+       };
 };
 
 &gmac {
        snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>;
 };
 
+&saradc {
+       status = "okay";
+};
+
 &sfc {
        status = "okay";
        flash@0 {
-               compatible = "gd25q256","spi-flash";
+               compatible = "gd25q256","jedec,spi-nor";
                reg = <0>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <1>;
 &uart2 {
        status = "okay";
 };
+
+&usb20_otg {
+       vbus-supply = <&vcc5v0_otg>;
+       status = "okay";
+};
+
+&usb_host_ehci {
+       status = "okay";
+};
+
+&usb_host_ohci {
+       status = "okay";
+};