2017-09-16 00:58:46 +08:00
|
|
|
Maxim Integrated SPI-based USB 2.0 host controller MAX3421E
|
|
|
|
|
|
|
|
Required properties:
|
2017-10-31 18:32:57 +08:00
|
|
|
- compatible: Should be "maxim,max3421"
|
2017-09-16 00:58:46 +08:00
|
|
|
- spi-max-frequency: maximum frequency for this device must not exceed 26 MHz.
|
|
|
|
- reg: chip select number to which this device is connected.
|
|
|
|
- maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL>
|
|
|
|
GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus.
|
|
|
|
ACTIVE_LEVEL is 0 or 1.
|
2017-10-31 18:32:57 +08:00
|
|
|
- interrupts: the interrupt line description for the interrupt controller.
|
2017-09-16 00:58:46 +08:00
|
|
|
The driver configures MAX3421E for active low level triggered interrupts,
|
|
|
|
configure your interrupt line accordingly.
|
|
|
|
|
2017-10-31 18:32:57 +08:00
|
|
|
Optional property:
|
|
|
|
- interrupt-parent: the phandle to the associated interrupt controller.
|
|
|
|
|
2017-09-16 00:58:46 +08:00
|
|
|
Example:
|
|
|
|
|
|
|
|
usb@0 {
|
|
|
|
compatible = "maxim,max3421";
|
|
|
|
reg = <0>;
|
|
|
|
maxim,vbus-en-pin = <3 1>;
|
|
|
|
spi-max-frequency = <26000000>;
|
|
|
|
interrupt-parent = <&PIC>;
|
|
|
|
interrupts = <42>;
|
|
|
|
};
|