From 3ec4569fe1de42ed918e76d2f6e3c9d9ccc56c6e Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Mon, 7 Jan 2019 16:23:23 -0600 Subject: Add pull-up patch for MTRv1 radio power / reset --- .../0001-Add-radio-control-with-pullups.patch | 31 ++++++++++++++++++++++ recipes-kernel/linux/linux-at91_4.9.87.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 recipes-kernel/linux/linux-at91-4.9.87/mtrv1/0001-Add-radio-control-with-pullups.patch (limited to 'recipes-kernel/linux') 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 +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 = ; /* PB18 multidrive, conflicts with led */ + }; + }; ++ ++ radio_control { ++ pinctrl_radio_control: radio_control-0 { ++ atmel,pins = ++ ; /* 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" -- cgit v1.2.3