Merge tag 'bcm2835-drivers-next-2017-12-19' into drivers/next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pinctrl / cortina,gemini-pinctrl.txt
1 Cortina Systems Gemini pin controller
2
3 This pin controller is found in the Cortina Systems Gemini SoC family,
4 see further arm/gemini.txt. It is a purely group-based multiplexing pin
5 controller.
6
7 The pin controller node must be a subnode of the system controller node.
8
9 Required properties:
10 - compatible: "cortina,gemini-pinctrl"
11
12 Subnodes of the pin controller contain pin control multiplexing set-up
13 and pin configuration of individual pins.
14
15 Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes
16 and generic pin config nodes.
17
18 Supported configurations:
19 - skew-delay is supported on the Ethernet pins
20
21 Example:
22
23
24 syscon {
25         compatible = "cortina,gemini-syscon";
26         ...
27         pinctrl {
28                 compatible = "cortina,gemini-pinctrl";
29                 pinctrl-names = "default";
30                 pinctrl-0 = <&dram_default_pins>, <&system_default_pins>,
31                     <&vcontrol_default_pins>;
32
33                 dram_default_pins: pinctrl-dram {
34                         mux {
35                                 function = "dram";
36                                 groups = "dramgrp";
37                         };
38                 };
39                 rtc_default_pins: pinctrl-rtc {
40                         mux {
41                                 function = "rtc";
42                                 groups = "rtcgrp";
43                         };
44                 };
45                 power_default_pins: pinctrl-power {
46                         mux {
47                                 function = "power";
48                                 groups = "powergrp";
49                         };
50                 };
51                 system_default_pins: pinctrl-system {
52                         mux {
53                                 function = "system";
54                                 groups = "systemgrp";
55                         };
56                 };
57                 (...)
58                 uart_default_pins: pinctrl-uart {
59                         mux {
60                                 function = "uart";
61                                 groups = "uartrxtxgrp";
62                         };
63                 };
64         };
65 };