Skip to content

Commit b2658f5

Browse files
committed
add pcf2123 RTC overlay on SPI0.0
1 parent e64101f commit b2658f5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

arch/arm/boot/dts/pcf2123-clock.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
/ {
5+
compatible = "brcm,bcm2708";
6+
fragment@0 {
7+
target = <&spi0>;
8+
__overlay__ {
9+
spidev@0 {
10+
status = "disabled";
11+
};
12+
rtc-pcf2123@0 {
13+
#address-cells = <1>;
14+
#size-cells = <0>;
15+
compatible = "nxp,rtc-pcf2123";
16+
spi-max-frequency = <5000000>;
17+
spi-cs-high = <1>;
18+
reg = <0>;
19+
};
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)