2024-09-09 08:52:07 +00:00
|
|
|
MSM SuperSpeed USB3.0 SoC controller
|
|
|
|
|
|
|
|
Required properties :
|
|
|
|
- compatible : should be "qcom,dwc-usb3-msm"
|
2024-09-09 08:57:42 +00:00
|
|
|
- reg: Address and length of the register set for the device
|
|
|
|
Required regs are:
|
|
|
|
"core_base" : usb controller register set
|
2024-09-09 08:52:07 +00:00
|
|
|
- interrupts: IRQ lines used by this controller
|
2024-09-09 08:57:42 +00:00
|
|
|
- interrupt-names : Interrupt resource entries are :
|
|
|
|
"hs_phy_irq" : Interrupt from HS PHY for asynchronous events in LPM.
|
|
|
|
"pwr_event_irq" : Interrupt to controller for asynchronous events in LPM.
|
|
|
|
Used for SS-USB power events.
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
Optional properties :
|
2024-09-09 08:57:42 +00:00
|
|
|
- reg: Additional registers
|
|
|
|
"tcsr_base" : top-level CSR register to be written during power-on reset
|
|
|
|
initialize the internal MUX that controls whether to use USB3 controller
|
|
|
|
with primary port.
|
|
|
|
"ahb2phy_base" : top-level register to configure read/write wait cycle with
|
|
|
|
both QMP and QUSB PHY registers.
|
2024-09-09 08:52:07 +00:00
|
|
|
- Refer to "Documentation/devicetree/bindings/arm/msm/msm_bus.txt" for
|
|
|
|
below optional properties:
|
|
|
|
- qcom,msm_bus,name
|
|
|
|
- qcom,msm_bus,num_cases
|
|
|
|
- qcom,msm_bus,num_paths
|
|
|
|
- qcom,msm_bus,vectors
|
|
|
|
- interrupt-names : Optional interrupt resource entries are:
|
|
|
|
"pmic_id_irq" : Interrupt from PMIC for external ID pin notification.
|
2024-09-09 08:57:42 +00:00
|
|
|
"ss_phy_irq" : Interrupt from super speed phy for wake up notification.
|
2024-09-09 08:52:07 +00:00
|
|
|
- qcom,charging-disabled: If present then battery charging using USB
|
|
|
|
is disabled.
|
2024-09-09 08:57:42 +00:00
|
|
|
- vbus_dwc3-supply: phandle to the 5V VBUS supply regulator used for host mode.
|
|
|
|
- USB3_GDSC-supply : phandle to the globally distributed switch controller
|
|
|
|
regulator node to the USB controller.
|
|
|
|
- qcom,dwc-usb3-msm-tx-fifo-size: If present, represents RAM size available for
|
|
|
|
TX fifo allocation in bytes
|
|
|
|
- qcom,usb-dbm : phandle for the DBM device
|
|
|
|
- qcom,lpm-to-suspend-delay-ms: Indicates timeout (in milliseconds) to release wakeup source
|
|
|
|
after USB is kept into LPM.
|
|
|
|
- qcom,ext-hub-reset-gpio: This corresponds to gpio which is used for HUB reset.
|
|
|
|
- qcom,disable-dev-mode-pm: If present, it disables PM runtime functionality for device mode.
|
|
|
|
- qcom,disable-host-mode-pm: If present, it disables XHCI PM runtime functionality when USB
|
|
|
|
host mode is used.
|
2024-09-09 08:52:07 +00:00
|
|
|
Sub nodes:
|
|
|
|
- Sub node for "DWC3- USB3 controller".
|
|
|
|
This sub node is required property for device node. The properties of this subnode
|
|
|
|
are specified in dwc3.txt.
|
|
|
|
|
|
|
|
Example MSM USB3.0 controller device node :
|
|
|
|
usb@f9200000 {
|
|
|
|
compatible = "qcom,dwc-usb3-msm";
|
|
|
|
reg = <0xf9200000 0xfc000>,
|
2024-09-09 08:57:42 +00:00
|
|
|
<0xfd4ab000 0x4>,
|
|
|
|
<0xf9b3e000 0x3ff>;
|
|
|
|
reg-names = "core_base",
|
|
|
|
"tcsr_base",
|
|
|
|
"ahb2phy_base",
|
2024-09-09 08:52:07 +00:00
|
|
|
interrupts = <0 133 0>;
|
|
|
|
interrupt-names = "hs_phy_irq";
|
|
|
|
vbus_dwc3-supply = <&pm8941_mvs1>;
|
2024-09-09 08:57:42 +00:00
|
|
|
USB3_GDSC-supply = <&gdsc_usb30>;
|
2024-09-09 08:52:07 +00:00
|
|
|
qcom,dwc-usb3-msm-dbm-eps = <4>
|
2024-09-09 08:57:42 +00:00
|
|
|
qcom,dwc_usb3-adc_tm = <&pm8941_adc_tm>;
|
|
|
|
qcom,dwc-usb3-msm-tx-fifo-size = <29696>;
|
|
|
|
qcom,usb-dbm = <&dbm_1p4>;
|
|
|
|
qcom,lpm-to-suspend-delay-ms = <2>;
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
qcom,msm_bus,name = "usb3";
|
|
|
|
qcom,msm_bus,num_cases = <2>;
|
|
|
|
qcom,msm_bus,num_paths = <1>;
|
|
|
|
qcom,msm_bus,vectors =
|
|
|
|
<61 512 0 0>,
|
|
|
|
<61 512 240000000 960000000>;
|
|
|
|
dwc3@f9200000 {
|
|
|
|
compatible = "synopsys,dwc3";
|
|
|
|
reg = <0xf9200000 0xfc000>;
|
|
|
|
interrupts = <0 131 0>, <0 179 0>;
|
|
|
|
interrupt-names = "irq", "otg_irq";
|
|
|
|
tx-fifo-resize;
|
2024-09-09 08:57:42 +00:00
|
|
|
};
|
2024-09-09 08:52:07 +00:00
|
|
|
};
|