diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 17:17:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 17:17:30 +0000 |
commit | 41452d2332fdb6daf11feaedf08b7f9b966e2a38 (patch) | |
tree | 4ce02fe3c8bbc516a6fe74eef659b384fed5ebb3 /target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch | |
parent | f41c4f8d6770684f07544dfc1aaa880f82fe0260 (diff) | |
download | master-187ad058-41452d2332fdb6daf11feaedf08b7f9b966e2a38.tar.gz master-187ad058-41452d2332fdb6daf11feaedf08b7f9b966e2a38.tar.bz2 master-187ad058-41452d2332fdb6daf11feaedf08b7f9b966e2a38.zip |
brcm2708: remove linux 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46870 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch b/target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch deleted file mode 100644 index feaaa3d12f..0000000000 --- a/target/linux/brcm2708/patches-3.18/0078-Add-pps-gpio-DT-overlay.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 4cd9d10a9cd482e993dcfe3bd1d576ad0d11c3c3 Mon Sep 17 00:00:00 2001 -From: Phil Elwell <phil@raspberrypi.org> -Date: Mon, 26 Jan 2015 09:18:24 +0000 -Subject: [PATCH 078/114] Add pps-gpio DT overlay - -Parameters: - gpiopin=<input pin> // Default 18 ---- - arch/arm/boot/dts/Makefile | 1 + - arch/arm/boot/dts/pps-gpio-overlay.dts | 34 ++++++++++++++++++++++++++++++++++ - 2 files changed, 35 insertions(+) - create mode 100644 arch/arm/boot/dts/pps-gpio-overlay.dts - ---- a/arch/arm/boot/dts/Makefile -+++ b/arch/arm/boot/dts/Makefile -@@ -62,6 +62,7 @@ dtb-$(CONFIG_BCM2708_DT) += hifiberry-am - dtb-$(CONFIG_BCM2708_DT) += iqaudio-dac-overlay.dtb - dtb-$(CONFIG_BCM2708_DT) += iqaudio-dacplus-overlay.dtb - dtb-$(CONFIG_BCM2708_DT) += lirc-rpi-overlay.dtb -+dtb-$(CONFIG_BCM2708_DT) += pps-gpio-overlay.dtb - dtb-$(CONFIG_BCM2708_DT) += w1-gpio-overlay.dtb - dtb-$(CONFIG_BCM2708_DT) += w1-gpio-pullup-overlay.dtb - dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb ---- /dev/null -+++ b/arch/arm/boot/dts/pps-gpio-overlay.dts -@@ -0,0 +1,34 @@ -+/dts-v1/; -+/plugin/; -+ -+/ { -+ compatible = "brcm,bcm2708"; -+ fragment@0 { -+ target-path = "/"; -+ __overlay__ { -+ pps: pps { -+ compatible = "pps-gpio"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&pps_pins>; -+ gpios = <&gpio 18 0>; -+ status = "okay"; -+ }; -+ }; -+ }; -+ -+ fragment@1 { -+ target = <&gpio>; -+ __overlay__ { -+ pps_pins: pps_pins { -+ brcm,pins = <18>; -+ brcm,function = <0>; // in -+ brcm,pull = <0>; // off -+ }; -+ }; -+ }; -+ -+ __overrides__ { -+ gpiopin = <&pps>,"gpios:4", -+ <&pps_pins>,"brcm,pins:0"; -+ }; -+}; |