Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
[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 Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes.
14
15 Example:
16
17
18 syscon {
19         compatible = "cortina,gemini-syscon";
20         ...
21         pinctrl {
22                 compatible = "cortina,gemini-pinctrl";
23                 pinctrl-names = "default";
24                 pinctrl-0 = <&dram_default_pins>, <&system_default_pins>,
25                     <&vcontrol_default_pins>;
26
27                 dram_default_pins: pinctrl-dram {
28                         mux {
29                                 function = "dram";
30                                 groups = "dramgrp";
31                         };
32                 };
33                 rtc_default_pins: pinctrl-rtc {
34                         mux {
35                                 function = "rtc";
36                                 groups = "rtcgrp";
37                         };
38                 };
39                 power_default_pins: pinctrl-power {
40                         mux {
41                                 function = "power";
42                                 groups = "powergrp";
43                         };
44                 };
45                 system_default_pins: pinctrl-system {
46                         mux {
47                                 function = "system";
48                                 groups = "systemgrp";
49                         };
50                 };
51                 (...)
52                 uart_default_pins: pinctrl-uart {
53                         mux {
54                                 function = "uart";
55                                 groups = "uartrxtxgrp";
56                         };
57                 };
58         };
59 };