[PATCH RFC 4/4] ARM: dts: add new USB nodes to Armada 370 Mirabox
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Wed Jun 25 07:08:48 PDT 2014
Add new MVEBU usb controller nodes to Mirabox dts overlay to show
how it should be included upstream.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
---
Cc: barebox at lists.infradead.org
Cc: Jason Cooper <jason at lakedaemon.net>
Cc: Andrew Lunn <andrew at lunn.ch>
Cc: Gregory Clement <gregory.clement at free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
---
arch/arm/dts/armada-370-mirabox-bb.dts | 35 ++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/dts/armada-370-mirabox-bb.dts b/arch/arm/dts/armada-370-mirabox-bb.dts
index de37a75bb960..a1a5d48aefb2 100644
--- a/arch/arm/dts/armada-370-mirabox-bb.dts
+++ b/arch/arm/dts/armada-370-mirabox-bb.dts
@@ -20,6 +20,41 @@
barebox,default-trigger = "heartbeat";
};
};
+
+ /* USB 2.0 Hub + uSD USB controllers */
+ usb0: usb at 50000 {
+ compatible = "marvell,mvebu-usb";
+ reg = <0x50000 0x400>;
+ interrupts = <45>;
+ clocks = <&coreclk 0>;
+ usb-phy = <&usb_phy 0>;
+ dr_mode = "host";
+ status = "okay";
+ };
+
+ usb_phy: phy at 50800 {
+ compatible = "marvell,mvebu-usb-phy-40nm";
+ reg = <0x50800 0x100>;
+ clocks = <&coreclk 0>;
+ #phy-cells = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ port at 0 { reg = <0>; };
+ port at 1 { reg = <1>; };
+ };
+
+ /* mini-PCIe slot */
+ usb1: usb at 51000 {
+ compatible = "marvell,mvebu-usb";
+ reg = <0x51000 0x400>;
+ interrupts = <46>;
+ clocks = <&coreclk 0>;
+ usb-phy = <&usb_phy 1>;
+ dr_mode = "host";
+ status = "okay";
+ };
};
};
};
--
2.0.0
More information about the barebox
mailing list