Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2bb806f authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Arnd Bergmann
Browse files

arm: mvebu: Add support for USB host controllers in Armada 370/XP



The Armada 370 and Armada XP SoC has an Orion EHCI USB controller.
This patch adds support for this controller in Armada 370
and Armada XP SoC common device tree files.

Cc: Lior Amsalem <alior@marvell.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tested-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 4ca73962
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -145,6 +145,21 @@
			clocks = <&gateclk 17>;
			status = "disabled";
		};

		usb@d0050000 {
			compatible = "marvell,orion-ehci";
			reg = <0xd0050000 0x500>;
			interrupts = <45>;
			status = "disabled";
		};

		usb@d0051000 {
			compatible = "marvell,orion-ehci";
			reg = <0xd0051000 0x500>;
			interrupts = <46>;
			status = "disabled";
		};

	};
};
+9 −0
Original line number Diff line number Diff line
@@ -144,5 +144,14 @@
				dmacap,memset;
			};
		};

		usb@d0050000 {
			clocks = <&coreclk 0>;
		};

		usb@d0051000 {
			clocks = <&coreclk 0>;
		};

	};
};
+17 −0
Original line number Diff line number Diff line
@@ -134,5 +134,22 @@
				dmacap,memset;
			};
		};

		usb@d0050000 {
			clocks = <&gateclk 18>;
		};

		usb@d0051000 {
			clocks = <&gateclk 19>;
		};

		usb@d0052000 {
			compatible = "marvell,orion-ehci";
			reg = <0xd0052000 0x500>;
			interrupts = <47>;
			clocks = <&gateclk 20>;
			status = "disabled";
		};

	};
};