]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm: mvebu: enable the third USB interface on OpenBlocks AX3
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 May 2013 16:07:24 +0000 (18:07 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 20 May 2013 17:50:34 +0000 (17:50 +0000)
Besides the two "classic" USB interfaces with normal USB ports on the
front side, the PlatHome OpenBlocks AX3 uses the third USB interface
of the Marvell SoC in the mini-PCIe connector. This allows certain
mini-PCIe cards to expose parts of their functionality as a USB
peripheral.

This commit enables this third USB interface in the OpenBlocks AX3
Device Tree, and also adds comments on top of the two other USB
interfaces so that the Device Tree makes it clear which USB interface
at the SoC level matches which USB interface visible on the board.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Atsushi Yamagata <yamagata@plathome.co.jp>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

index f14d36c4615984399b71c36e920ed84be96fcb74..60a79e7c2d1649976a6c6f2b9393ca596e7e1746 100644 (file)
                                nr-ports = <2>;
                                status = "okay";
                        };
+
+                       /* Front side USB 0 */
                        usb@50000 {
                                status = "okay";
                        };
+
+                       /* Front side USB 1 */
                        usb@51000 {
                                status = "okay";
                        };
 
+                       /* USB interface in the mini-PCIe connector */
+                       usb@52000 {
+                               status = "okay";
+                       };
+
                        devbus-bootcs@10400 {
                                status = "okay";
                                ranges = <0 0xf0000000 0x8000000>; /* @addr 0xf000000, size 0x8000000 */