From 07bee60a11de8752345df94550b0ec27842a49ec Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 22 Feb 2019 05:05:18 -0600 Subject: Add PPS for MTRV1-0.0 and MTRV1-0.1 --- .../mtrv1/linux-4.9-mtrv1-device-tree.patch | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch') diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch index 1a26150..ebc778c 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch @@ -1,7 +1,7 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtrv1.dts linux-4.9.87/arch/arm/boot/dts/mtrv1.dts --- linux-4.9.87.orig/arch/arm/boot/dts/mtrv1.dts 1969-12-31 18:00:00.000000000 -0600 -+++ linux-4.9.87/arch/arm/boot/dts/mtrv1.dts 2019-02-05 10:02:39.107727466 -0600 -@@ -0,0 +1,261 @@ ++++ linux-4.9.87/arch/arm/boot/dts/mtrv1.dts 2019-02-22 05:00:36.541276896 -0600 +@@ -0,0 +1,265 @@ +/* + * DTS file for Multi-Tech Systems MTRv1 Hardware + * @@ -247,14 +247,18 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtrv1.dts linux-4.9.87/arch/arm/b + }; + }; + -+ 1wire_cm { -+ compatible = "w1-gpio"; -+ gpios = <&pioB 18 GPIO_ACTIVE_HIGH>; -+ linux,open-drain; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&pinctrl_1wire_cm>; -+ status = "okay"; -+ }; ++ pps-0 { ++ compatible = "pps-gpio"; ++ gpios = <&pioB 18 0>; ++ capture-clear; ++ status = "disabled"; ++ }; ++ pps-1 { ++ compatible = "pps-gpio"; ++ gpios = <&pioA 29 0>; ++ capture-clear; ++ status = "disabled"; ++ }; + + mts-io-0 { + status = "okay"; -- cgit v1.2.3