brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 1144ca2 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pinctrl/intel,lgm-io.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Intel Lightning Mountain SoC pinmux & GPIO controller8 9maintainers:10  - Rahul Tanwar <rahul.tanwar@linux.intel.com>11 12description: |13  Pinmux & GPIO controller controls pin multiplexing & configuration including14  GPIO function selection & GPIO attributes configuration.15 16properties:17  compatible:18    const: intel,lgm-io19 20  reg:21    maxItems: 122 23# Client device subnode's properties24patternProperties:25  '-pins$':26    type: object27    description:28      Pinctrl node's client devices use subnodes for desired pin configuration.29      Client device subnodes use below standard properties.30    $ref: pinmux-node.yaml#31 32    properties:33      function: true34      groups: true35      pins: true36      pinmux: true37      bias-pull-up: true38      bias-pull-down: true39      drive-strength: true40      slew-rate: true41      drive-open-drain: true42      output-enable: true43 44    required:45      - function46      - groups47 48    additionalProperties: false49 50allOf:51  - $ref: pinctrl.yaml#52 53required:54  - compatible55  - reg56 57additionalProperties: false58 59examples:60  # Pinmux controller node61  - |62    pinctrl: pinctrl@e2880000 {63        compatible = "intel,lgm-io";64        reg = <0xe2880000 0x100000>;65 66        uart0-pins {67             pins = <64>, /* UART_RX0 */68                    <65>; /* UART_TX0 */69             function = "CONSOLE_UART0";70             pinmux = <1>,71                      <1>;72             groups = "CONSOLE_UART0";73          };74    };75 76...77