mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
93 lines
2.5 KiB
Diff
93 lines
2.5 KiB
Diff
|
From 4de4f56af7d803fa7dd9ffe42d4719b428d73e6c Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Elwell <phil@raspberrypi.com>
|
||
|
Date: Wed, 17 Jul 2024 17:31:58 +0100
|
||
|
Subject: [PATCH 1181/1215] arm64: dts: Add cm5l files
|
||
|
|
||
|
CM5 Lite DTBs require minor changes compared to the "heavy" variants.
|
||
|
|
||
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
||
|
---
|
||
|
arch/arm64/boot/dts/broadcom/Makefile | 2 ++
|
||
|
.../dts/broadcom/bcm2712-rpi-cm5l-cm4io.dts | 20 ++++++++++++++++
|
||
|
.../dts/broadcom/bcm2712-rpi-cm5l-cm5io.dts | 10 ++++++++
|
||
|
.../boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi | 24 +++++++++++++++++++
|
||
|
4 files changed, 56 insertions(+)
|
||
|
create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm4io.dts
|
||
|
create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm5io.dts
|
||
|
create mode 100644 arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/broadcom/Makefile
|
||
|
+++ b/arch/arm64/boot/dts/broadcom/Makefile
|
||
|
@@ -24,6 +24,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2712-rp
|
||
|
dtb-$(CONFIG_ARCH_BCM2835) += bcm2712d0-rpi-5-b.dtb
|
||
|
dtb-$(CONFIG_ARCH_BCM2835) += bcm2712-rpi-cm5-cm5io.dtb
|
||
|
dtb-$(CONFIG_ARCH_BCM2835) += bcm2712-rpi-cm5-cm4io.dtb
|
||
|
+dtb-$(CONFIG_ARCH_BCM2835) += bcm2712-rpi-cm5l-cm5io.dtb
|
||
|
+dtb-$(CONFIG_ARCH_BCM2835) += bcm2712-rpi-cm5l-cm4io.dtb
|
||
|
|
||
|
subdir-y += bcmbca
|
||
|
subdir-y += northstar2
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm4io.dts
|
||
|
@@ -0,0 +1,20 @@
|
||
|
+// SPDX-License-Identifier: GPL-2.0
|
||
|
+/dts-v1/;
|
||
|
+
|
||
|
+#include "bcm2712-rpi-cm5l.dtsi"
|
||
|
+
|
||
|
+// The RP1 USB3 interfaces are not usable on CM4IO
|
||
|
+
|
||
|
+&rp1_usb0 {
|
||
|
+ status = "disabled";
|
||
|
+};
|
||
|
+
|
||
|
+&rp1_usb1 {
|
||
|
+ status = "disabled";
|
||
|
+};
|
||
|
+
|
||
|
+/ {
|
||
|
+ __overrides__ {
|
||
|
+ i2c_csi_dsi = <&i2c_csi_dsi>, "status";
|
||
|
+ };
|
||
|
+};
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l-cm5io.dts
|
||
|
@@ -0,0 +1,10 @@
|
||
|
+// SPDX-License-Identifier: GPL-2.0
|
||
|
+/dts-v1/;
|
||
|
+
|
||
|
+#include "bcm2712-rpi-cm5l.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ __overrides__ {
|
||
|
+ i2c_csi_dsi = <&i2c_csi_dsi>, "status";
|
||
|
+ };
|
||
|
+};
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5l.dtsi
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+// SPDX-License-Identifier: GPL-2.0
|
||
|
+/dts-v1/;
|
||
|
+
|
||
|
+#include "bcm2712-rpi-cm5.dtsi"
|
||
|
+
|
||
|
+/ {
|
||
|
+ __overrides__ {
|
||
|
+ i2c_csi_dsi = <&i2c_csi_dsi>, "status";
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
+&sd_io_1v8_reg {
|
||
|
+ compatible = "regulator-gpio";
|
||
|
+ regulator-max-microvolt = <3300000>;
|
||
|
+ regulator-settling-time-us = <5000>;
|
||
|
+ gpios = <&gio_aon 3 GPIO_ACTIVE_HIGH>;
|
||
|
+ states = <1800000 0x1
|
||
|
+ 3300000 0x0>;
|
||
|
+};
|
||
|
+
|
||
|
+&sdio1 {
|
||
|
+ /delete-property/ mmc-hs400-1_8v;
|
||
|
+ /delete-property/ mmc-hs400-enhanced-strobe;
|
||
|
+};
|