From e946632f89dc6bfb6316e9f9235288e8a4b62850 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 24 Aug 2018 16:37:49 +0200 Subject: [PATCH] Free up the pins from the pinmux helper --- bbb-gpio-keypad-00A0.dts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bbb-gpio-keypad-00A0.dts b/bbb-gpio-keypad-00A0.dts index d8f7fc7..fb06c45 100644 --- a/bbb-gpio-keypad-00A0.dts +++ b/bbb-gpio-keypad-00A0.dts @@ -40,7 +40,20 @@ "P8.26", "P9.15"; + // Free up the pins from the pinmux helper fragment@0 { + target = <&ocp>; + __overlay__ { + P8_07_pinmux { status = "disabled"; }; + P8_08_pinmux { status = "disabled"; }; + P8_09_pinmux { status = "disabled"; }; + P8_10_pinmux { status = "disabled"; }; + P8_26_pinmux { status = "disabled"; }; + P9_15_pinmux { status = "disabled"; }; + }; + }; + + fragment@1 { target = <&am33xx_pinmux>; __overlay__ { keypad_pins: pinmux_gpio_pins { @@ -56,7 +69,7 @@ }; }; - fragment@1 { + fragment@2 { target-path = "/"; __overlay__ { gpio_keys { -- 2.1.4