diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-08-26 13:38:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-28 13:35:26 +0200 |
commit | f316fd53ceee520963836b9a5f19afbd0249438c (patch) | |
tree | 750cff483e9eb2526cc4b1afb1c5a4f3c881d34e /arch | |
parent | 8e8365948601109f380e29d5fc8235d6905beda5 (diff) | |
download | barebox-f316fd53ceee520963836b9a5f19afbd0249438c.tar.gz barebox-f316fd53ceee520963836b9a5f19afbd0249438c.tar.xz |
MIPS: dts: dpt-module: fix gpio button
GPIO11 is set to 0 by default and there is no internal pull ups
to set a different configuration. To fix the system with gpio-key
activated we need to fix devicetree first.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/dts/ar9331-dptechnics-dpt-module.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts index f0de46315c..315589aab9 100644 --- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts +++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts @@ -24,6 +24,12 @@ barebox,default-trigger = "heartbeat"; }; }; + + gpio-keys { + button@0 { + gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; + }; + }; }; &spiflash { |