mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
76a75b43ba
This board is also as known as Bananapi BPi-M7. Hardware -------- RockChip RK3588 ARM64 (8 cores) 8/16/32GB LPDDR4/LPDDR4x RAM 2x 2500 Base-T (PCIe, rtl8125b) 2 LEDs (RED / GREEN) 16GB/32GB/64GB/128GB eMMC on-board Micro-SD Slot USB 2.0 Port USB 3.0 Port M.2 M-Key 40-Pin Header USB PD 2.0 9/12/15V Power Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/16462 Signed-off-by: Nick Hainke <vincent@systemli.org>
80 lines
2.2 KiB
Diff
80 lines
2.2 KiB
Diff
From 2f8064b9c4a012b4d4e8383818f13b682b6c156a Mon Sep 17 00:00:00 2001
|
|
From: Alexey Charkov <alchark@gmail.com>
|
|
Date: Mon, 17 Jun 2024 22:28:52 +0400
|
|
Subject: [PATCH] arm64: dts: rockchip: enable thermal management on all RK3588
|
|
boards
|
|
|
|
This enables the on-chip thermal monitoring sensor (TSADC) on all
|
|
RK3588(s) boards that don't have it enabled yet. It provides temperature
|
|
monitoring for the SoC and emergency thermal shutdowns, and is thus
|
|
important to have in place before CPU DVFS is enabled, as high CPU
|
|
operating performance points can overheat the chip quickly in the
|
|
absence of thermal management.
|
|
|
|
Signed-off-by: Alexey Charkov <alchark@gmail.com>
|
|
Link: https://lore.kernel.org/r/20240617-rk-dts-additions-v5-2-c1f5f3267f1e@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-common.dtsi | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dts | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 4 ++++
|
|
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 4 ++++
|
|
8 files changed, 32 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
|
|
@@ -673,6 +673,10 @@
|
|
};
|
|
};
|
|
|
|
+&tsadc {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&u2phy0 {
|
|
status = "okay";
|
|
};
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dts
|
|
@@ -807,6 +807,10 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&tsadc {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&u2phy2 {
|
|
status = "okay";
|
|
};
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
@@ -787,6 +787,10 @@
|
|
};
|
|
};
|
|
|
|
+&tsadc {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&uart2 {
|
|
pinctrl-0 = <&uart2m0_xfer>;
|
|
status = "okay";
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
|
|
@@ -741,6 +741,10 @@
|
|
};
|
|
};
|
|
|
|
+&tsadc {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&u2phy0 {
|
|
status = "okay";
|
|
};
|