]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: berlin: add BG2CD nodes for USB support
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 17 Nov 2014 13:35:46 +0000 (14:35 +0100)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 18 Nov 2014 19:33:55 +0000 (20:33 +0100)
Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD
SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role
capable.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/boot/dts/berlin2cd.dtsi

index 9e338ff80fd3335c6152c5507af60ccb5cc560dc..230df3b1770e7d2f7476b9cc49d31a7071a784c7 100644 (file)
                        clocks = <&chip CLKID_TWD>;
                };
 
+               usb_phy0: usb-phy@b74000 {
+                       compatible = "marvell,berlin2cd-usb-phy";
+                       reg = <0xb74000 0x128>;
+                       #phy-cells = <0>;
+                       resets = <&chip 0x178 23>;
+                       status = "disabled";
+               };
+
+               usb_phy1: usb-phy@b78000 {
+                       compatible = "marvell,berlin2cd-usb-phy";
+                       reg = <0xb78000 0x128>;
+                       #phy-cells = <0>;
+                       resets = <&chip 0x178 24>;
+                       status = "disabled";
+               };
+
                eth1: ethernet@b90000 {
                        compatible = "marvell,pxa168-eth";
                        reg = <0xb90000 0x10000>;
                        };
                };
 
+               usb0: usb@ed0000 {
+                       compatible = "chipidea,usb2";
+                       reg = <0xed0000 0x200>;
+                       interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&chip CLKID_USB0>;
+                       phys = <&usb_phy0>;
+                       phy-names = "usb-phy";
+                       status = "disabled";
+               };
+
+               usb1: usb@ee0000 {
+                       compatible = "chipidea,usb2";
+                       reg = <0xee0000 0x200>;
+                       interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&chip CLKID_USB1>;
+                       phys = <&usb_phy1>;
+                       phy-names = "usb-phy";
+                       status = "disabled";
+               };
+
                apb@fc0000 {
                        compatible = "simple-bus";
                        #address-cells = <1>;