diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-11-15 13:43:02 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-11-26 21:01:56 +0100 |
commit | 1a780d45b10eb904be6a923fa09365255b5e733b (patch) | |
tree | 15a4f457084bb861dfe013b266a517a68d236ce1 /arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi | |
parent | ARM: ux500: move old HREF ipgpio to the device tree (diff) | |
download | linux-1a780d45b10eb904be6a923fa09365255b5e733b.tar.xz linux-1a780d45b10eb904be6a923fa09365255b5e733b.zip |
ARM: ux500: move GPIO key configuration to device tree
This moves over the configuration of the GPIO keys (used for
proximity sensor and Hall effect sensor) from the static pin
configuration file to the device tree. As part of the exercise,
implement the GPIO keys properly in a per-UIB file as this
setup actually differs with each UIB.
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 ee143b0a5baa..e6f22b266420 100644 --- a/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-pinctrl.dtsi @@ -36,6 +36,11 @@ ste,input = <INPUT_PULLUP>; }; + gpio_in_pd: gpio_input_pull_down { + ste,gpio = <GPIOMODE_ENABLED>; + ste,input = <INPUT_PULLDOWN>; + }; + gpio_out_lo: gpio_output_low { ste,gpio = <GPIOMODE_ENABLED>; ste,output = <OUTPUT_LOW>; |