Commit 28cce954 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

ARM: dts: lager: Configure pull-up for SOFT_SW GPIO keys

The GPIO pins connected to the 4 Software Switches (SW2) do not have
external pull-up resistors, but rely on internal pull-ups being enabled.
Fortunately this is satisfied by the initial state of these pins.

Make this explicit by enabling bias-pull-up, to remove the dependency on
initial state and/or boot loader configuration.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/9fae3c0c2c0000f6b43c9ce87fe64a594b30a7da.1619785905.git.geert+renesas@glider.be
parent 659b3820
...@@ -81,6 +81,9 @@ lbsc { ...@@ -81,6 +81,9 @@ lbsc {
keyboard { keyboard {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-0 = <&keyboard_pins>;
pinctrl-names = "default";
one { one {
linux,code = <KEY_1>; linux,code = <KEY_1>;
label = "SW2-1"; label = "SW2-1";
...@@ -659,6 +662,11 @@ sound_clk_pins: sound_clk { ...@@ -659,6 +662,11 @@ sound_clk_pins: sound_clk {
groups = "audio_clk_a"; groups = "audio_clk_a";
function = "audio_clk"; function = "audio_clk";
}; };
keyboard_pins: keyboard {
pins = "GP_1_14", "GP_1_24", "GP_1_26", "GP_1_28";
bias-pull-up;
};
}; };
&ether { &ether {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment