diff options
Diffstat (limited to 'Documentation/powerpc')
-rw-r--r-- | Documentation/powerpc/dts-bindings/fsl/usb.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/powerpc/dts-bindings/fsl/usb.txt b/Documentation/powerpc/dts-bindings/fsl/usb.txt index b00152402694..bd5723f0b67e 100644 --- a/Documentation/powerpc/dts-bindings/fsl/usb.txt +++ b/Documentation/powerpc/dts-bindings/fsl/usb.txt | |||
@@ -8,6 +8,7 @@ and additions : | |||
8 | Required properties : | 8 | Required properties : |
9 | - compatible : Should be "fsl-usb2-mph" for multi port host USB | 9 | - compatible : Should be "fsl-usb2-mph" for multi port host USB |
10 | controllers, or "fsl-usb2-dr" for dual role USB controllers | 10 | controllers, or "fsl-usb2-dr" for dual role USB controllers |
11 | or "fsl,mpc5121-usb2-dr" for dual role USB controllers of MPC5121 | ||
11 | - phy_type : For multi port host USB controllers, should be one of | 12 | - phy_type : For multi port host USB controllers, should be one of |
12 | "ulpi", or "serial". For dual role USB controllers, should be | 13 | "ulpi", or "serial". For dual role USB controllers, should be |
13 | one of "ulpi", "utmi", "utmi_wide", or "serial". | 14 | one of "ulpi", "utmi", "utmi_wide", or "serial". |
@@ -33,6 +34,12 @@ Recommended properties : | |||
33 | - interrupt-parent : the phandle for the interrupt controller that | 34 | - interrupt-parent : the phandle for the interrupt controller that |
34 | services interrupts for this device. | 35 | services interrupts for this device. |
35 | 36 | ||
37 | Optional properties : | ||
38 | - fsl,invert-drvvbus : boolean; for MPC5121 USB0 only. Indicates the | ||
39 | port power polarity of internal PHY signal DRVVBUS is inverted. | ||
40 | - fsl,invert-pwr-fault : boolean; for MPC5121 USB0 only. Indicates | ||
41 | the PWR_FAULT signal polarity is inverted. | ||
42 | |||
36 | Example multi port host USB controller device node : | 43 | Example multi port host USB controller device node : |
37 | usb@22000 { | 44 | usb@22000 { |
38 | compatible = "fsl-usb2-mph"; | 45 | compatible = "fsl-usb2-mph"; |
@@ -57,3 +64,18 @@ Example dual role USB controller device node : | |||
57 | dr_mode = "otg"; | 64 | dr_mode = "otg"; |
58 | phy = "ulpi"; | 65 | phy = "ulpi"; |
59 | }; | 66 | }; |
67 | |||
68 | Example dual role USB controller device node for MPC5121ADS: | ||
69 | |||
70 | usb@4000 { | ||
71 | compatible = "fsl,mpc5121-usb2-dr"; | ||
72 | reg = <0x4000 0x1000>; | ||
73 | #address-cells = <1>; | ||
74 | #size-cells = <0>; | ||
75 | interrupt-parent = < &ipic >; | ||
76 | interrupts = <44 0x8>; | ||
77 | dr_mode = "otg"; | ||
78 | phy_type = "utmi_wide"; | ||
79 | fsl,invert-drvvbus; | ||
80 | fsl,invert-pwr-fault; | ||
81 | }; | ||