mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 00:56:59 +07:00
ca52a17ba9
Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci-platform from devicetree in various cases. Specifically after this commit it can be used for the ohci controller found on Allwinner sunxi SoCs. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
529 B
Plaintext
23 lines
529 B
Plaintext
USB OHCI controllers
|
|
|
|
Required properties:
|
|
- compatible : "usb-ohci"
|
|
- reg : ohci controller register range (address and length)
|
|
- interrupts : ohci controller interrupt
|
|
|
|
Optional properties:
|
|
- clocks : a list of phandle + clock specifier pairs
|
|
- phys : phandle + phy specifier pair
|
|
- phy-names : "usb"
|
|
|
|
Example:
|
|
|
|
ohci0: usb@01c14400 {
|
|
compatible = "allwinner,sun4i-a10-ohci", "usb-ohci";
|
|
reg = <0x01c14400 0x100>;
|
|
interrupts = <64>;
|
|
clocks = <&usb_clk 6>, <&ahb_gates 2>;
|
|
phys = <&usbphy 1>;
|
|
phy-names = "usb";
|
|
};
|