summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-08-26 13:38:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-08-28 13:35:26 +0200
commitf316fd53ceee520963836b9a5f19afbd0249438c (patch)
tree750cff483e9eb2526cc4b1afb1c5a4f3c881d34e /arch/mips
parent8e8365948601109f380e29d5fc8235d6905beda5 (diff)
downloadbarebox-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/mips')
-rw-r--r--arch/mips/dts/ar9331-dptechnics-dpt-module.dts6
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 {