mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
48c926cd34
Improve the binding example by removing all the leading zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"` Some unnecessary changes were manually fixed. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Rob Herring <robh@kernel.org>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
Allwinner sun4i A10 musb DRC/OTG controller
|
|
-------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible : "allwinner,sun4i-a10-musb", "allwinner,sun6i-a31-musb",
|
|
"allwinner,sun8i-a33-musb" or "allwinner,sun8i-h3-musb"
|
|
- reg : mmio address range of the musb controller
|
|
- clocks : clock specifier for the musb controller ahb gate clock
|
|
- reset : reset specifier for the ahb reset (A31 and newer only)
|
|
- interrupts : interrupt to which the musb controller is connected
|
|
- interrupt-names : must be "mc"
|
|
- phys : phy specifier for the otg phy
|
|
- phy-names : must be "usb"
|
|
- dr_mode : Dual-Role mode must be "host" or "otg"
|
|
- extcon : extcon specifier for the otg phy
|
|
|
|
Example:
|
|
|
|
usb_otg: usb@1c13000 {
|
|
compatible = "allwinner,sun4i-a10-musb";
|
|
reg = <0x01c13000 0x0400>;
|
|
clocks = <&ahb_gates 0>;
|
|
interrupts = <38>;
|
|
interrupt-names = "mc";
|
|
phys = <&usbphy 0>;
|
|
phy-names = "usb";
|
|
extcon = <&usbphy 0>;
|
|
};
|