xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/maxim,max3421.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMaxim Integrated SPI-based USB 2.0 host controller MAX3421E
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible: Should be "maxim,max3421"
5*4882a593Smuzhiyun - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz.
6*4882a593Smuzhiyun - reg: chip select number to which this device is connected.
7*4882a593Smuzhiyun - maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL>
8*4882a593Smuzhiyun   GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus.
9*4882a593Smuzhiyun   ACTIVE_LEVEL is 0 or 1.
10*4882a593Smuzhiyun - interrupts: the interrupt line description for the interrupt controller.
11*4882a593Smuzhiyun   The driver configures MAX3421E for active low level triggered interrupts,
12*4882a593Smuzhiyun   configure your interrupt line accordingly.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	usb@0 {
17*4882a593Smuzhiyun		compatible = "maxim,max3421";
18*4882a593Smuzhiyun		reg = <0>;
19*4882a593Smuzhiyun		maxim,vbus-en-pin = <3 1>;
20*4882a593Smuzhiyun		spi-max-frequency = <26000000>;
21*4882a593Smuzhiyun		interrupt-parent = <&PIC>;
22*4882a593Smuzhiyun		interrupts = <42>;
23*4882a593Smuzhiyun	};
24