mediatek: update mt7987 SoC device tree

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>
This commit is contained in:
Chukun Pan 2025-11-08 23:10:16 +08:00 committed by Daniel Golle
parent 295601b0d4
commit 21fe2a8e43
2 changed files with 9 additions and 7 deletions

View file

@ -13,7 +13,6 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/reset/mediatek,mt7987-resets.h>
#include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
/* TOPRGU resets */
#define MT7987_TOPRGU_SGMII0_GRST 1
@ -45,7 +44,6 @@
optee {
method = "smc";
compatible = "linaro,optee-tz";
status = "okay";
};
};
@ -237,7 +235,7 @@
fan: pwm-fan {
compatible = "pwm-fan";
cooling-levels = <0 128 255>;
cooling-levels = <0 128 192 255>;
#cooling-cells = <2>;
#thermal-sensor-cells = <1>;
status = "disabled";
@ -1002,9 +1000,6 @@
#interrupt-cells = <1>;
interrupt-controller;
};
slot1: pcie@0,0 {
reg = <0x0000 0 0 0 0>;
};
};
topmisc: topmisc@10021000 {

View file

@ -6,7 +6,6 @@
/dts-v1/;
#include "mt7987a.dtsi"
#include "mt7987-netsys-eth2-usb.dtsi"
/ {
compatible = "mediatek,mt7987b", "mediatek,mt7987";
@ -29,3 +28,11 @@
};
};
};
&lvts {
status = "okay";
};
&trng {
status = "okay";
};