lantiq: Use the BAR0 base address in the ath PCI fixup code
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-3.18 / 0109-Add-device-tree-overlay-for-pcf2127.patch
1 From 37973590d43217e3f7c4d905578b1b3324ea45c4 Mon Sep 17 00:00:00 2001
2 From: Byron Bradley <byronb@afterthoughtsoftware.com>
3 Date: Fri, 6 Feb 2015 14:19:41 +0000
4 Subject: [PATCH 109/114] Add device-tree overlay for pcf2127
5
6 Signed-off-by: Byron Bradley <byronb@afterthoughtsoftware.com>
7 ---
8 arch/arm/boot/dts/Makefile | 1 +
9 arch/arm/boot/dts/pcf2127-rtc-overlay.dts | 22 ++++++++++++++++++++++
10 2 files changed, 23 insertions(+)
11 create mode 100644 arch/arm/boot/dts/pcf2127-rtc-overlay.dts
12
13 --- a/arch/arm/boot/dts/Makefile
14 +++ b/arch/arm/boot/dts/Makefile
15 @@ -72,6 +72,7 @@ dtb-$(RPI_DT_OVERLAYS) += hifiberry-amp-
16 dtb-$(RPI_DT_OVERLAYS) += iqaudio-dac-overlay.dtb
17 dtb-$(RPI_DT_OVERLAYS) += iqaudio-dacplus-overlay.dtb
18 dtb-$(RPI_DT_OVERLAYS) += lirc-rpi-overlay.dtb
19 +dtb-$(RPI_DT_OVERLAYS) += pcf2127-rtc-overlay.dtb
20 dtb-$(RPI_DT_OVERLAYS) += pcf8523-rtc-overlay.dtb
21 dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb
22 dtb-$(RPI_DT_OVERLAYS) += w1-gpio-overlay.dtb
23 --- /dev/null
24 +++ b/arch/arm/boot/dts/pcf2127-rtc-overlay.dts
25 @@ -0,0 +1,22 @@
26 +// Definitions for PCF2127 Real Time Clock
27 +/dts-v1/;
28 +/plugin/;
29 +
30 +/ {
31 + compatible = "brcm,bcm2708";
32 +
33 + fragment@0 {
34 + target = <&i2c1>;
35 + __overlay__ {
36 + #address-cells = <1>;
37 + #size-cells = <0>;
38 + status = "okay";
39 +
40 + pcf2127@51 {
41 + compatible = "nxp,pcf2127";
42 + reg = <0x51>;
43 + status = "okay";
44 + };
45 + };
46 + };
47 +};