@@ -16,17 +16,22 @@ mux function to select on those pin(s)/group(s), and various pin configuration
16
16
parameters, such as input, output, pull up, pull down...
17
17
18
18
The name of each subnode is not important; all subnodes should be enumerated
19
- and processed purely based on their content.
19
+ and processed purely based on their content. The subnodes use the generic
20
+ pin multiplexing node layout from the standard pin control bindings
21
+ (see pinctrl-bindings.txt):
20
22
21
- Required subnode-properties:
22
- - ste,pins : An array of strings. Each string contains the name of a pin or
23
- group.
24
-
25
- Optional subnode-properties:
26
- - ste,function: A string containing the name of the function to mux to the
23
+ Required pin multiplexing subnode properties:
24
+ - function: A string containing the name of the function to mux to the
27
25
pin or group.
26
+ - groups : An array of strings. Each string contains the name of a pin
27
+ group that will be combined with the function to form a multiplexing
28
+ set-up.
28
29
29
- - ste,config: Handle of pin configuration node (e.g. ste,config = <&slpm_in_wkup_pdis>)
30
+ Required pin configuration subnode properties:
31
+ - pins: A string array describing the pins affected by the configuration
32
+ in the node.
33
+ - ste,config: Handle of pin configuration node
34
+ (e.g. ste,config = <&slpm_in_wkup_pdis>)
30
35
31
36
- ste,input : <0/1/2>
32
37
0: input with no pull
@@ -97,32 +102,32 @@ Example board file extract:
97
102
uart0 {
98
103
uart0_default_mux: uart0_mux {
99
104
u0_default_mux {
100
- ste, function = "u0";
101
- ste, pins = "u0_a_1";
105
+ function = "u0";
106
+ pins = "u0_a_1";
102
107
};
103
108
};
104
109
uart0_default_mode: uart0_default {
105
110
uart0_default_cfg1 {
106
- ste, pins = "GPIO0", "GPIO2";
111
+ pins = "GPIO0", "GPIO2";
107
112
ste,input = <1>;
108
113
};
109
114
110
115
uart0_default_cfg2 {
111
- ste, pins = "GPIO1", "GPIO3";
116
+ pins = "GPIO1", "GPIO3";
112
117
ste,output = <1>;
113
118
};
114
119
};
115
120
uart0_sleep_mode: uart0_sleep {
116
121
uart0_sleep_cfg1 {
117
- ste, pins = "GPIO0", "GPIO2";
122
+ pins = "GPIO0", "GPIO2";
118
123
ste,config = <&slpm_in_wkup_pdis>;
119
124
};
120
125
uart0_sleep_cfg2 {
121
- ste, pins = "GPIO1";
126
+ pins = "GPIO1";
122
127
ste,config = <&slpm_out_hi_wkup_pdis>;
123
128
};
124
129
uart0_sleep_cfg3 {
125
- ste, pins = "GPIO3";
130
+ pins = "GPIO3";
126
131
ste,config = <&slpm_out_wkup_pdis>;
127
132
};
128
133
};
0 commit comments