diff options
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi')
| -rw-r--r-- | arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi b/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi new file mode 100644 index 000000000000..efddee9403c4 --- /dev/null +++ b/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2012 ST-Ericsson | ||
| 3 | * | ||
| 4 | * The code contained herein is licensed under the GNU General Public | ||
| 5 | * License. You may obtain a copy of the GNU General Public License | ||
| 6 | * Version 2 or later at the following locations: | ||
| 7 | * | ||
| 8 | * http://www.opensource.org/licenses/gpl-license.html | ||
| 9 | * http://www.gnu.org/copyleft/gpl.html | ||
| 10 | */ | ||
| 11 | #include <dt-bindings/pinctrl/nomadik.h> | ||
| 12 | |||
| 13 | / { | ||
| 14 | in_nopull: in_nopull { | ||
| 15 | ste,input = <INPUT_NOPULL>; | ||
| 16 | }; | ||
| 17 | |||
| 18 | in_pu: input_pull_up { | ||
| 19 | ste,input = <INPUT_PULLUP>; | ||
| 20 | }; | ||
| 21 | |||
| 22 | in_pd: input_pull_down { | ||
| 23 | ste,input = <INPUT_PULLDOWN>; | ||
| 24 | }; | ||
| 25 | |||
| 26 | out_hi: output_high { | ||
| 27 | ste,output = <OUTPUT_HIGH>; | ||
| 28 | }; | ||
| 29 | |||
| 30 | out_lo: output_low { | ||
| 31 | ste,output = <OUTPUT_LOW>; | ||
| 32 | }; | ||
| 33 | |||
| 34 | gpio_out_lo: gpio_output_low { | ||
| 35 | ste,gpio = <GPIOMODE_ENABLED>; | ||
| 36 | ste,output = <OUTPUT_LOW>; | ||
| 37 | }; | ||
| 38 | |||
| 39 | slpm_in_pu: slpm_in_pu { | ||
| 40 | ste,sleep = <SLPM_ENABLED>; | ||
| 41 | ste,sleep-input = <SLPM_INPUT_PULLUP>; | ||
| 42 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 43 | }; | ||
| 44 | |||
| 45 | slpm_in_wkup_pdis: slpm_in_wkup_pdis { | ||
| 46 | ste,sleep = <SLPM_ENABLED>; | ||
| 47 | ste,sleep-input = <SLPM_DIR_INPUT>; | ||
| 48 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 49 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 50 | }; | ||
| 51 | |||
| 52 | slpm_out_lo: slpm_out_lo { | ||
| 53 | ste,sleep = <SLPM_ENABLED>; | ||
| 54 | ste,sleep-output = <SLPM_OUTPUT_LOW>; | ||
| 55 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 56 | }; | ||
| 57 | |||
| 58 | slpm_out_hi: slpm_out_hi { | ||
| 59 | ste,sleep = <SLPM_ENABLED>; | ||
| 60 | ste,sleep-output = <SLPM_OUTPUT_HIGH>; | ||
| 61 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 62 | }; | ||
| 63 | |||
| 64 | slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis { | ||
| 65 | ste,sleep = <SLPM_ENABLED>; | ||
| 66 | ste,sleep-output = <SLPM_OUTPUT_HIGH>; | ||
| 67 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 68 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 69 | }; | ||
| 70 | |||
| 71 | slpm_out_wkup_pdis: slpm_out_wkup_pdis { | ||
| 72 | ste,sleep = <SLPM_ENABLED>; | ||
| 73 | ste,sleep-output = <SLPM_DIR_OUTPUT>; | ||
| 74 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 75 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 76 | }; | ||
| 77 | |||
| 78 | in_wkup_pdis: in_wkup_pdis { | ||
| 79 | ste,sleep-input = <SLPM_DIR_INPUT>; | ||
| 80 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 81 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 82 | }; | ||
| 83 | |||
| 84 | out_hi_wkup_pdis: out_hi_wkup_pdis { | ||
| 85 | ste,sleep-output = <SLPM_OUTPUT_HIGH>; | ||
| 86 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 87 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 88 | }; | ||
| 89 | |||
| 90 | out_wkup_pdis: out_wkup_pdis { | ||
| 91 | ste,sleep-output = <SLPM_DIR_OUTPUT>; | ||
| 92 | ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; | ||
| 93 | ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>; | ||
| 94 | }; | ||
| 95 | }; | ||
