From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 28 Jan 2012 14:35:36 +0000 (+0800) Subject: ARM: at91: sam9g20 udc add dt support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0f5c4b996a740c3849d657b11b390bba07374415;p=linux-beck.git ARM: at91: sam9g20 udc add dt support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi index f091d679bd4c..92f36627e7f8 100644 --- a/arch/arm/boot/dts/at91sam9g20.dtsi +++ b/arch/arm/boot/dts/at91sam9g20.dtsi @@ -191,6 +191,13 @@ interrupts = <21 4>; status = "disabled"; }; + + usb1: gadget@fffa4000 { + compatible = "atmel,at91rm9200-udc"; + reg = <0xfffa4000 0x4000>; + interrupts = <10 4>; + status = "disabled"; + }; }; nand0: nand@40000000 { diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts index 748d4c2f889f..3b3c4e0fa79f 100644 --- a/arch/arm/boot/dts/usb_a9g20.dts +++ b/arch/arm/boot/dts/usb_a9g20.dts @@ -41,6 +41,11 @@ phy-mode = "rmii"; status = "okay"; }; + + usb1: gadget@fffa4000 { + atmel,vbus-gpio = <&pioC 5 0>; + status = "okay"; + }; }; nand0: nand@40000000 {