Merge pull request #805 from afterthoughtsoftware/rpi-3.18.y

Add a device tree overlay for the PCF2127 RTC
This commit is contained in:
Phil Elwell
2015-02-06 16:13:25 +00:00
2 changed files with 23 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ dtb-$(RPI_DT_OVERLAYS) += hifiberry-amp-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += iqaudio-dac-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += iqaudio-dacplus-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += lirc-rpi-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pcf2127-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pcf8523-rtc-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb
dtb-$(RPI_DT_OVERLAYS) += w1-gpio-overlay.dtb

View File

@@ -0,0 +1,22 @@
// Definitions for PCF2127 Real Time Clock
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pcf2127@51 {
compatible = "nxp,pcf2127";
reg = <0x51>;
status = "okay";
};
};
};
};