[PATCH RFC 3/4] ARM: dts: add new USB nodes to Dove CuBox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx>
---
Cc: barebox@xxxxxxxxxxxxxxxxxxx
Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
Cc: Andrew Lunn <andrew@xxxxxxx>
Cc: Gregory Clement <gregory.clement@xxxxxxxxxxxxxxxxxx>
Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux