0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * Copyright 2012 ST-Ericsson
0004 */
0005 #include <dt-bindings/pinctrl/nomadik.h>
0006
0007 / {
0008 in_nopull: in_nopull {
0009 ste,input = <INPUT_NOPULL>;
0010 };
0011
0012 in_pu: input_pull_up {
0013 ste,input = <INPUT_PULLUP>;
0014 };
0015
0016 in_pd: input_pull_down {
0017 ste,input = <INPUT_PULLDOWN>;
0018 };
0019
0020 out_hi: output_high {
0021 ste,output = <OUTPUT_HIGH>;
0022 };
0023
0024 out_lo: output_low {
0025 ste,output = <OUTPUT_LOW>;
0026 };
0027
0028 gpio_in_nopull: gpio_input_nopull {
0029 ste,gpio = <GPIOMODE_ENABLED>;
0030 ste,input = <INPUT_NOPULL>;
0031 };
0032
0033 gpio_in_pu: gpio_input_pull_up {
0034 ste,gpio = <GPIOMODE_ENABLED>;
0035 ste,input = <INPUT_PULLUP>;
0036 };
0037
0038 gpio_in_pd: gpio_input_pull_down {
0039 ste,gpio = <GPIOMODE_ENABLED>;
0040 ste,input = <INPUT_PULLDOWN>;
0041 };
0042
0043 gpio_out_lo: gpio_output_low {
0044 ste,gpio = <GPIOMODE_ENABLED>;
0045 ste,output = <OUTPUT_LOW>;
0046 };
0047
0048 gpio_out_hi: gpio_output_high {
0049 ste,gpio = <GPIOMODE_ENABLED>;
0050 ste,output = <OUTPUT_HIGH>;
0051 };
0052
0053 slpm_pdis: slpm_pdis {
0054 ste,sleep = <SLPM_ENABLED>;
0055 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
0056 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0057 };
0058
0059 slpm_wkup_pdis: slpm_wkup_pdis {
0060 ste,sleep = <SLPM_ENABLED>;
0061 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0062 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0063 };
0064
0065 slpm_wkup_pdis_en: slpm_wkup_pdis_en {
0066 ste,sleep = <SLPM_ENABLED>;
0067 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0068 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
0069 };
0070
0071 slpm_in_pu: slpm_in_pu {
0072 ste,sleep = <SLPM_ENABLED>;
0073 ste,sleep-input = <SLPM_INPUT_PULLUP>;
0074 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0075 };
0076
0077 slpm_in_pdis: slpm_in_pdis {
0078 ste,sleep = <SLPM_ENABLED>;
0079 ste,sleep-input = <SLPM_DIR_INPUT>;
0080 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
0081 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0082 };
0083
0084 slpm_in_wkup_pdis: slpm_in_wkup_pdis {
0085 ste,sleep = <SLPM_ENABLED>;
0086 ste,sleep-input = <SLPM_DIR_INPUT>;
0087 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0088 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0089 };
0090
0091 slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
0092 ste,sleep = <SLPM_ENABLED>;
0093 ste,sleep-input = <SLPM_DIR_INPUT>;
0094 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0095 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
0096 };
0097
0098 slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
0099 ste,sleep = <SLPM_ENABLED>;
0100 ste,sleep-input = <SLPM_INPUT_PULLUP>;
0101 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0102 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
0103 };
0104
0105 slpm_out_lo: slpm_out_lo {
0106 ste,sleep = <SLPM_ENABLED>;
0107 ste,sleep-output = <SLPM_OUTPUT_LOW>;
0108 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0109 };
0110
0111 slpm_out_hi: slpm_out_hi {
0112 ste,sleep = <SLPM_ENABLED>;
0113 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
0114 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0115 };
0116
0117 slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
0118 ste,sleep = <SLPM_ENABLED>;
0119 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
0120 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0121 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0122 };
0123
0124 slpm_out_lo_pdis: slpm_out_lo_pdis {
0125 ste,sleep = <SLPM_ENABLED>;
0126 ste,sleep-output = <SLPM_OUTPUT_LOW>;
0127 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
0128 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0129 };
0130
0131 slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
0132 ste,sleep = <SLPM_ENABLED>;
0133 ste,sleep-output = <SLPM_OUTPUT_LOW>;
0134 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0135 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0136 };
0137
0138 slpm_out_wkup_pdis: slpm_out_wkup_pdis {
0139 ste,sleep = <SLPM_ENABLED>;
0140 ste,sleep-output = <SLPM_DIR_OUTPUT>;
0141 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0142 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0143 };
0144
0145 in_wkup_pdis: in_wkup_pdis {
0146 ste,sleep-input = <SLPM_DIR_INPUT>;
0147 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0148 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0149 };
0150
0151 in_wkup_pdis_en: in_wkup_pdis_en {
0152 ste,sleep-input = <SLPM_DIR_INPUT>;
0153 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0154 ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
0155 };
0156
0157 out_lo_wkup_pdis: out_lo_wkup_pdis {
0158 ste,sleep-output = <SLPM_OUTPUT_LOW>;
0159 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0160 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0161 };
0162
0163 out_hi_wkup_pdis: out_hi_wkup_pdis {
0164 ste,sleep-output = <SLPM_OUTPUT_HIGH>;
0165 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0166 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0167 };
0168
0169 out_wkup_pdis: out_wkup_pdis {
0170 ste,sleep-output = <SLPM_DIR_OUTPUT>;
0171 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
0172 ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
0173 };
0174 };