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