MAXIM MAX3420/1 USB Peripheral Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/maxim,max3420-udc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jassi Brar <jaswinder.singh@linaro.org>"

The controller provices USB2.0 compliant FullSpeed peripheral implementation over the SPI interface.

Specifications about the part can be found at:
  http://datasheets.maximintegrated.com/en/ds/MAX3420E.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max3420-udc", "maxim,max3421-udc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

usb irq from max3420

Item 2

vbus detection irq

Minimum number of items (minItems): 1

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "udc"

Item 2

Exact value (const): "vbus"

Minimum number of items (minItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 26000000

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    udc@0 {
        compatible = "maxim,max3420-udc";
        reg = <0>;
        interrupt-parent = <&gpio>;
        interrupts = <0 IRQ_TYPE_EDGE_FALLING>, <10 IRQ_TYPE_EDGE_BOTH>;
        interrupt-names = "udc", "vbus";
        spi-max-frequency = <12500000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page