summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch31
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch
new file mode 100644
index 0000000..c2dd44c
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch
@@ -0,0 +1,31 @@
+From c262385706e1d3a25d6b21b53099e4dea4156861 Mon Sep 17 00:00:00 2001
+From: Mike Nicholson <mike.nicholson@multitech.com>
+Date: Mon, 7 Jan 2019 15:25:52 -0600
+Subject: [PATCH] Add radio control with pullups
+
+---
+ arch/arm/boot/dts/mtrv1.dts | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/arch/arm/boot/dts/mtrv1.dts b/arch/arm/boot/dts/mtrv1.dts
+index dbd113df..50bac466 100644
+--- a/arch/arm/boot/dts/mtrv1.dts
++++ b/arch/arm/boot/dts/mtrv1.dts
+@@ -86,6 +86,14 @@
+ atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
+ };
+ };
++
++ radio_control {
++ pinctrl_radio_control: radio_control-0 {
++ atmel,pins =
++ <AT91_PIOA 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA22 GPIO pull-up radio-power */
++ AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PA22 GPIO pull-up radio-reset */
++ };
++ };
+ };
+
+ rtc@fffffeb0 {
+--
+2.19.2
+
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb
index 2e73876..67f0805 100644
--- a/recipes-kernel/linux/linux-at91_4.9.87.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.87.bb
@@ -50,6 +50,7 @@ SRC_URI_append_mtrv1 = "\
file://linux-4.9-mtrv1-device-tree.patch \
file://950-0090-OF-DT-Overlay-configfs-interface.patch \
file://linux-4.9-spidev_squack.patch \
+ file://0001-Add-radio-control-with-pullups.patch \
"
DTB_APPEND_mtcdt = "mtcdt"