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:
suyuan168 2022-01-03 22:53:55 +08:00
parent c6289061b2
commit c8fce7d07f

View file

@ -27,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,536 @@
@@ -0,0 +1,541 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+#include "bcm2711.dtsi"
@ -49,7 +49,9 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+ };
+
+ aliases {
+ emmc2bus = &emmc2bus;
+ ethernet0 = &genet;
+ pcie0 = &pcie0;
+ };
+
+ leds {
@ -60,6 +62,8 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+ pwr {
+ label = "PWR";
+ gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
+ default-state = "keep";
+ linux,default-trigger = "default-on";
+ };
+ };
+
@ -107,6 +111,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+
+&pwm1 {
+ pinctrl-names = "default";
+ brcm,disable-headphones = <1>;
+ pinctrl-0 = <&pwm1_0_gpio40 &pwm1_1_gpio41>;
+ status = "okay";
+};