mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-25 23:40:41 +08:00
27 lines
806 B
Diff
27 lines
806 B
Diff
|
diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
|
||
|
index 67c01b62b588..36a58e866b2f 100644
|
||
|
--- a/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm2837-rpi-3-b.dts
|
||
|
@@ -104,3 +104,21 @@
|
||
|
status = "okay";
|
||
|
bus-width = <4>;
|
||
|
};
|
||
|
+
|
||
|
+&spi {
|
||
|
+ spidev0: spidev@0{
|
||
|
+ compatible = "spidev";
|
||
|
+ reg = <0>; /* CE0 */
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ spi-max-frequency = <125000000>;
|
||
|
+ };
|
||
|
+
|
||
|
+ spidev1: spidev@1{
|
||
|
+ compatible = "spidev";
|
||
|
+ reg = <1>; /* CE1 */
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ spi-max-frequency = <125000000>;
|
||
|
+ };
|
||
|
+};
|