mmc: sdhci-of-arasan: Add the support for sdhci-5.1
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pinctrl / pinctrl-atlas7.txt
blobeecf028ff4854bbe994b6232a7f88890e759d3cf
1 CSR SiRFatlas7 pinmux controller
3 Required properties:
4 - compatible    : "sirf,atlas7-ioc"
5 - reg           : Address range of the pinctrl registers
7 For example, pinctrl might have properties like the following:
8         pinctrl: ioc@18880000 {
9                         compatible = "sirf,atlas7-ioc";
10                         reg = <0x18880000 0x1000>;
12                         a_ac97_pmx: ac97@0 {
13                                 ac97 {
14                                         groups = "audio_ac97_grp";
15                                         function = "audio_ac97";
16                                 };
17                         };
19                         ...
21                         sd2_pmx: sd2@0 {
22                                 sd2 {
23                                         groups = "sd2_grp0";
24                                         function = "sd2";
25                                 };
26                         };
28                         ...
31                         sample0_cfg: sample0@0 {
32                                 sample0 {
33                                         pins = "ldd_0", "ldd_1";
34                                         bias-pull-up;
35                                 };
36                         };
38                         sample1_cfg: sample1@0 {
39                                 sample1 {
40                                         pins = "ldd_2", "ldd_3";
41                                         input-schmitt-enable;
42                                 };
43                         };
45                         sample2_cfg: sample2@0 {
46                                 sample2 {
47                                         groups = "uart4_nopause_grp";
48                                         bias-pull-down;
49                                 };
50                         };
52                         sample3_cfg: sample3@0 {
53                                 sample3 {
54                                         pins = "ldd_4", "ldd_5";
55                                         drive-strength = <2>;
56                                 };
57                         };
58         };
60 Please refer to pinctrl-bindings.txt in this directory for details of the common
61 pinctrl bindings used by client devices.
63 SiRFatlas7's pinmux nodes act as a container for an abitrary number of subnodes.
64 Each of these subnodes represents some desired configuration for a group of pins.
66 Required subnode-properties:
67 - groups : An array of strings. Each string contains the name of a group.
68 - function: A string containing the name of the function to mux to the
69   group.
71   Valid values for group and function names can be found from looking at the
72   group and function arrays in driver files:
73   drivers/pinctrl/pinctrl-sirf.c
75 For example, pinctrl might have subnodes like the following:
76         sd0_pmx: sd0@0 {
77                 sd0 {
78                         groups = "sd0_grp";
79                         function = "sd0";
80                 };
81         };
83         sd1_pmx0: sd1@0 {
84                 sd1 {
85                         groups = "sd1_grp0";
86                         function = "sd1_m0";
87                 };
88         };
90         sd1_pmx1: sd1@1 {
91                 sd1 {
92                         groups = "sd1_grp1";
93                         function = "sd1_m1";
94                 };
95         };
97 For a specific board, if it wants to use sd1,
98 it can add the following to its board-specific .dts file.
99 sd1: sd@0x12340000 {
100         pinctrl-names = "default";
101         pinctrl-0 = <&sd1_pmx0>;
106 sd1: sd@0x12340000 {
107         pinctrl-names = "default";
108         pinctrl-0 = <&sd1_pmx1>;