2 * Copyright 2012 ST-Ericsson
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
11 #include <dt-bindings/pinctrl/nomadik.h>
14 in_nopull: in_nopull {
15 ste,input = <INPUT_NOPULL>;
18 in_pu: input_pull_up {
19 ste,input = <INPUT_PULLUP>;
22 in_pd: input_pull_down {
23 ste,input = <INPUT_PULLDOWN>;
27 ste,output = <OUTPUT_HIGH>;
31 ste,output = <OUTPUT_LOW>;
34 gpio_in_pu: gpio_input_pull_up {
35 ste,gpio = <GPIOMODE_ENABLED>;
36 ste,input = <INPUT_PULLUP>;
39 gpio_in_pd: gpio_input_pull_down {
40 ste,gpio = <GPIOMODE_ENABLED>;
41 ste,input = <INPUT_PULLDOWN>;
44 gpio_out_lo: gpio_output_low {
45 ste,gpio = <GPIOMODE_ENABLED>;
46 ste,output = <OUTPUT_LOW>;
49 gpio_out_hi: gpio_output_high {
50 ste,gpio = <GPIOMODE_ENABLED>;
51 ste,output = <OUTPUT_HIGH>;
54 slpm_pdis: slpm_pdis {
55 ste,sleep = <SLPM_ENABLED>;
56 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
57 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
60 slpm_wkup_pdis: slpm_wkup_pdis {
61 ste,sleep = <SLPM_ENABLED>;
62 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
63 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
66 slpm_wkup_pdis_en: slpm_wkup_pdis_en {
67 ste,sleep = <SLPM_ENABLED>;
68 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
69 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
72 slpm_in_pu: slpm_in_pu {
73 ste,sleep = <SLPM_ENABLED>;
74 ste,sleep-input = <SLPM_INPUT_PULLUP>;
75 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
78 slpm_in_pdis: slpm_in_pdis {
79 ste,sleep = <SLPM_ENABLED>;
80 ste,sleep-input = <SLPM_DIR_INPUT>;
81 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
82 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
85 slpm_in_wkup_pdis: slpm_in_wkup_pdis {
86 ste,sleep = <SLPM_ENABLED>;
87 ste,sleep-input = <SLPM_DIR_INPUT>;
88 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
89 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
92 slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
93 ste,sleep = <SLPM_ENABLED>;
94 ste,sleep-input = <SLPM_DIR_INPUT>;
95 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
96 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
99 slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
100 ste,sleep = <SLPM_ENABLED>;
101 ste,sleep-input = <SLPM_INPUT_PULLUP>;
102 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
103 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
106 slpm_out_lo: slpm_out_lo {
107 ste,sleep = <SLPM_ENABLED>;
108 ste,sleep-output = <SLPM_OUTPUT_LOW>;
109 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
112 slpm_out_hi: slpm_out_hi {
113 ste,sleep = <SLPM_ENABLED>;
114 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
115 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
118 slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
119 ste,sleep = <SLPM_ENABLED>;
120 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
121 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
122 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
125 slpm_out_lo_pdis: slpm_out_lo_pdis {
126 ste,sleep = <SLPM_ENABLED>;
127 ste,sleep-output = <SLPM_OUTPUT_LOW>;
128 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
129 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
132 slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
133 ste,sleep = <SLPM_ENABLED>;
134 ste,sleep-output = <SLPM_OUTPUT_LOW>;
135 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
136 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
139 slpm_out_wkup_pdis: slpm_out_wkup_pdis {
140 ste,sleep = <SLPM_ENABLED>;
141 ste,sleep-output = <SLPM_DIR_OUTPUT>;
142 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
143 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
146 in_wkup_pdis: in_wkup_pdis {
147 ste,sleep-input = <SLPM_DIR_INPUT>;
148 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
149 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
152 in_wkup_pdis_en: in_wkup_pdis_en {
153 ste,sleep-input = <SLPM_DIR_INPUT>;
154 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
155 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
158 out_lo_wkup_pdis: out_lo_wkup_pdis {
159 ste,sleep-output = <SLPM_OUTPUT_LOW>;
160 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
161 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
164 out_hi_wkup_pdis: out_hi_wkup_pdis {
165 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
166 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
167 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
170 out_wkup_pdis: out_wkup_pdis {
171 ste,sleep-output = <SLPM_DIR_OUTPUT>;
172 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
173 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;