hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/usb/exynos-usb.txt
....@@ -12,13 +12,11 @@
1212 - interrupts: interrupt number to the cpu.
1313 - clocks: from common clock binding: handle to usb clock.
1414 - clock-names: from common clock binding: Shall be "usbhost".
15
- - port: if in the SoC there are EHCI phys, they should be listed here.
16
- One phy per port. Each port should have following entries:
17
- - reg: port number on EHCI controller, e.g
18
- On Exynos5250, port 0 is USB2.0 otg phy
19
- port 1 is HSIC phy0
20
- port 2 is HSIC phy1
21
- - phys: from the *Generic PHY* bindings; specifying phy used by port.
15
+ - phys: from the *Generic PHY* bindings; array specifying phy(s) used
16
+ by the root port.
17
+ - phy-names: from the *Generic PHY* bindings; array of the names for
18
+ each phy for the root ports, must be a subset of the following:
19
+ "host", "hsic0", "hsic1".
2220
2321 Optional properties:
2422 - samsung,vbus-gpio: if present, specifies the GPIO that
....@@ -35,12 +33,8 @@
3533 clocks = <&clock 285>;
3634 clock-names = "usbhost";
3735
38
- #address-cells = <1>;
39
- #size-cells = <0>;
40
- port@0 {
41
- reg = <0>;
42
- phys = <&usb2phy 1>;
43
- };
36
+ phys = <&usb2phy 1>;
37
+ phy-names = "host";
4438 };
4539
4640 OHCI
....@@ -52,13 +46,11 @@
5246 - interrupts: interrupt number to the cpu.
5347 - clocks: from common clock binding: handle to usb clock.
5448 - clock-names: from common clock binding: Shall be "usbhost".
55
- - port: if in the SoC there are OHCI phys, they should be listed here.
56
- One phy per port. Each port should have following entries:
57
- - reg: port number on OHCI controller, e.g
58
- On Exynos5250, port 0 is USB2.0 otg phy
59
- port 1 is HSIC phy0
60
- port 2 is HSIC phy1
61
- - phys: from the *Generic PHY* bindings, specifying phy used by port.
49
+ - phys: from the *Generic PHY* bindings; array specifying phy(s) used
50
+ by the root port.
51
+ - phy-names: from the *Generic PHY* bindings; array of the names for
52
+ each phy for the root ports, must be a subset of the following:
53
+ "host", "hsic0", "hsic1".
6254
6355 Example:
6456 usb@12120000 {
....@@ -69,13 +61,8 @@
6961 clocks = <&clock 285>;
7062 clock-names = "usbhost";
7163
72
- #address-cells = <1>;
73
- #size-cells = <0>;
74
- port@0 {
75
- reg = <0>;
76
- phys = <&usb2phy 1>;
77
- };
78
-
64
+ phys = <&usb2phy 1>;
65
+ phy-names = "host";
7966 };
8067
8168 DWC3
....@@ -83,13 +70,22 @@
8370 - compatible: should be one of the following -
8471 "samsung,exynos5250-dwusb3": for USB 3.0 DWC3 controller on
8572 Exynos5250/5420.
73
+ "samsung,exynos5433-dwusb3": for USB 3.0 DWC3 controller on
74
+ Exynos5433.
8675 "samsung,exynos7-dwusb3": for USB 3.0 DWC3 controller on Exynos7.
8776 - #address-cells, #size-cells : should be '1' if the device has sub-nodes
8877 with 'reg' property.
8978 - ranges: allows valid 1:1 translation between child's address space and
9079 parent's address space
9180 - clocks: Clock IDs array as required by the controller.
92
- - clock-names: names of clocks correseponding to IDs in the clock property
81
+ - clock-names: Names of clocks corresponding to IDs in the clock property.
82
+ Following clock names shall be provided for different
83
+ compatibles:
84
+ - samsung,exynos5250-dwusb3: "usbdrd30",
85
+ - samsung,exynos5433-dwusb3: "aclk", "susp_clk", "pipe_pclk",
86
+ "phyclk",
87
+ - samsung,exynos7-dwusb3: "usbdrd30", "usbdrd30_susp_clk",
88
+ "usbdrd30_axius_clk"
9389 - vdd10-supply: 1.0V powr supply
9490 - vdd33-supply: 3.0V/3.3V power supply
9591