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:
parent
455026cc0e
commit
e995ff2fdd
1 changed files with 48 additions and 5 deletions
|
@ -7,9 +7,10 @@ Add initial DTS file for Compute Module 4.
|
|||
|
||||
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 2 +-
|
||||
arch/arm/boot/dts/bcm2711-rpi-cm4.dts | 467 ++++++++++++++++++++++++++
|
||||
2 files changed, 487 insertions(+), 1 deletion(-)
|
||||
arch/arm/boot/dts/Makefile | 3 +-
|
||||
arch/arm/boot/dts/bcm2711-rpi-cm4.dts | 586 ++++++++++++++++++++++++++
|
||||
arch/arm/boot/dts/overlays/README | 6 +
|
||||
3 files changed, 594 insertions(+), 1 deletion(-)
|
||||
create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4.dts
|
||||
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
|
@ -26,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||
alpine-db.dtb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4.dts
|
||||
@@ -0,0 +1,467 @@
|
||||
@@ -0,0 +1,494 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0
|
||||
+/dts-v1/;
|
||||
+#include "bcm2711.dtsi"
|
||||
|
@ -494,3 +495,45 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+/ {
|
||||
+ __overrides__ {
|
||||
+ act_led_gpio = <&act_led>,"gpios:4";
|
||||
+ act_led_activelow = <&act_led>,"gpios:8";
|
||||
+ act_led_trigger = <&act_led>,"linux,default-trigger";
|
||||
+
|
||||
+ pwr_led_gpio = <&pwr_led>,"gpios:4";
|
||||
+ pwr_led_activelow = <&pwr_led>,"gpios:8";
|
||||
+ pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
|
||||
+
|
||||
+ eth_led0 = <&phy1>,"led-modes:0";
|
||||
+ eth_led1 = <&phy1>,"led-modes:4";
|
||||
+
|
||||
+ ant2 = <&ant1>,"output-high?=off",
|
||||
+ <&ant1>, "output-low?=on",
|
||||
+ <&ant2>, "output-high?=on",
|
||||
+ <&ant2>, "output-low?=off";
|
||||
+ noant = <&ant1>,"output-high?=off",
|
||||
+ <&ant1>, "output-low?=on",
|
||||
+ <&ant2>, "output-high?=off",
|
||||
+ <&ant2>, "output-low?=on";
|
||||
+
|
||||
+ sd_poll_once = <&emmc2>, "non-removable?";
|
||||
+ spi_dma4 = <&spi0>, "dmas:0=", <&dma40>,
|
||||
+ <&spi0>, "dmas:8=", <&dma40>;
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm/boot/dts/overlays/README
|
||||
+++ b/arch/arm/boot/dts/overlays/README
|
||||
@@ -92,6 +92,12 @@ Name: <The base DTB>
|
||||
Info: Configures the base Raspberry Pi hardware
|
||||
Load: <loaded automatically>
|
||||
Params:
|
||||
+ ant1 Select antenna 1 (default). CM4 only.
|
||||
+
|
||||
+ ant2 Select antenna 2. CM4 only.
|
||||
+
|
||||
+ noant Disable both antennas. CM4 only.
|
||||
+
|
||||
audio Set to "on" to enable the onboard ALSA audio
|
||||
interface (default "off")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue