1 From 228a56f5c3e7b796cedb9cf7e55c2bf16c534269 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 24 Jan 2018 20:00:48 +0000
4 Subject: [PATCH 171/454] overlays: Allow multiple pps-gpio instantiations
6 See: https://github.com/raspberrypi/linux/issues/2352
8 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
10 arch/arm/boot/dts/overlays/pps-gpio-overlay.dts | 8 +++++---
11 1 file changed, 5 insertions(+), 3 deletions(-)
13 --- a/arch/arm/boot/dts/overlays/pps-gpio-overlay.dts
14 +++ b/arch/arm/boot/dts/overlays/pps-gpio-overlay.dts
21 compatible = "pps-gpio";
22 pinctrl-names = "default";
23 pinctrl-0 = <&pps_pins>;
28 - pps_pins: pps_pins {
29 + pps_pins: pps_pins@12 {
31 brcm,function = <0>; // in
32 brcm,pull = <0>; // off
36 gpiopin = <&pps>,"gpios:4",
37 - <&pps_pins>,"brcm,pins:0";
39 + <&pps_pins>,"brcm,pins:0",
40 + <&pps_pins>,"reg:0";
41 assert_falling_edge = <&pps>,"assert-falling-edge?";