mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
70833b84da
Add a required 'usb-phy' property, to obtain a phandle to the USB PHY from devicetree. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33 lines
648 B
Plaintext
33 lines
648 B
Plaintext
Ingenic JZ4740 MUSB driver
|
|
|
|
Required properties:
|
|
|
|
- compatible: Must be "ingenic,jz4740-musb"
|
|
- reg: Address range of the UDC register set
|
|
- interrupts: IRQ number related to the UDC hardware
|
|
- interrupt-names: must be "mc"
|
|
- clocks: phandle to the "udc" clock
|
|
- clock-names: must be "udc"
|
|
- phys: phandle to the USB PHY
|
|
|
|
Example:
|
|
|
|
usb_phy: usb-phy@0 {
|
|
compatible = "usb-nop-xceiv";
|
|
#phy-cells = <0>;
|
|
};
|
|
|
|
udc: usb@13040000 {
|
|
compatible = "ingenic,jz4740-musb";
|
|
reg = <0x13040000 0x10000>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <24>;
|
|
interrupt-names = "mc";
|
|
|
|
clocks = <&cgu JZ4740_CLK_UDC>;
|
|
clock-names = "udc";
|
|
|
|
phys = <&usb_phy>;
|
|
};
|