Add new MVEBU usb controller nodes to CuBox dts overlay to show
how it should be included upstream.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: barebox@lists.infradead.org
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Andrew Lunn <and...@lunn.ch>
Cc: Gregory Clement <gregory.clem...@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezequiel Garcia <ezequiel.gar...@free-electrons.com>
---
 arch/arm/dts/dove-cubox-bb.dts | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/arm/dts/dove-cubox-bb.dts b/arch/arm/dts/dove-cubox-bb.dts
index f7ad55c4e794..65d19c057bab 100644
--- a/arch/arm/dts/dove-cubox-bb.dts
+++ b/arch/arm/dts/dove-cubox-bb.dts
@@ -15,4 +15,46 @@
                        barebox,default-trigger = "heartbeat";
                };
        };
+
+       mbus {
+               internal-regs {
+                       usb0: usb@50000 {
+                               compatible = "marvell,mvebu-usb";
+                               reg = <0x50000 0x400>;
+                               interrupts = <24>;
+                               clocks = <&gate_clk 0>;
+                               usb-phy = <&usb_phy0>;
+                               vbus-supply = <&usb_power>;
+                               dr_mode = "host";
+                               status = "okay";
+                       };
+
+                       usb_phy0: phy@50400 {
+                               compatible = "marvell,mvebu-usb-phy-65nm";
+                               reg = <0x50400 0x100>;
+                               clocks = <&gate_clk 0>;
+                               #phy-cells = <0>;
+                               status = "okay";
+                       };
+
+                       usb1: usb@51000 {
+                               compatible = "marvell,mvebu-usb";
+                               reg = <0x51000 0x400>;
+                               interrupts = <25>;
+                               clocks = <&gate_clk 1>;
+                               usb-phy = <&usb_phy1>;
+                               vbus-supply = <&usb_power>;
+                               dr_mode = "host";
+                               status = "okay";
+                       };
+
+                       usb_phy1: phy@51400 {
+                               compatible = "marvell,mvebu-usb-phy-65nm";
+                               reg = <0x51400 0x100>;
+                               clocks = <&gate_clk 1>;
+                               #phy-cells = <0>;
+                               status = "okay";
+                       };
+               };
+       };
 };
-- 
2.0.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to