1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/pinctrl/marvell,ac5-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell AC5 pin controller
10 - Chris Packham <chris.packham@alliedtelesis.co.nz>
13 Bindings for Marvell's AC5 memory-mapped pin controller.
18 - const: marvell,ac5-pinctrl
26 $ref: pinmux-node.yaml#
27 additionalProperties: false
31 $ref: "/schemas/types.yaml#/definitions/string"
33 Indicates the function to select.
34 enum: [ dev_init_done, ge, gpio, i2c0, i2c1, int_out, led, nand, pcie, ptp, sdio,
35 spi0, spi1, synce, tsen_int, uart0, uart1, uart2, uart3, uartsd, wd_int, xg ]
38 $ref: /schemas/types.yaml#/definitions/string-array
40 Array of MPP pins to be used for the given function.
43 enum: [ mpp0, mpp1, mpp2, mpp3, mpp4, mpp5, mpp6, mpp7, mpp8, mpp9,
44 mpp10, mpp11, mpp12, mpp13, mpp14, mpp15, mpp16, mpp17, mpp18, mpp19,
45 mpp20, mpp21, mpp22, mpp23, mpp24, mpp25, mpp26, mpp27, mpp28, mpp29,
46 mpp30, mpp31, mpp32, mpp33, mpp34, mpp35, mpp36, mpp37, mpp38, mpp39,
47 mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
50 - $ref: "pinctrl.yaml#"
56 additionalProperties: false
61 compatible = "marvell,ac5-pinctrl";
62 reg = <0x80020100 0x20>;
64 i2c0_pins: i2c0-pins {
65 marvell,pins = "mpp26", "mpp27";
66 marvell,function = "i2c0";
69 i2c0_gpio: i2c0-gpio-pins {
70 marvell,pins = "mpp26", "mpp27";
71 marvell,function = "gpio";