1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson
5 #include <dt-bindings/pinctrl/nomadik.h>
9 ste,input = <INPUT_NOPULL>;
12 in_pu: input_pull_up {
13 ste,input = <INPUT_PULLUP>;
16 in_pd: input_pull_down {
17 ste,input = <INPUT_PULLDOWN>;
21 ste,output = <OUTPUT_HIGH>;
25 ste,output = <OUTPUT_LOW>;
28 gpio_in_nopull: gpio_input_nopull {
29 ste,gpio = <GPIOMODE_ENABLED>;
30 ste,input = <INPUT_NOPULL>;
33 gpio_in_pu: gpio_input_pull_up {
34 ste,gpio = <GPIOMODE_ENABLED>;
35 ste,input = <INPUT_PULLUP>;
38 gpio_in_pd: gpio_input_pull_down {
39 ste,gpio = <GPIOMODE_ENABLED>;
40 ste,input = <INPUT_PULLDOWN>;
43 gpio_out_lo: gpio_output_low {
44 ste,gpio = <GPIOMODE_ENABLED>;
45 ste,output = <OUTPUT_LOW>;
48 gpio_out_hi: gpio_output_high {
49 ste,gpio = <GPIOMODE_ENABLED>;
50 ste,output = <OUTPUT_HIGH>;
53 slpm_pdis: slpm_pdis {
54 ste,sleep = <SLPM_ENABLED>;
55 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
56 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
59 slpm_wkup_pdis: slpm_wkup_pdis {
60 ste,sleep = <SLPM_ENABLED>;
61 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
62 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
65 slpm_wkup_pdis_en: slpm_wkup_pdis_en {
66 ste,sleep = <SLPM_ENABLED>;
67 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
68 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
71 slpm_in_pu: slpm_in_pu {
72 ste,sleep = <SLPM_ENABLED>;
73 ste,sleep-input = <SLPM_INPUT_PULLUP>;
74 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
77 slpm_in_pdis: slpm_in_pdis {
78 ste,sleep = <SLPM_ENABLED>;
79 ste,sleep-input = <SLPM_DIR_INPUT>;
80 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
81 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
84 slpm_in_wkup_pdis: slpm_in_wkup_pdis {
85 ste,sleep = <SLPM_ENABLED>;
86 ste,sleep-input = <SLPM_DIR_INPUT>;
87 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
88 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
91 slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
92 ste,sleep = <SLPM_ENABLED>;
93 ste,sleep-input = <SLPM_DIR_INPUT>;
94 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
95 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
98 slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
99 ste,sleep = <SLPM_ENABLED>;
100 ste,sleep-input = <SLPM_INPUT_PULLUP>;
101 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
102 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
105 slpm_out_lo: slpm_out_lo {
106 ste,sleep = <SLPM_ENABLED>;
107 ste,sleep-output = <SLPM_OUTPUT_LOW>;
108 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
111 slpm_out_hi: slpm_out_hi {
112 ste,sleep = <SLPM_ENABLED>;
113 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
114 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
117 slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
118 ste,sleep = <SLPM_ENABLED>;
119 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
120 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
121 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
124 slpm_out_lo_pdis: slpm_out_lo_pdis {
125 ste,sleep = <SLPM_ENABLED>;
126 ste,sleep-output = <SLPM_OUTPUT_LOW>;
127 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
128 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
131 slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
132 ste,sleep = <SLPM_ENABLED>;
133 ste,sleep-output = <SLPM_OUTPUT_LOW>;
134 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
135 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
138 slpm_out_wkup_pdis: slpm_out_wkup_pdis {
139 ste,sleep = <SLPM_ENABLED>;
140 ste,sleep-output = <SLPM_DIR_OUTPUT>;
141 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
142 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
145 in_wkup_pdis: in_wkup_pdis {
146 ste,sleep-input = <SLPM_DIR_INPUT>;
147 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
148 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
151 in_wkup_pdis_en: in_wkup_pdis_en {
152 ste,sleep-input = <SLPM_DIR_INPUT>;
153 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
154 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
157 out_lo_wkup_pdis: out_lo_wkup_pdis {
158 ste,sleep-output = <SLPM_OUTPUT_LOW>;
159 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
160 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
163 out_hi_wkup_pdis: out_hi_wkup_pdis {
164 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
165 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
166 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
169 out_wkup_pdis: out_wkup_pdis {
170 ste,sleep-output = <SLPM_DIR_OUTPUT>;
171 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
172 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;