diff options
| -rw-r--r-- | Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt b/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt index 6b33b9f18e88..f63fcb3ed352 100644 --- a/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt +++ b/Documentation/devicetree/bindings/pinctrl/ste,nomadik.txt | |||
| @@ -16,17 +16,22 @@ mux function to select on those pin(s)/group(s), and various pin configuration | |||
| 16 | parameters, such as input, output, pull up, pull down... | 16 | parameters, such as input, output, pull up, pull down... |
| 17 | 17 | ||
| 18 | The name of each subnode is not important; all subnodes should be enumerated | 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: | 23 | Required pin multiplexing subnode properties: |
| 22 | - ste,pins : An array of strings. Each string contains the name of a pin or | 24 | - function: A string containing the name of the function to mux to the |
| 23 | group. | ||
| 24 | |||
| 25 | Optional subnode-properties: | ||
| 26 | - ste,function: A string containing the name of the function to mux to the | ||
| 27 | pin or group. | 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 | - ste,input : <0/1/2> | 36 | - ste,input : <0/1/2> |
| 32 | 0: input with no pull | 37 | 0: input with no pull |
| @@ -97,32 +102,32 @@ Example board file extract: | |||
| 97 | uart0 { | 102 | uart0 { |
| 98 | uart0_default_mux: uart0_mux { | 103 | uart0_default_mux: uart0_mux { |
| 99 | u0_default_mux { | 104 | u0_default_mux { |
| 100 | ste,function = "u0"; | 105 | function = "u0"; |
| 101 | ste,pins = "u0_a_1"; | 106 | pins = "u0_a_1"; |
| 102 | }; | 107 | }; |
| 103 | }; | 108 | }; |
| 104 | uart0_default_mode: uart0_default { | 109 | uart0_default_mode: uart0_default { |
| 105 | uart0_default_cfg1 { | 110 | uart0_default_cfg1 { |
| 106 | ste,pins = "GPIO0", "GPIO2"; | 111 | pins = "GPIO0", "GPIO2"; |
| 107 | ste,input = <1>; | 112 | ste,input = <1>; |
| 108 | }; | 113 | }; |
| 109 | 114 | ||
| 110 | uart0_default_cfg2 { | 115 | uart0_default_cfg2 { |
| 111 | ste,pins = "GPIO1", "GPIO3"; | 116 | pins = "GPIO1", "GPIO3"; |
| 112 | ste,output = <1>; | 117 | ste,output = <1>; |
| 113 | }; | 118 | }; |
| 114 | }; | 119 | }; |
| 115 | uart0_sleep_mode: uart0_sleep { | 120 | uart0_sleep_mode: uart0_sleep { |
| 116 | uart0_sleep_cfg1 { | 121 | uart0_sleep_cfg1 { |
| 117 | ste,pins = "GPIO0", "GPIO2"; | 122 | pins = "GPIO0", "GPIO2"; |
| 118 | ste,config = <&slpm_in_wkup_pdis>; | 123 | ste,config = <&slpm_in_wkup_pdis>; |
| 119 | }; | 124 | }; |
| 120 | uart0_sleep_cfg2 { | 125 | uart0_sleep_cfg2 { |
| 121 | ste,pins = "GPIO1"; | 126 | pins = "GPIO1"; |
| 122 | ste,config = <&slpm_out_hi_wkup_pdis>; | 127 | ste,config = <&slpm_out_hi_wkup_pdis>; |
| 123 | }; | 128 | }; |
| 124 | uart0_sleep_cfg3 { | 129 | uart0_sleep_cfg3 { |
| 125 | ste,pins = "GPIO3"; | 130 | pins = "GPIO3"; |
| 126 | ste,config = <&slpm_out_wkup_pdis>; | 131 | ste,config = <&slpm_out_wkup_pdis>; |
| 127 | }; | 132 | }; |
| 128 | }; | 133 | }; |
