blob: 9f8bbd930decdde36d2c95566be06a2b61330087 [file] [log] [blame]
Ofir Cohen4cc55372012-11-20 11:17:24 +02001MSM HSIC EHCI controller
2
3Required properties :
4- compatible : should be "qcom,hsic-host"
5- regs : offset and length of the register set in the memory map
6- interrupts: IRQ lines used by this controller
7- interrupt-names : Required interrupt resource entries are:
Manu Gautam0df3d132013-03-13 07:21:22 +05308 "core_irq" : Interrupt for HSIC core
Ofir Cohen4cc55372012-11-20 11:17:24 +02009- <supply-name>-supply: handle to the regulator device tree node
10 Required "supply-name" is "HSIC_VDDCX" and optionally - "HSIC_GDSC".
11
Manu Gautam863b74132012-11-21 14:30:04 +053012Optional properties :
Manu Gautam0df3d132013-03-13 07:21:22 +053013- interrupt-names : Optional interrupt resource entries are:
14 "async_irq" : Interrupt from HSIC for asynchronous events in HSIC LPM.
15 "wakeup" : Wakeup interrupt from HSIC during suspend (or XO shutdown).
Manu Gautam863b74132012-11-21 14:30:04 +053016- hsic,<gpio-name>-gpio : handle to the GPIO node, see "gpios property"
17 in Documentation/devicetree/bindings/gpio/gpio.txt.
Vamsi Krishnabef91832013-03-11 14:10:20 -070018 Optional "gpio-name" can be "strobe", "data" and "resume".
19- hsic,resume-gpio : if present then periperal connected to hsic controller
20 cannot wakeup from XO shutdown using in-band hsic resume. Use resume
21 gpio to wakeup peripheral
Manu Gautam863b74132012-11-21 14:30:04 +053022- hsic,ignore-cal-pad-config : If present then HSIC CAL PAD configuration
23 using TLMM is not performed.
24- hsic,strobe-pad-offset : Offset of TLMM register for configuring HSIC
25 STROBE GPIO PAD.
26- hsic,data-pad-offset : Offset of TLMM register for configuring HSIC
27 DATA GPIO PAD.
28
Ofir Cohen4cc55372012-11-20 11:17:24 +020029Example MSM HSIC EHCI controller device node :
30 hsic@f9a15000 {
31 compatible = "qcom,hsic-host";
32 reg = <0xf9a15000 0x400>;
33 interrupts = <0 136 0>;
34 interrupt-names = "core_irq";
35 HSIC_VDDCX-supply = <&pm8019_l12>;
36 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
Manu Gautam863b74132012-11-21 14:30:04 +053037 hsic,strobe-gpio = <&msmgpio 144 0x00>;
38 hsic,data-gpio = <&msmgpio 145 0x00>;
39 hsic,ignore-cal-pad-config;
40 hsic,strobe-pad-offset = <0x2050>;
41 hsic,data-pad-offset = <0x2054>;
Ofir Cohen4cc55372012-11-20 11:17:24 +020042 };
Manu Gautam863b74132012-11-21 14:30:04 +053043
44SMSC HSIC HUB
45
46Required properties :
47- compatible : should be "qcom,hsic-smsc-hub"
48- smsc,<gpio-name>-gpio : handle to the GPIO node, see "gpios property"
49 in Documentation/devicetree/bindings/gpio/gpio.txt.
50 Required "gpio-name" is "reset" and optionally - "refclk", "int".
51- <supply-name>-supply: handle to the regulator device tree node
52 Required "supply-name" is "hub_init" and optionally - "hub_vbus".
53- Sub node for "MSM HSIC EHCI controller".
54 Sub node has the required properties mentioned above.
55
56Example SMSC HSIC HUB :
57 hsic_hub {
58 compatible = "qcom,hsic-smsc-hub";
59 ranges;
60 smsc,reset-gpio = <&pm8941_gpios 8 0x00>;
61 smsc,refclk-gpio = <&pm8941_gpios 16 0x00>;
62 smsc,int-gpio = <&msmgpio 50 0x00>;
63 hub_int-supply = <&pm8941_l10>;
64 hub_vbus-supply = <&pm8941_mvs1>;
65
66 hsic@f9a00000 {
67 compatible = "qcom,hsic-host";
68 reg = <0xf9a00000 0x400>;
69 interrupts = <0 136 0>;
70 interrupt-names = "core_irq";
71 HSIC_VDDCX-supply = <&pm8841_s2>;
72 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
73 hsic,strobe-gpio = <&msmgpio 144 0x00>;
74 hsic,data-gpio = <&msmgpio 145 0x00>;
75 hsic,ignore-cal-pad-config;
76 hsic,strobe-pad-offset = <0x2050>;
77 hsic,data-pad-offset = <0x2054>;
78 };
79 };
80