mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
4da722ca19
Pretty much any node can have a status property, so it doesn't need to be in examples. Converted with the following command and removed examples with SoC and board specific splits: git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d' Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Rob Herring <robh@kernel.org>
63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
Qualcomm SuperSpeed DWC3 USB SoC controller
|
|
|
|
Required properties:
|
|
- compatible: should contain "qcom,dwc3"
|
|
- clocks: A list of phandle + clock-specifier pairs for the
|
|
clocks listed in clock-names
|
|
- clock-names: Should contain the following:
|
|
"core" Master/Core clock, have to be >= 125 MHz for SS
|
|
operation and >= 60MHz for HS operation
|
|
|
|
Optional clocks:
|
|
"iface" System bus AXI clock. Not present on all platforms
|
|
"sleep" Sleep clock, used when USB3 core goes into low
|
|
power mode (U3).
|
|
|
|
Required child node:
|
|
A child node must exist to represent the core DWC3 IP block. The name of
|
|
the node is not important. The content of the node is defined in dwc3.txt.
|
|
|
|
Phy documentation is provided in the following places:
|
|
Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt
|
|
|
|
Example device nodes:
|
|
|
|
hs_phy: phy@100f8800 {
|
|
compatible = "qcom,dwc3-hs-usb-phy";
|
|
reg = <0x100f8800 0x30>;
|
|
clocks = <&gcc USB30_0_UTMI_CLK>;
|
|
clock-names = "ref";
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
ss_phy: phy@100f8830 {
|
|
compatible = "qcom,dwc3-ss-usb-phy";
|
|
reg = <0x100f8830 0x30>;
|
|
clocks = <&gcc USB30_0_MASTER_CLK>;
|
|
clock-names = "ref";
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
usb3_0: usb30@0 {
|
|
compatible = "qcom,dwc3";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
clocks = <&gcc USB30_0_MASTER_CLK>;
|
|
clock-names = "core";
|
|
|
|
ranges;
|
|
|
|
|
|
dwc3@10000000 {
|
|
compatible = "snps,dwc3";
|
|
reg = <0x10000000 0xcd00>;
|
|
interrupts = <0 205 0x4>;
|
|
phys = <&hs_phy>, <&ss_phy>;
|
|
phy-names = "usb2-phy", "usb3-phy";
|
|
dr_mode = "host";
|
|
};
|
|
};
|
|
|