~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/marvell,ac5-pinctrl.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pinctrl/marvell,ac5-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Marvell AC5 pin controller
  8 
  9 maintainers:
 10   - Chris Packham <chris.packham@alliedtelesis.co.nz>
 11 
 12 description:
 13   Bindings for Marvell's AC5 memory-mapped pin controller.
 14 
 15 properties:
 16   compatible:
 17     items:
 18       - const: marvell,ac5-pinctrl
 19 
 20   reg:
 21     maxItems: 1
 22 
 23 patternProperties:
 24   '-pins$':
 25     type: object
 26     $ref: pinmux-node.yaml#
 27     additionalProperties: false
 28 
 29     properties:
 30       marvell,function:
 31         $ref: /schemas/types.yaml#/definitions/string
 32         description:
 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 ]
 36 
 37       marvell,pins:
 38         $ref: /schemas/types.yaml#/definitions/string-array
 39         description:
 40           Array of MPP pins to be used for the given function.
 41         minItems: 1
 42         items:
 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 ]
 48 
 49 allOf:
 50   - $ref: pinctrl.yaml#
 51 
 52 required:
 53   - compatible
 54   - reg
 55 
 56 additionalProperties: false
 57 
 58 examples:
 59   - |
 60     pinctrl@80020100 {
 61       compatible = "marvell,ac5-pinctrl";
 62       reg = <0x80020100 0x20>;
 63 
 64       i2c0_pins: i2c0-pins {
 65         marvell,pins = "mpp26", "mpp27";
 66         marvell,function = "i2c0";
 67       };
 68 
 69       i2c0_gpio: i2c0-gpio-pins {
 70         marvell,pins = "mpp26", "mpp27";
 71         marvell,function = "gpio";
 72       };
 73     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php