mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
Merge pull request #805 from afterthoughtsoftware/rpi-3.18.y
Add a device tree overlay for the PCF2127 RTC
This commit is contained in:
@@ -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
|
||||
|
||||
22
arch/arm/boot/dts/pcf2127-rtc-overlay.dts
Normal file
22
arch/arm/boot/dts/pcf2127-rtc-overlay.dts
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user