2013-02-12 23:24:15 +00:00
|
|
|
Samsung Exynos SoC USB controller
|
|
|
|
|
|
|
|
The USB devices interface with USB controllers on Exynos SOCs.
|
|
|
|
The device node has following properties.
|
|
|
|
|
|
|
|
EHCI
|
|
|
|
Required properties:
|
|
|
|
- compatible: should be "samsung,exynos4210-ehci" for USB 2.0
|
|
|
|
EHCI controller in host mode.
|
|
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
|
|
region.
|
|
|
|
- interrupts: interrupt number to the cpu.
|
2013-04-04 06:12:22 +00:00
|
|
|
- clocks: from common clock binding: handle to usb clock.
|
|
|
|
- clock-names: from common clock binding: Shall be "usbhost".
|
2019-07-26 08:14:51 +00:00
|
|
|
- phys: from the *Generic PHY* bindings; array specifying phy(s) used
|
|
|
|
by the root port.
|
|
|
|
- phy-names: from the *Generic PHY* bindings; array of the names for
|
|
|
|
each phy for the root ports, must be a subset of the following:
|
|
|
|
"host", "hsic0", "hsic1".
|
2013-02-12 23:24:15 +00:00
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- samsung,vbus-gpio: if present, specifies the GPIO that
|
|
|
|
needs to be pulled up for the bus to be powered.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
usb@12110000 {
|
|
|
|
compatible = "samsung,exynos4210-ehci";
|
|
|
|
reg = <0x12110000 0x100>;
|
|
|
|
interrupts = <0 71 0>;
|
|
|
|
samsung,vbus-gpio = <&gpx2 6 1 3 3>;
|
2013-04-04 06:12:22 +00:00
|
|
|
|
|
|
|
clocks = <&clock 285>;
|
|
|
|
clock-names = "usbhost";
|
2014-05-05 05:02:28 +00:00
|
|
|
|
2019-07-26 08:14:51 +00:00
|
|
|
phys = <&usb2phy 1>;
|
|
|
|
phy-names = "host";
|
2013-02-12 23:24:15 +00:00
|
|
|
};
|
2013-02-12 23:24:19 +00:00
|
|
|
|
|
|
|
OHCI
|
|
|
|
Required properties:
|
|
|
|
- compatible: should be "samsung,exynos4210-ohci" for USB 2.0
|
|
|
|
OHCI companion controller in host mode.
|
|
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
|
|
region.
|
|
|
|
- interrupts: interrupt number to the cpu.
|
2013-04-04 06:12:22 +00:00
|
|
|
- clocks: from common clock binding: handle to usb clock.
|
|
|
|
- clock-names: from common clock binding: Shall be "usbhost".
|
2019-07-26 08:14:51 +00:00
|
|
|
- phys: from the *Generic PHY* bindings; array specifying phy(s) used
|
|
|
|
by the root port.
|
|
|
|
- phy-names: from the *Generic PHY* bindings; array of the names for
|
|
|
|
each phy for the root ports, must be a subset of the following:
|
|
|
|
"host", "hsic0", "hsic1".
|
2013-02-12 23:24:19 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
usb@12120000 {
|
|
|
|
compatible = "samsung,exynos4210-ohci";
|
|
|
|
reg = <0x12120000 0x100>;
|
|
|
|
interrupts = <0 71 0>;
|
2013-04-04 06:12:22 +00:00
|
|
|
|
|
|
|
clocks = <&clock 285>;
|
|
|
|
clock-names = "usbhost";
|
2014-05-05 05:02:57 +00:00
|
|
|
|
2019-07-26 08:14:51 +00:00
|
|
|
phys = <&usb2phy 1>;
|
|
|
|
phy-names = "host";
|
2013-02-12 23:24:19 +00:00
|
|
|
};
|
2013-04-10 10:37:52 +00:00
|
|
|
|
|
|
|
DWC3
|
|
|
|
Required properties:
|
2014-11-21 13:35:47 +00:00
|
|
|
- compatible: should be one of the following -
|
|
|
|
"samsung,exynos5250-dwusb3": for USB 3.0 DWC3 controller on
|
|
|
|
Exynos5250/5420.
|
2018-09-18 08:16:52 +00:00
|
|
|
"samsung,exynos5433-dwusb3": for USB 3.0 DWC3 controller on
|
|
|
|
Exynos5433.
|
2014-11-21 13:35:47 +00:00
|
|
|
"samsung,exynos7-dwusb3": for USB 3.0 DWC3 controller on Exynos7.
|
2013-04-10 10:37:52 +00:00
|
|
|
- #address-cells, #size-cells : should be '1' if the device has sub-nodes
|
|
|
|
with 'reg' property.
|
|
|
|
- ranges: allows valid 1:1 translation between child's address space and
|
|
|
|
parent's address space
|
|
|
|
- clocks: Clock IDs array as required by the controller.
|
2020-02-10 14:04:16 +00:00
|
|
|
- clock-names: Names of clocks corresponding to IDs in the clock property.
|
|
|
|
Following clock names shall be provided for different
|
|
|
|
compatibles:
|
|
|
|
- samsung,exynos5250-dwusb3: "usbdrd30",
|
|
|
|
- samsung,exynos5433-dwusb3: "aclk", "susp_clk", "pipe_pclk",
|
|
|
|
"phyclk",
|
|
|
|
- samsung,exynos7-dwusb3: "usbdrd30", "usbdrd30_susp_clk",
|
|
|
|
"usbdrd30_axius_clk"
|
2017-06-13 16:29:25 +00:00
|
|
|
- vdd10-supply: 1.0V powr supply
|
|
|
|
- vdd33-supply: 3.0V/3.3V power supply
|
2013-04-10 10:37:52 +00:00
|
|
|
|
|
|
|
Sub-nodes:
|
|
|
|
The dwc3 core should be added as subnode to Exynos dwc3 glue.
|
|
|
|
- dwc3 :
|
|
|
|
The binding details of dwc3 can be found in:
|
2021-01-14 06:25:58 +00:00
|
|
|
Documentation/devicetree/bindings/usb/snps,dwc3.yaml
|
2013-04-10 10:37:52 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
usb@12000000 {
|
|
|
|
compatible = "samsung,exynos5250-dwusb3";
|
|
|
|
clocks = <&clock 286>;
|
|
|
|
clock-names = "usbdrd30";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
2017-06-13 16:29:25 +00:00
|
|
|
vdd10-supply = <&ldo11_reg>;
|
|
|
|
vdd33-supply = <&ldo9_reg>;
|
2013-04-10 10:37:52 +00:00
|
|
|
|
|
|
|
dwc3 {
|
|
|
|
compatible = "synopsys,dwc3";
|
|
|
|
reg = <0x12000000 0x10000>;
|
|
|
|
interrupts = <0 72 0>;
|
|
|
|
usb-phy = <&usb2_phy &usb3_phy>;
|
|
|
|
};
|
|
|
|
};
|