2019-05-27 00:55:08 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2013-06-12 08:35:34 -06:00
|
|
|
/*
|
|
|
|
* Copyright 2012 ST-Ericsson
|
|
|
|
*/
|
|
|
|
#include <dt-bindings/pinctrl/nomadik.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
in_nopull: in_nopull {
|
|
|
|
ste,input = <INPUT_NOPULL>;
|
|
|
|
};
|
|
|
|
|
|
|
|
in_pu: input_pull_up {
|
|
|
|
ste,input = <INPUT_PULLUP>;
|
|
|
|
};
|
|
|
|
|
|
|
|
in_pd: input_pull_down {
|
|
|
|
ste,input = <INPUT_PULLDOWN>;
|
|
|
|
};
|
|
|
|
|
|
|
|
out_hi: output_high {
|
|
|
|
ste,output = <OUTPUT_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
out_lo: output_low {
|
|
|
|
ste,output = <OUTPUT_LOW>;
|
|
|
|
};
|
|
|
|
|
2013-11-13 06:57:49 -07:00
|
|
|
gpio_in_pu: gpio_input_pull_up {
|
|
|
|
ste,gpio = <GPIOMODE_ENABLED>;
|
|
|
|
ste,input = <INPUT_PULLUP>;
|
|
|
|
};
|
|
|
|
|
2013-11-15 05:43:02 -07:00
|
|
|
gpio_in_pd: gpio_input_pull_down {
|
|
|
|
ste,gpio = <GPIOMODE_ENABLED>;
|
|
|
|
ste,input = <INPUT_PULLDOWN>;
|
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
gpio_out_lo: gpio_output_low {
|
|
|
|
ste,gpio = <GPIOMODE_ENABLED>;
|
|
|
|
ste,output = <OUTPUT_LOW>;
|
|
|
|
};
|
|
|
|
|
2013-11-14 02:27:40 -07:00
|
|
|
gpio_out_hi: gpio_output_high {
|
|
|
|
ste,gpio = <GPIOMODE_ENABLED>;
|
|
|
|
ste,output = <OUTPUT_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
slpm_pdis: slpm_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
|
|
|
slpm_wkup_pdis: slpm_wkup_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-11-13 07:59:40 -07:00
|
|
|
slpm_wkup_pdis_en: slpm_wkup_pdis_en {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
|
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
slpm_in_pu: slpm_in_pu {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-input = <SLPM_INPUT_PULLUP>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
};
|
|
|
|
|
2013-11-14 02:27:40 -07:00
|
|
|
slpm_in_pdis: slpm_in_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-input = <SLPM_DIR_INPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
slpm_in_wkup_pdis: slpm_in_wkup_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-input = <SLPM_DIR_INPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-11-13 07:59:40 -07:00
|
|
|
slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-input = <SLPM_DIR_INPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
|
2013-11-15 01:20:28 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-input = <SLPM_INPUT_PULLUP>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
|
2013-11-13 07:59:40 -07:00
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
slpm_out_lo: slpm_out_lo {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_LOW>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
slpm_out_hi: slpm_out_hi {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_HIGH>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_HIGH>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-11-14 02:27:40 -07:00
|
|
|
slpm_out_lo_pdis: slpm_out_lo_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_LOW>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-11-13 05:46:57 -07:00
|
|
|
slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_LOW>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
slpm_out_wkup_pdis: slpm_out_wkup_pdis {
|
|
|
|
ste,sleep = <SLPM_ENABLED>;
|
|
|
|
ste,sleep-output = <SLPM_DIR_OUTPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
|
|
|
in_wkup_pdis: in_wkup_pdis {
|
|
|
|
ste,sleep-input = <SLPM_DIR_INPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-11-13 05:46:57 -07:00
|
|
|
in_wkup_pdis_en: in_wkup_pdis_en {
|
|
|
|
ste,sleep-input = <SLPM_DIR_INPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
|
|
|
|
};
|
|
|
|
|
|
|
|
out_lo_wkup_pdis: out_lo_wkup_pdis {
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_LOW>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
2013-06-12 08:35:34 -06:00
|
|
|
out_hi_wkup_pdis: out_hi_wkup_pdis {
|
|
|
|
ste,sleep-output = <SLPM_OUTPUT_HIGH>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
|
|
|
|
out_wkup_pdis: out_wkup_pdis {
|
|
|
|
ste,sleep-output = <SLPM_DIR_OUTPUT>;
|
|
|
|
ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
|
|
|
|
ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
|
|
|
|
};
|
|
|
|
};
|