• Andrew Jeffery's avatar
    pinctrl: aspeed: g4: Add USB device and host support · d22d5ca6
    Andrew Jeffery authored
    Implement the AST2400 USB functions as described by the devicetree
    bindings. Three ports are fully documented in the datasheet and exposed
    through the bindings and pinctrl, though there are remnants of
    documentation for a fourth port muxed with GPIO pins GPIOQ6 and GPIOQ7.
    The implementation is updated to reflect this but the function and
    group are not exposed.
    
    Disregarding the mostly undocumented fourth port, the USB functions are
    an outlier with respect to the rest of the muxed functionality on the
    AST2400 as GPIO is not supported on these pins.
    Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    d22d5ca6
pinctrl-aspeed-g4.c 82.7 KB