162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright 2012 ST-Ericsson
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#include <dt-bindings/pinctrl/nomadik.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci/ {
862306a36Sopenharmony_ci	in_nopull: in_nopull {
962306a36Sopenharmony_ci		ste,input = <INPUT_NOPULL>;
1062306a36Sopenharmony_ci	};
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	in_pu: input_pull_up {
1362306a36Sopenharmony_ci		ste,input = <INPUT_PULLUP>;
1462306a36Sopenharmony_ci	};
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	in_pd: input_pull_down {
1762306a36Sopenharmony_ci		ste,input = <INPUT_PULLDOWN>;
1862306a36Sopenharmony_ci	};
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	out_hi: output_high {
2162306a36Sopenharmony_ci		ste,output = <OUTPUT_HIGH>;
2262306a36Sopenharmony_ci	};
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	out_lo: output_low {
2562306a36Sopenharmony_ci		ste,output = <OUTPUT_LOW>;
2662306a36Sopenharmony_ci	};
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	gpio_in_nopull: gpio_input_nopull {
2962306a36Sopenharmony_ci		ste,gpio = <GPIOMODE_ENABLED>;
3062306a36Sopenharmony_ci		ste,input = <INPUT_NOPULL>;
3162306a36Sopenharmony_ci	};
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci	gpio_in_pu: gpio_input_pull_up {
3462306a36Sopenharmony_ci		ste,gpio = <GPIOMODE_ENABLED>;
3562306a36Sopenharmony_ci		ste,input = <INPUT_PULLUP>;
3662306a36Sopenharmony_ci	};
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci	gpio_in_pd: gpio_input_pull_down {
3962306a36Sopenharmony_ci		ste,gpio = <GPIOMODE_ENABLED>;
4062306a36Sopenharmony_ci		ste,input = <INPUT_PULLDOWN>;
4162306a36Sopenharmony_ci	};
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci	gpio_out_lo: gpio_output_low {
4462306a36Sopenharmony_ci		ste,gpio = <GPIOMODE_ENABLED>;
4562306a36Sopenharmony_ci		ste,output = <OUTPUT_LOW>;
4662306a36Sopenharmony_ci	};
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	gpio_out_hi: gpio_output_high {
4962306a36Sopenharmony_ci		ste,gpio = <GPIOMODE_ENABLED>;
5062306a36Sopenharmony_ci		ste,output = <OUTPUT_HIGH>;
5162306a36Sopenharmony_ci	};
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci	slpm_pdis: slpm_pdis {
5462306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
5562306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
5662306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
5762306a36Sopenharmony_ci	};
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci	slpm_wkup_pdis: slpm_wkup_pdis {
6062306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
6162306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
6262306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
6362306a36Sopenharmony_ci	};
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ci	slpm_wkup_pdis_en: slpm_wkup_pdis_en {
6662306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
6762306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
6862306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
6962306a36Sopenharmony_ci	};
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ci	slpm_in_pu: slpm_in_pu {
7262306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
7362306a36Sopenharmony_ci		ste,sleep-input = <SLPM_INPUT_PULLUP>;
7462306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
7562306a36Sopenharmony_ci	};
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci	slpm_in_pdis: slpm_in_pdis {
7862306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
7962306a36Sopenharmony_ci		ste,sleep-input = <SLPM_DIR_INPUT>;
8062306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
8162306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
8262306a36Sopenharmony_ci	};
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ci	slpm_in_wkup_pdis: slpm_in_wkup_pdis {
8562306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
8662306a36Sopenharmony_ci		ste,sleep-input = <SLPM_DIR_INPUT>;
8762306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
8862306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
8962306a36Sopenharmony_ci	};
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ci	slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
9262306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
9362306a36Sopenharmony_ci		ste,sleep-input = <SLPM_DIR_INPUT>;
9462306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
9562306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
9662306a36Sopenharmony_ci	};
9762306a36Sopenharmony_ci
9862306a36Sopenharmony_ci	slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
9962306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
10062306a36Sopenharmony_ci		ste,sleep-input = <SLPM_INPUT_PULLUP>;
10162306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
10262306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
10362306a36Sopenharmony_ci	};
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ci	slpm_out_lo: slpm_out_lo {
10662306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
10762306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_LOW>;
10862306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
10962306a36Sopenharmony_ci	};
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci	slpm_out_hi: slpm_out_hi {
11262306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
11362306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
11462306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
11562306a36Sopenharmony_ci	};
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci	slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
11862306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
11962306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
12062306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
12162306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
12262306a36Sopenharmony_ci	};
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_ci	slpm_out_lo_pdis: slpm_out_lo_pdis {
12562306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
12662306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_LOW>;
12762306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
12862306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
12962306a36Sopenharmony_ci	};
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ci	slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
13262306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
13362306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_LOW>;
13462306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
13562306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
13662306a36Sopenharmony_ci	};
13762306a36Sopenharmony_ci
13862306a36Sopenharmony_ci	slpm_out_wkup_pdis: slpm_out_wkup_pdis {
13962306a36Sopenharmony_ci		ste,sleep = <SLPM_ENABLED>;
14062306a36Sopenharmony_ci		ste,sleep-output = <SLPM_DIR_OUTPUT>;
14162306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
14262306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
14362306a36Sopenharmony_ci	};
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ci	in_wkup_pdis: in_wkup_pdis {
14662306a36Sopenharmony_ci		ste,sleep-input = <SLPM_DIR_INPUT>;
14762306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
14862306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
14962306a36Sopenharmony_ci	};
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ci	in_wkup_pdis_en: in_wkup_pdis_en {
15262306a36Sopenharmony_ci		ste,sleep-input = <SLPM_DIR_INPUT>;
15362306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
15462306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
15562306a36Sopenharmony_ci	};
15662306a36Sopenharmony_ci
15762306a36Sopenharmony_ci	out_lo_wkup_pdis: out_lo_wkup_pdis {
15862306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_LOW>;
15962306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
16062306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
16162306a36Sopenharmony_ci	};
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ci	out_hi_wkup_pdis: out_hi_wkup_pdis {
16462306a36Sopenharmony_ci		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
16562306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
16662306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
16762306a36Sopenharmony_ci	};
16862306a36Sopenharmony_ci
16962306a36Sopenharmony_ci	out_wkup_pdis: out_wkup_pdis {
17062306a36Sopenharmony_ci		ste,sleep-output = <SLPM_DIR_OUTPUT>;
17162306a36Sopenharmony_ci		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
17262306a36Sopenharmony_ci		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
17362306a36Sopenharmony_ci	};
17462306a36Sopenharmony_ci};
175