ARM: at91: sam9g20 udc add dt support
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 28 Jan 2012 14:35:36 +0000 (22:35 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 15 Mar 2012 16:41:00 +0000 (00:41 +0800)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/usb_a9g20.dts

index f091d679bd4cbf4cef4a51e2af2cecb8a238f464..92f36627e7f8a3414ba87f020b051b5c283b69eb 100644 (file)
                                interrupts = <21 4>;
                                status = "disabled";
                        };
+
+                       usb1: gadget@fffa4000 {
+                               compatible = "atmel,at91rm9200-udc";
+                               reg = <0xfffa4000 0x4000>;
+                               interrupts = <10 4>;
+                               status = "disabled";
+                       };
                };
 
                nand0: nand@40000000 {
index 748d4c2f889f65cde3e4928f3721546d005c4cba..3b3c4e0fa79f8429df9efafc2a97942e997e3331 100644 (file)
                                phy-mode = "rmii";
                                status = "okay";
                        };
+
+                       usb1: gadget@fffa4000 {
+                               atmel,vbus-gpio = <&pioC 5 0>;
+                               status = "okay";
+                       };
                };
 
                nand0: nand@40000000 {