xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/brcm,bcm6358-pinctrl.yaml (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22eb4d8dcSEmmanuel Vadot%YAML 1.2
32eb4d8dcSEmmanuel Vadot---
42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6358-pinctrl.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
72eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6358 pin controller
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadotmaintainers:
102eb4d8dcSEmmanuel Vadot  - Álvaro Fernández Rojas <noltari@gmail.com>
112eb4d8dcSEmmanuel Vadot  - Jonas Gorski <jonas.gorski@gmail.com>
122eb4d8dcSEmmanuel Vadot
132eb4d8dcSEmmanuel Vadotdescription:
142eb4d8dcSEmmanuel Vadot  Bindings for Broadcom's BCM6358 memory-mapped pin controller.
152eb4d8dcSEmmanuel Vadot
162eb4d8dcSEmmanuel Vadotproperties:
172eb4d8dcSEmmanuel Vadot  compatible:
182eb4d8dcSEmmanuel Vadot    const: brcm,bcm6358-pinctrl
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot  reg:
212eb4d8dcSEmmanuel Vadot    maxItems: 1
222eb4d8dcSEmmanuel Vadot
232eb4d8dcSEmmanuel VadotpatternProperties:
242eb4d8dcSEmmanuel Vadot  '-pins$':
252eb4d8dcSEmmanuel Vadot    type: object
262eb4d8dcSEmmanuel Vadot    $ref: pinmux-node.yaml#
272eb4d8dcSEmmanuel Vadot
282eb4d8dcSEmmanuel Vadot    properties:
292eb4d8dcSEmmanuel Vadot      function:
302eb4d8dcSEmmanuel Vadot        enum: [ ebi_cs, uart1, serial_led, legacy_led, led, spi_cs, utopia,
312eb4d8dcSEmmanuel Vadot                pwm_syn_clk, sys_irq ]
322eb4d8dcSEmmanuel Vadot
332eb4d8dcSEmmanuel Vadot      pins:
342eb4d8dcSEmmanuel Vadot        enum: [ ebi_cs_grp, uart1_grp, serial_led_grp, legacy_led_grp,
352eb4d8dcSEmmanuel Vadot                led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ]
362eb4d8dcSEmmanuel Vadot
37*e67e8565SEmmanuel VadotallOf:
38*e67e8565SEmmanuel Vadot  - $ref: "pinctrl.yaml#"
39*e67e8565SEmmanuel Vadot
402eb4d8dcSEmmanuel Vadotrequired:
412eb4d8dcSEmmanuel Vadot  - compatible
422eb4d8dcSEmmanuel Vadot  - reg
432eb4d8dcSEmmanuel Vadot
442eb4d8dcSEmmanuel VadotadditionalProperties: false
452eb4d8dcSEmmanuel Vadot
462eb4d8dcSEmmanuel Vadotexamples:
472eb4d8dcSEmmanuel Vadot  - |
482eb4d8dcSEmmanuel Vadot    pinctrl@18 {
492eb4d8dcSEmmanuel Vadot      compatible = "brcm,bcm6358-pinctrl";
502eb4d8dcSEmmanuel Vadot      reg = <0x18 0x4>;
512eb4d8dcSEmmanuel Vadot
522eb4d8dcSEmmanuel Vadot      pinctrl_ebi_cs: ebi_cs-pins {
532eb4d8dcSEmmanuel Vadot        function = "ebi_cs";
542eb4d8dcSEmmanuel Vadot        groups = "ebi_cs_grp";
552eb4d8dcSEmmanuel Vadot      };
562eb4d8dcSEmmanuel Vadot
572eb4d8dcSEmmanuel Vadot      pinctrl_uart1: uart1-pins {
582eb4d8dcSEmmanuel Vadot        function = "uart1";
592eb4d8dcSEmmanuel Vadot        groups = "uart1_grp";
602eb4d8dcSEmmanuel Vadot      };
612eb4d8dcSEmmanuel Vadot
622eb4d8dcSEmmanuel Vadot      pinctrl_serial_led: serial_led-pins {
632eb4d8dcSEmmanuel Vadot        function = "serial_led";
642eb4d8dcSEmmanuel Vadot        groups = "serial_led_grp";
652eb4d8dcSEmmanuel Vadot      };
662eb4d8dcSEmmanuel Vadot
672eb4d8dcSEmmanuel Vadot      pinctrl_legacy_led: legacy_led-pins {
682eb4d8dcSEmmanuel Vadot        function = "legacy_led";
692eb4d8dcSEmmanuel Vadot        groups = "legacy_led_grp";
702eb4d8dcSEmmanuel Vadot      };
712eb4d8dcSEmmanuel Vadot
722eb4d8dcSEmmanuel Vadot      pinctrl_led: led-pins {
732eb4d8dcSEmmanuel Vadot        function = "led";
742eb4d8dcSEmmanuel Vadot        groups = "led_grp";
752eb4d8dcSEmmanuel Vadot      };
762eb4d8dcSEmmanuel Vadot
772eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs_23: spi_cs-pins {
782eb4d8dcSEmmanuel Vadot        function = "spi_cs";
792eb4d8dcSEmmanuel Vadot        groups = "spi_cs_grp";
802eb4d8dcSEmmanuel Vadot      };
812eb4d8dcSEmmanuel Vadot
822eb4d8dcSEmmanuel Vadot      pinctrl_utopia: utopia-pins {
832eb4d8dcSEmmanuel Vadot        function = "utopia";
842eb4d8dcSEmmanuel Vadot        groups = "utopia_grp";
852eb4d8dcSEmmanuel Vadot      };
862eb4d8dcSEmmanuel Vadot
872eb4d8dcSEmmanuel Vadot      pinctrl_pwm_syn_clk: pwm_syn_clk-pins {
882eb4d8dcSEmmanuel Vadot        function = "pwm_syn_clk";
892eb4d8dcSEmmanuel Vadot        groups = "pwm_syn_clk_grp";
902eb4d8dcSEmmanuel Vadot      };
912eb4d8dcSEmmanuel Vadot
922eb4d8dcSEmmanuel Vadot      pinctrl_sys_irq: sys_irq-pins {
932eb4d8dcSEmmanuel Vadot        function = "sys_irq";
942eb4d8dcSEmmanuel Vadot        groups = "sys_irq_grp";
952eb4d8dcSEmmanuel Vadot      };
962eb4d8dcSEmmanuel Vadot    };
97