File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
arch/arm/boot/dts/overlays Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ dtbo-$(RPI_DT_OVERLAYS) += smi.dtbo
77
77
dtbo-$(RPI_DT_OVERLAYS) += smi-dev.dtbo
78
78
dtbo-$(RPI_DT_OVERLAYS) += smi-nand.dtbo
79
79
dtbo-$(RPI_DT_OVERLAYS) += spi-gpio35-39.dtbo
80
+ dtbo-$(RPI_DT_OVERLAYS) += spi-rtc.dtbo
80
81
dtbo-$(RPI_DT_OVERLAYS) += spi1-1cs.dtbo
81
82
dtbo-$(RPI_DT_OVERLAYS) += spi1-2cs.dtbo
82
83
dtbo-$(RPI_DT_OVERLAYS) += spi1-3cs.dtbo
Original file line number Diff line number Diff line change @@ -953,6 +953,12 @@ Load: dtoverlay=spi-gpio35-39
953
953
Params: <None>
954
954
955
955
956
+ Name: spi-rtc
957
+ Info: Adds support for a number of SPI Real Time Clock devices
958
+ Load: dtoverlay=spi-rtc,<param>=<val>
959
+ Params: pcf2123 Select the PCF2123 device
960
+
961
+
956
962
Name: spi1-1cs
957
963
Info: Enables spi1 with a single chip select (CS) line and associated spidev
958
964
dev node. The gpio pin number for the CS line and spidev device node
Original file line number Diff line number Diff line change
1
+ /dts-v1/;
2
+ /plugin/;
3
+
4
+ / {
5
+ compatible = "brcm,bcm2708";
6
+
7
+ fragment@0 {
8
+ target = <&spidev0>;
9
+ __dormant__ {
10
+ status = "disabled";
11
+ };
12
+ };
13
+
14
+ fragment@1 {
15
+ target = <&spi0>;
16
+ __dormant__ {
17
+ #address-cells = <1>;
18
+ #size-cells = <0>;
19
+ status = "okay";
20
+
21
+ rtc-pcf2123@0 {
22
+ compatible = "nxp,rtc-pcf2123";
23
+ spi-max-frequency = <5000000>;
24
+ spi-cs-high = <1>;
25
+ reg = <0>;
26
+ };
27
+ };
28
+ };
29
+
30
+ __overrides__ {
31
+ pcf2123 = <0>, "=0=1";
32
+ };
33
+ };
You can’t perform that action at this time.
0 commit comments