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