diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2019-11-25 15:22:56 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-12-09 16:45:01 +0300 |
commit | 96b619e3c1dfd7464652265d17ee8c07ef5cca92 (patch) | |
tree | 261355073647d817060cbe3676c6410ba1020758 /arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi | |
parent | 99e1df6136254c2b763d3d5ad23ede005f2e5b2b (diff) | |
download | linux-96b619e3c1dfd7464652265d17ee8c07ef5cca92.tar.xz |
ARM: dts: ux500: nomadik-pinctrl: Add &gpio_in_nopull
ste-nomadik-pinctrl.dtsi already defines in_nopull and gpio_in_pu/pd,
but there is no node to configure a pin as GPIO without pull up/down.
Add a new &gpio_in_nopull node for this.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20191125122256.53482-5-stephan@gerhold.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi')
-rw-r--r-- | arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi b/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi index 5673a1113aef..bfdb5d9a014f 100644 --- a/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi @@ -25,6 +25,11 @@ ste,output = <OUTPUT_LOW>; }; + gpio_in_nopull: gpio_input_nopull { + ste,gpio = <GPIOMODE_ENABLED>; + ste,input = <INPUT_NOPULL>; + }; + gpio_in_pu: gpio_input_pull_up { ste,gpio = <GPIOMODE_ENABLED>; ste,input = <INPUT_PULLUP>; |