mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 18:40:35 +01:00
mt7987b.dtsi:
Enabled lvts (for CPU thermal) and trng by default.
Remove non-existent netsys include headers, fix build.
mt7987.dtsi:
Remove unused rt5190a include headers
Fix pwm-fan errors: binding cdev pwm-fan to trip 3 failed: -22
Fixes: 9de7189ed ("mediatek: build image for MT7987 RFB")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
38 lines
574 B
Text
38 lines
574 B
Text
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2023 MediaTek Inc.
|
|
* Author: Sam.Shih <sam.shih@mediatek.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mt7987a.dtsi"
|
|
|
|
/ {
|
|
compatible = "mediatek,mt7987b", "mediatek,mt7987";
|
|
|
|
memory {
|
|
reg = <0 0x40000000 0 0x10000000>;
|
|
};
|
|
|
|
cpus {
|
|
/delete-node/ cpu@2;
|
|
/delete-node/ cpu@3;
|
|
};
|
|
};
|
|
|
|
&cpu_thermal {
|
|
cooling-maps {
|
|
cpu-active-hot {
|
|
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&lvts {
|
|
status = "okay";
|
|
};
|
|
|
|
&trng {
|
|
status = "okay";
|
|
};
|