Skip to content

Commit

Permalink
add pcf2123 RTC overlay on SPI0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi committed Jun 3, 2016
1 parent e64101f commit b2658f5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/pcf2123-clock.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/dts-v1/;
/plugin/;

/ {
compatible = "brcm,bcm2708";
fragment@0 {
target = <&spi0>;
__overlay__ {
spidev@0 {
status = "disabled";
};
rtc-pcf2123@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "nxp,rtc-pcf2123";
spi-max-frequency = <5000000>;
spi-cs-high = <1>;
reg = <0>;
};
};
};
};

0 comments on commit b2658f5

Please sign in to comment.