mediatek: update mt7987 SoC device tree
authorChukun Pan <[email protected]>
Sat, 8 Nov 2025 15:10:16 +0000 (23:10 +0800)
committerDaniel Golle <[email protected]>
Tue, 25 Nov 2025 16:48:28 +0000 (16:48 +0000)
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 <[email protected]>
target/linux/mediatek/dts/mt7987.dtsi
target/linux/mediatek/dts/mt7987b.dtsi

index 9180659a5e07b3c79155460556af1227b39121fe..6a905603fe912f909cdf806fd5412448823372fc 100644 (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";
                };
        };
 
 
        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";
                                #interrupt-cells = <1>;
                                interrupt-controller;
                        };
-                       slot1: pcie@0,0 {
-                               reg = <0x0000 0 0 0 0>;
-                       };
                };
 
                topmisc: topmisc@10021000 {
index 7d159a805306d72e1be459cdce484f4939b18b40..329a868356a33e1c866aba29de1f4f73688f66cd 100644 (file)
@@ -6,7 +6,6 @@
 
 /dts-v1/;
 #include "mt7987a.dtsi"
-#include "mt7987-netsys-eth2-usb.dtsi"
 
 / {
        compatible = "mediatek,mt7987b", "mediatek,mt7987";
                };
        };
 };
+
+&lvts {
+       status = "okay";
+};
+
+&trng {
+       status = "okay";
+};