1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2012 ST-Ericsson
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/nomadik.h>
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	in_nopull: in_nopull {
9*f126890aSEmmanuel Vadot		ste,input = <INPUT_NOPULL>;
10*f126890aSEmmanuel Vadot	};
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot	in_pu: input_pull_up {
13*f126890aSEmmanuel Vadot		ste,input = <INPUT_PULLUP>;
14*f126890aSEmmanuel Vadot	};
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	in_pd: input_pull_down {
17*f126890aSEmmanuel Vadot		ste,input = <INPUT_PULLDOWN>;
18*f126890aSEmmanuel Vadot	};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	out_hi: output_high {
21*f126890aSEmmanuel Vadot		ste,output = <OUTPUT_HIGH>;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	out_lo: output_low {
25*f126890aSEmmanuel Vadot		ste,output = <OUTPUT_LOW>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	gpio_in_nopull: gpio_input_nopull {
29*f126890aSEmmanuel Vadot		ste,gpio = <GPIOMODE_ENABLED>;
30*f126890aSEmmanuel Vadot		ste,input = <INPUT_NOPULL>;
31*f126890aSEmmanuel Vadot	};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot	gpio_in_pu: gpio_input_pull_up {
34*f126890aSEmmanuel Vadot		ste,gpio = <GPIOMODE_ENABLED>;
35*f126890aSEmmanuel Vadot		ste,input = <INPUT_PULLUP>;
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot	gpio_in_pd: gpio_input_pull_down {
39*f126890aSEmmanuel Vadot		ste,gpio = <GPIOMODE_ENABLED>;
40*f126890aSEmmanuel Vadot		ste,input = <INPUT_PULLDOWN>;
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	gpio_out_lo: gpio_output_low {
44*f126890aSEmmanuel Vadot		ste,gpio = <GPIOMODE_ENABLED>;
45*f126890aSEmmanuel Vadot		ste,output = <OUTPUT_LOW>;
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	gpio_out_hi: gpio_output_high {
49*f126890aSEmmanuel Vadot		ste,gpio = <GPIOMODE_ENABLED>;
50*f126890aSEmmanuel Vadot		ste,output = <OUTPUT_HIGH>;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot	slpm_pdis: slpm_pdis {
54*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
55*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
56*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
57*f126890aSEmmanuel Vadot	};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot	slpm_wkup_pdis: slpm_wkup_pdis {
60*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
61*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
62*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
63*f126890aSEmmanuel Vadot	};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot	slpm_wkup_pdis_en: slpm_wkup_pdis_en {
66*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
67*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
68*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
69*f126890aSEmmanuel Vadot	};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot	slpm_in_pu: slpm_in_pu {
72*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
73*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_INPUT_PULLUP>;
74*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
75*f126890aSEmmanuel Vadot	};
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot	slpm_in_pdis: slpm_in_pdis {
78*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
79*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_DIR_INPUT>;
80*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
81*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
82*f126890aSEmmanuel Vadot	};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot	slpm_in_wkup_pdis: slpm_in_wkup_pdis {
85*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
86*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_DIR_INPUT>;
87*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
88*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
89*f126890aSEmmanuel Vadot	};
90*f126890aSEmmanuel Vadot
91*f126890aSEmmanuel Vadot	slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
92*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
93*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_DIR_INPUT>;
94*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
95*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
96*f126890aSEmmanuel Vadot	};
97*f126890aSEmmanuel Vadot
98*f126890aSEmmanuel Vadot	slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
99*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
100*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_INPUT_PULLUP>;
101*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
102*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
103*f126890aSEmmanuel Vadot	};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot	slpm_out_lo: slpm_out_lo {
106*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
107*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_LOW>;
108*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
109*f126890aSEmmanuel Vadot	};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot	slpm_out_hi: slpm_out_hi {
112*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
113*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
114*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
115*f126890aSEmmanuel Vadot	};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot	slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
118*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
119*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
120*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
121*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
122*f126890aSEmmanuel Vadot	};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot	slpm_out_lo_pdis: slpm_out_lo_pdis {
125*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
126*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_LOW>;
127*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
128*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
129*f126890aSEmmanuel Vadot	};
130*f126890aSEmmanuel Vadot
131*f126890aSEmmanuel Vadot	slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
132*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
133*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_LOW>;
134*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
135*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
136*f126890aSEmmanuel Vadot	};
137*f126890aSEmmanuel Vadot
138*f126890aSEmmanuel Vadot	slpm_out_wkup_pdis: slpm_out_wkup_pdis {
139*f126890aSEmmanuel Vadot		ste,sleep = <SLPM_ENABLED>;
140*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_DIR_OUTPUT>;
141*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
142*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
143*f126890aSEmmanuel Vadot	};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot	in_wkup_pdis: in_wkup_pdis {
146*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_DIR_INPUT>;
147*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
148*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
149*f126890aSEmmanuel Vadot	};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot	in_wkup_pdis_en: in_wkup_pdis_en {
152*f126890aSEmmanuel Vadot		ste,sleep-input = <SLPM_DIR_INPUT>;
153*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
154*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
155*f126890aSEmmanuel Vadot	};
156*f126890aSEmmanuel Vadot
157*f126890aSEmmanuel Vadot	out_lo_wkup_pdis: out_lo_wkup_pdis {
158*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_LOW>;
159*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
160*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
161*f126890aSEmmanuel Vadot	};
162*f126890aSEmmanuel Vadot
163*f126890aSEmmanuel Vadot	out_hi_wkup_pdis: out_hi_wkup_pdis {
164*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
165*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
166*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
167*f126890aSEmmanuel Vadot	};
168*f126890aSEmmanuel Vadot
169*f126890aSEmmanuel Vadot	out_wkup_pdis: out_wkup_pdis {
170*f126890aSEmmanuel Vadot		ste,sleep-output = <SLPM_DIR_OUTPUT>;
171*f126890aSEmmanuel Vadot		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
172*f126890aSEmmanuel Vadot		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
173*f126890aSEmmanuel Vadot	};
174*f126890aSEmmanuel Vadot};
175