]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91/dt: sam9n12ek: ohci: add port and vbus property
authorBo Shen <voice.shen@atmel.com>
Wed, 27 Aug 2014 09:52:49 +0000 (17:52 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 1 Sep 2014 09:50:33 +0000 (11:50 +0200)
Add the port number and vbus property for ohci port, or else if
bootloader won't configure the vbus pin, the 5v supply is not
power on, so can not work with usb devices.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91sam9n12ek.dts

index 83d723711ae1c07efd4a663780d5b6baa2cb12f6..13bb24ea971a1461862de9bd87275ce95986ef32 100644 (file)
                };
 
                usb0: ohci@00500000 {
+                       num-ports = <1>;
+                       atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
                        status = "okay";
                };
        };