From b5b2d27fea3e58ab5cab64408d7a1100982fa95a Mon Sep 17 00:00:00 2001 From: "botond.kardos@arroweurope.com" Date: Mon, 12 Oct 2020 10:39:40 +0200 Subject: [PATCH] 4 new GPIO keys added, hostapd-image v1.0.5 released --- .../recipes-bsp/base-files/files/etc/issue | 2 +- .../linux/files/0001-sama5d27-sd96-dt.patch | 36 ++++++++++++++++--- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/meta-sd96/recipes-bsp/base-files/files/etc/issue b/meta-sd96/recipes-bsp/base-files/files/etc/issue index f92332f..20e8739 100644 --- a/meta-sd96/recipes-bsp/base-files/files/etc/issue +++ b/meta-sd96/recipes-bsp/base-files/files/etc/issue @@ -1,2 +1,2 @@ -Shield96 v1.0.4 (based on linux4sam/meta-atmel/tree/dunfell) \n \l +Shield96 v1.0.5 (based on linux4sam/meta-atmel/tree/dunfell) \n \l diff --git a/meta-sd96/recipes-bsp/linux/files/0001-sama5d27-sd96-dt.patch b/meta-sd96/recipes-bsp/linux/files/0001-sama5d27-sd96-dt.patch index 3e7b15c..b4a07ec 100644 --- a/meta-sd96/recipes-bsp/linux/files/0001-sama5d27-sd96-dt.patch +++ b/meta-sd96/recipes-bsp/linux/files/0001-sama5d27-sd96-dt.patch @@ -1,6 +1,6 @@ diff -Naurw ./arch/arm/boot/dts/at91-sama5d27_som1.dtsi ../kernel-source/arch/arm/boot/dts/at91-sama5d27_som1.dtsi ---- ./arch/arm/boot/dts/at91-sama5d27_som1.dtsi 2020-08-10 14:01:34.301723855 +0200 -+++ ../kernel-source/arch/arm/boot/dts/at91-sama5d27_som1.dtsi 2020-08-10 14:02:45.462571276 +0200 +--- ./arch/arm/boot/dts/at91-sama5d27_som1.dtsi 2020-08-10 14:01:34.301723855 +0200 ++++ ../kernel-source/arch/arm/boot/dts/at91-sama5d27_som1.dtsi 2020-08-10 14:02:45.462571276 +0200 @@ -23,7 +23,7 @@ }; @@ -12,8 +12,8 @@ diff -Naurw ./arch/arm/boot/dts/at91-sama5d27_som1.dtsi ../kernel-source/arch/ar diff -Naurw ./arch/arm/boot/dts/sama5d27_sd96.dts ../kernel-source/arch/arm/boot/dts/sama5d27_sd96.dts --- ./arch/arm/boot/dts/sama5d27_sd96.dts 1970-01-01 01:00:00.000000000 +0100 -+++ ../kernel-source/arch/arm/boot/dts/sama5d27_sd96.dts 2020-08-10 14:02:45.462571276 +0200 -@@ -0,0 +1,618 @@ ++++ ../kernel-source/arch/arm/boot/dts/sama5d27_sd96.dts 2020-10-12 10:18:26.858109120 +0200 +@@ -0,0 +1,646 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board @@ -567,6 +567,34 @@ diff -Naurw ./arch/arm/boot/dts/sama5d27_sd96.dts ../kernel-source/arch/arm/boot + linux,code = <0x104>; + wakeup-source; + }; ++ ++ pb5 { ++ label = "DIN-1"; ++ gpios = <&pioA PIN_PB26 GPIO_ACTIVE_LOW>; ++ linux,code = <0x105>; ++ wakeup-source; ++ }; ++ ++ pb6 { ++ label = "DIN-2"; ++ gpios = <&pioA PIN_PB21 GPIO_ACTIVE_LOW>; ++ linux,code = <0x106>; ++ wakeup-source; ++ }; ++ ++ pb7 { ++ label = "DIN-3"; ++ gpios = <&pioA PIN_PB27 GPIO_ACTIVE_LOW>; ++ linux,code = <0x107>; ++ wakeup-source; ++ }; ++ ++ pb8 { ++ label = "DIN-4"; ++ gpios = <&pioA PIN_PB12 GPIO_ACTIVE_LOW>; ++ linux,code = <0x108>; ++ wakeup-source; ++ }; + }; + + leds {