]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun5i: Enable otg on the mk802
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 Jun 2016 18:47:00 +0000 (20:47 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 4 Jul 2016 19:18:09 +0000 (21:18 +0200)
Enable the otg controller, the id pin is not connected so enable
it in peripheral only mode.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s-mk802.dts

index 46ff9407826df08827e09e6c69846f914017b1ba..0bb57553fe742da088b206baf2de127fcd70cbc0 100644 (file)
        status = "okay";
 };
 
+&otg_sram {
+       status = "okay";
+};
+
 &pio {
        led_pins_mk802: led_pins@0 {
                allwinner,pins = "PB2";
        status = "okay";
 };
 
+&usb_otg {
+       dr_mode = "peripheral";
+       status = "okay";
+};
+
 &usbphy {
        usb1_vbus-supply = <&reg_usb1_vbus>;
        status = "okay";