Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Maxim Integrated SPI-based USB 2.0 host controller MAX3421E |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "maxim,max3421" |
| 5 | - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz. |
| 6 | - reg: chip select number to which this device is connected. |
| 7 | - maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL> |
| 8 | GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus. |
| 9 | ACTIVE_LEVEL is 0 or 1. |
| 10 | - interrupts: the interrupt line description for the interrupt controller. |
| 11 | The driver configures MAX3421E for active low level triggered interrupts, |
| 12 | configure your interrupt line accordingly. |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | usb@0 { |
| 17 | compatible = "maxim,max3421"; |
| 18 | reg = <0>; |
| 19 | maxim,vbus-en-pin = <3 1>; |
| 20 | spi-max-frequency = <26000000>; |
| 21 | interrupt-parent = <&PIC>; |
| 22 | interrupts = <42>; |
| 23 | }; |