xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/brcm,bcm6358-pinctrl.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*2eb4d8dcSEmmanuel Vadot%YAML 1.2
3*2eb4d8dcSEmmanuel Vadot---
4*2eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/brcm,bcm6358-pinctrl.yaml#
5*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2eb4d8dcSEmmanuel Vadot
7*2eb4d8dcSEmmanuel Vadottitle: Broadcom BCM6358 pin controller
8*2eb4d8dcSEmmanuel Vadot
9*2eb4d8dcSEmmanuel Vadotmaintainers:
10*2eb4d8dcSEmmanuel Vadot  - Álvaro Fernández Rojas <noltari@gmail.com>
11*2eb4d8dcSEmmanuel Vadot  - Jonas Gorski <jonas.gorski@gmail.com>
12*2eb4d8dcSEmmanuel Vadot
13*2eb4d8dcSEmmanuel Vadotdescription:
14*2eb4d8dcSEmmanuel Vadot  Bindings for Broadcom's BCM6358 memory-mapped pin controller.
15*2eb4d8dcSEmmanuel Vadot
16*2eb4d8dcSEmmanuel Vadotproperties:
17*2eb4d8dcSEmmanuel Vadot  compatible:
18*2eb4d8dcSEmmanuel Vadot    const: brcm,bcm6358-pinctrl
19*2eb4d8dcSEmmanuel Vadot
20*2eb4d8dcSEmmanuel Vadot  reg:
21*2eb4d8dcSEmmanuel Vadot    maxItems: 1
22*2eb4d8dcSEmmanuel Vadot
23*2eb4d8dcSEmmanuel VadotpatternProperties:
24*2eb4d8dcSEmmanuel Vadot  '-pins$':
25*2eb4d8dcSEmmanuel Vadot    type: object
26*2eb4d8dcSEmmanuel Vadot    $ref: pinmux-node.yaml#
27*2eb4d8dcSEmmanuel Vadot
28*2eb4d8dcSEmmanuel Vadot    properties:
29*2eb4d8dcSEmmanuel Vadot      function:
30*2eb4d8dcSEmmanuel Vadot        enum: [ ebi_cs, uart1, serial_led, legacy_led, led, spi_cs, utopia,
31*2eb4d8dcSEmmanuel Vadot                pwm_syn_clk, sys_irq ]
32*2eb4d8dcSEmmanuel Vadot
33*2eb4d8dcSEmmanuel Vadot      pins:
34*2eb4d8dcSEmmanuel Vadot        enum: [ ebi_cs_grp, uart1_grp, serial_led_grp, legacy_led_grp,
35*2eb4d8dcSEmmanuel Vadot                led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ]
36*2eb4d8dcSEmmanuel Vadot
37*2eb4d8dcSEmmanuel Vadotrequired:
38*2eb4d8dcSEmmanuel Vadot  - compatible
39*2eb4d8dcSEmmanuel Vadot  - reg
40*2eb4d8dcSEmmanuel Vadot
41*2eb4d8dcSEmmanuel VadotadditionalProperties: false
42*2eb4d8dcSEmmanuel Vadot
43*2eb4d8dcSEmmanuel Vadotexamples:
44*2eb4d8dcSEmmanuel Vadot  - |
45*2eb4d8dcSEmmanuel Vadot    pinctrl@18 {
46*2eb4d8dcSEmmanuel Vadot      compatible = "brcm,bcm6358-pinctrl";
47*2eb4d8dcSEmmanuel Vadot      reg = <0x18 0x4>;
48*2eb4d8dcSEmmanuel Vadot
49*2eb4d8dcSEmmanuel Vadot      pinctrl_ebi_cs: ebi_cs-pins {
50*2eb4d8dcSEmmanuel Vadot        function = "ebi_cs";
51*2eb4d8dcSEmmanuel Vadot        groups = "ebi_cs_grp";
52*2eb4d8dcSEmmanuel Vadot      };
53*2eb4d8dcSEmmanuel Vadot
54*2eb4d8dcSEmmanuel Vadot      pinctrl_uart1: uart1-pins {
55*2eb4d8dcSEmmanuel Vadot        function = "uart1";
56*2eb4d8dcSEmmanuel Vadot        groups = "uart1_grp";
57*2eb4d8dcSEmmanuel Vadot      };
58*2eb4d8dcSEmmanuel Vadot
59*2eb4d8dcSEmmanuel Vadot      pinctrl_serial_led: serial_led-pins {
60*2eb4d8dcSEmmanuel Vadot        function = "serial_led";
61*2eb4d8dcSEmmanuel Vadot        groups = "serial_led_grp";
62*2eb4d8dcSEmmanuel Vadot      };
63*2eb4d8dcSEmmanuel Vadot
64*2eb4d8dcSEmmanuel Vadot      pinctrl_legacy_led: legacy_led-pins {
65*2eb4d8dcSEmmanuel Vadot        function = "legacy_led";
66*2eb4d8dcSEmmanuel Vadot        groups = "legacy_led_grp";
67*2eb4d8dcSEmmanuel Vadot      };
68*2eb4d8dcSEmmanuel Vadot
69*2eb4d8dcSEmmanuel Vadot      pinctrl_led: led-pins {
70*2eb4d8dcSEmmanuel Vadot        function = "led";
71*2eb4d8dcSEmmanuel Vadot        groups = "led_grp";
72*2eb4d8dcSEmmanuel Vadot      };
73*2eb4d8dcSEmmanuel Vadot
74*2eb4d8dcSEmmanuel Vadot      pinctrl_spi_cs_23: spi_cs-pins {
75*2eb4d8dcSEmmanuel Vadot        function = "spi_cs";
76*2eb4d8dcSEmmanuel Vadot        groups = "spi_cs_grp";
77*2eb4d8dcSEmmanuel Vadot      };
78*2eb4d8dcSEmmanuel Vadot
79*2eb4d8dcSEmmanuel Vadot      pinctrl_utopia: utopia-pins {
80*2eb4d8dcSEmmanuel Vadot        function = "utopia";
81*2eb4d8dcSEmmanuel Vadot        groups = "utopia_grp";
82*2eb4d8dcSEmmanuel Vadot      };
83*2eb4d8dcSEmmanuel Vadot
84*2eb4d8dcSEmmanuel Vadot      pinctrl_pwm_syn_clk: pwm_syn_clk-pins {
85*2eb4d8dcSEmmanuel Vadot        function = "pwm_syn_clk";
86*2eb4d8dcSEmmanuel Vadot        groups = "pwm_syn_clk_grp";
87*2eb4d8dcSEmmanuel Vadot      };
88*2eb4d8dcSEmmanuel Vadot
89*2eb4d8dcSEmmanuel Vadot      pinctrl_sys_irq: sys_irq-pins {
90*2eb4d8dcSEmmanuel Vadot        function = "sys_irq";
91*2eb4d8dcSEmmanuel Vadot        groups = "sys_irq_grp";
92*2eb4d8dcSEmmanuel Vadot      };
93*2eb4d8dcSEmmanuel Vadot    };
94