1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Update 950-0785-ARM-dts-Add-bcm2711-rpi-cm4.dts.patch

This commit is contained in:
suyuan 2021-11-12 23:18:41 +08:00
parent 2dcfd56fb3
commit 42c1953062

View file

@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
alpine-db.dtb alpine-db.dtb
--- /dev/null --- /dev/null
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
@@ -0,0 +1,601 @@ @@ -0,0 +1,590 @@
+// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0
+/dts-v1/; +/dts-v1/;
+#include "bcm2711.dtsi" +#include "bcm2711.dtsi"
@ -173,12 +173,6 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+ "ANT2"; + "ANT2";
+ status = "okay"; + status = "okay";
+ +
+ ant1: ant1 {
+ gpio-hog;
+ gpios = <3 GPIO_ACTIVE_HIGH>;
+ output-high;
+ };
+
+ ant2: ant2 { + ant2: ant2 {
+ gpio-hog; + gpio-hog;
+ gpios = <7 GPIO_ACTIVE_HIGH>; + gpios = <7 GPIO_ACTIVE_HIGH>;
@ -418,11 +412,6 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+ brcm,function = <BCM2835_FSEL_GPIO_OUT>; + brcm,function = <BCM2835_FSEL_GPIO_OUT>;
+ }; + };
+ +
+ spi5_pins: spi5_pins {
+ brcm,pins = <13 14 15>;
+ brcm,function = <BCM2835_FSEL_ALT3>;
+ };
+
+ i2c0_pins: i2c0 { + i2c0_pins: i2c0 {
+ brcm,pins = <0 1>; + brcm,pins = <0 1>;
+ brcm,function = <BCM2835_FSEL_ALT0>; + brcm,function = <BCM2835_FSEL_ALT0>;