Commit d6d0cef5 authored by Linus Walleij's avatar Linus Walleij

ARM: dts: Add the FOTG210 USB host to Gemini boards

This adds the FOTG210 USB host controller to the Gemini
device trees. In the main SoC DTSI it is flagged as disabled
and then it is selectively enabled on the devices that utilize
it.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d88b11ef
......@@ -452,5 +452,13 @@ display_out: endpoint {
};
};
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -204,5 +204,13 @@ ata@63000000 {
ata@63400000 {
status = "okay";
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -124,5 +124,25 @@ ethernet-port@1 {
/* Not used in this platform */
};
};
ethernet@60000000 {
status = "okay";
ethernet-port@0 {
phy-mode = "rgmii";
phy-handle = <&phy0>;
};
ethernet-port@1 {
/* Not used in this platform */
};
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -324,5 +324,13 @@ ata@63000000 {
ata@63400000 {
status = "okay";
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -292,5 +292,13 @@ fixed-link {
ata@63000000 {
status = "okay";
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -171,5 +171,13 @@ ethernet-port@1 {
/* Not used in this platform */
};
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -183,5 +183,13 @@ ethernet-port@1 {
phy-handle = <&phy1>;
};
};
usb@68000000 {
status = "okay";
};
usb@69000000 {
status = "okay";
};
};
};
......@@ -409,5 +409,37 @@ display-controller@6a000000 {
#size-cells = <0>;
status = "disabled";
};
usb@68000000 {
compatible = "cortina,gemini-usb", "faraday,fotg210";
reg = <0x68000000 0x1000>;
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
resets = <&syscon GEMINI_RESET_USB0>;
clocks = <&syscon GEMINI_CLK_GATE_USB0>;
clock-names = "PCLK";
/*
* This will claim pins for USB0 and USB1 at the same
* time as they are using some common pins. If you for
* some reason have a system using USB1 at 96000000 but
* NOT using USB0 at 68000000 you wll have to add the
* usb_default_pins to the USB controller at 96000000
* in your .dts for the board.
*/
pinctrl-names = "default";
pinctrl-0 = <&usb_default_pins>;
syscon = <&syscon>;
status = "disabled";
};
usb@69000000 {
compatible = "cortina,gemini-usb", "faraday,fotg210";
reg = <0x69000000 0x1000>;
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
resets = <&syscon GEMINI_RESET_USB1>;
clocks = <&syscon GEMINI_CLK_GATE_USB1>;
clock-names = "PCLK";
syscon = <&syscon>;
status = "disabled";
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment