summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch31
1 files changed, 31 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
+