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 @@ -78,6 +78,7 @@ dtbo-$(RPI_DT_OVERLAYS) += smi.dtbo
78
78
dtbo-$(RPI_DT_OVERLAYS) += smi-dev.dtbo
79
79
dtbo-$(RPI_DT_OVERLAYS) += smi-nand.dtbo
80
80
dtbo-$(RPI_DT_OVERLAYS) += spi-gpio35-39.dtbo
81
+ dtbo-$(RPI_DT_OVERLAYS) += spi-rtc.dtbo
81
82
dtbo-$(RPI_DT_OVERLAYS) += spi1-1cs.dtbo
82
83
dtbo-$(RPI_DT_OVERLAYS) += spi1-2cs.dtbo
83
84
dtbo-$(RPI_DT_OVERLAYS) += spi1-3cs.dtbo
Original file line number Diff line number Diff line change @@ -975,6 +975,12 @@ Load: dtoverlay=spi-gpio35-39
975
975
Params: <None>
976
976
977
977
978
+ Name: spi-rtc
979
+ Info: Adds support for a number of SPI Real Time Clock devices
980
+ Load: dtoverlay=spi-rtc,<param>=<val>
981
+ Params: pcf2123 Select the PCF2123 device
982
+
983
+
978
984
Name: spi1-1cs
979
985
Info: Enables spi1 with a single chip select (CS) line and associated spidev
980
986
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