aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/phy/samsung-phy.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt
index c0fccaa1671e..bf955abba5d9 100644
--- a/Documentation/devicetree/bindings/phy/samsung-phy.txt
+++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt
@@ -20,3 +20,56 @@ Required properties:
20- compatible : should be "samsung,exynos5250-dp-video-phy"; 20- compatible : should be "samsung,exynos5250-dp-video-phy";
21- reg : offset and length of the Display Port PHY register set; 21- reg : offset and length of the Display Port PHY register set;
22- #phy-cells : from the generic PHY bindings, must be 0; 22- #phy-cells : from the generic PHY bindings, must be 0;
23
24Samsung S5P/EXYNOS SoC series USB PHY
25-------------------------------------------------
26
27Required properties:
28- compatible : should be one of the listed compatibles:
29 - "samsung,exynos4210-usb2-phy"
30 - "samsung,exynos4x12-usb2-phy"
31- reg : a list of registers used by phy driver
32 - first and obligatory is the location of phy modules registers
33- samsung,sysreg-phandle - handle to syscon used to control the system registers
34- samsung,pmureg-phandle - handle to syscon used to control PMU registers
35- #phy-cells : from the generic phy bindings, must be 1;
36- clocks and clock-names:
37 - the "phy" clock is required by the phy module, used as a gate
38 - the "ref" clock is used to get the rate of the clock provided to the
39 PHY module
40
41The first phandle argument in the PHY specifier identifies the PHY, its
42meaning is compatible dependent. For the currently supported SoCs (Exynos 4210
43and Exynos 4212) it is as follows:
44 0 - USB device ("device"),
45 1 - USB host ("host"),
46 2 - HSIC0 ("hsic0"),
47 3 - HSIC1 ("hsic1"),
48
49Exynos 4210 and Exynos 4212 use mode switching and require that mode switch
50register is supplied.
51
52Example:
53
54For Exynos 4412 (compatible with Exynos 4212):
55
56usbphy: phy@125b0000 {
57 compatible = "samsung,exynos4x12-usb2-phy";
58 reg = <0x125b0000 0x100>;
59 clocks = <&clock 305>, <&clock 2>;
60 clock-names = "phy", "ref";
61 status = "okay";
62 #phy-cells = <1>;
63 samsung,sysreg-phandle = <&sys_reg>;
64 samsung,pmureg-phandle = <&pmu_reg>;
65};
66
67Then the PHY can be used in other nodes such as:
68
69phy-consumer@12340000 {
70 phys = <&usbphy 2>;
71 phy-names = "phy";
72};
73
74Refer to DT bindings documentation of particular PHY consumer devices for more
75information about required PHYs and the way of specification.