mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-17 18:30:24 +00:00
2ad898e091
Removed upstreamed: generic/backport-6.1/789-STABLE-01-net-dsa-mt7530-prevent-possible-incorrect-XTAL-frequ.patch [1] generic/backport-6.1/789-STABLE-02-net-dsa-mt7530-fix-link-local-frames-that-ingress-vl.patch [2] generic/backport-6.1/789-STABLE-03-net-dsa-mt7530-fix-handling-of-all-link-local-frames.patch [3] generic/pending-6.1/735-net-mediatek-mtk_eth_soc-release-MAC_MCR_FORCE_LINK-.patch [4] generic/pending-6.1/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [5] Manual adjusted the following patches: mediatek/patches-6.1/100-dts-update-mt7622-rfb1.patch 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=be4512b9ac6fc53e1ca8daccbda84f643215c547 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f1fa919ea59655f73cb3972264e157b8831ba546 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=86c0c154a759f2af9612a04bdf29110f02dce956 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=6b62bad2da1b338f452a9380639fc9b093d75a25 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f78807362828ad01db2a9ed005bf79501b620f27 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
81 lines
2.3 KiB
Diff
81 lines
2.3 KiB
Diff
From 40a5a767d698ef7a71f8be851ea18b0a7a8b47bd Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Tue, 30 May 2023 22:12:33 +0200
|
|
Subject: [PATCH 16/19] arm64: dts: mt7986: add thermal and efuse
|
|
|
|
Add thermal related nodes to mt7986 devicetree.
|
|
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
|
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
Link: https://lore.kernel.org/r/20230530201235.22330-3-linux@fw-web.de
|
|
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 36 ++++++++++++++++++++++-
|
|
1 file changed, 35 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
@@ -338,6 +338,15 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ auxadc: adc@1100d000 {
|
|
+ compatible = "mediatek,mt7986-auxadc";
|
|
+ reg = <0 0x1100d000 0 0x1000>;
|
|
+ clocks = <&infracfg CLK_INFRA_ADC_26M_CK>;
|
|
+ clock-names = "main";
|
|
+ #io-channel-cells = <1>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
ssusb: usb@11200000 {
|
|
compatible = "mediatek,mt7986-xhci",
|
|
"mediatek,mtk-xhci";
|
|
@@ -376,6 +385,21 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ thermal: thermal@1100c800 {
|
|
+ #thermal-sensor-cells = <1>;
|
|
+ compatible = "mediatek,mt7986-thermal";
|
|
+ reg = <0 0x1100c800 0 0x800>;
|
|
+ interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&infracfg CLK_INFRA_THERM_CK>,
|
|
+ <&infracfg CLK_INFRA_ADC_26M_CK>,
|
|
+ <&infracfg CLK_INFRA_ADC_FRC_CK>;
|
|
+ clock-names = "therm", "auxadc", "adc_32k";
|
|
+ mediatek,auxadc = <&auxadc>;
|
|
+ mediatek,apmixedsys = <&apmixedsys>;
|
|
+ nvmem-cells = <&thermal_calibration>;
|
|
+ nvmem-cell-names = "calibration-data";
|
|
+ };
|
|
+
|
|
pcie: pcie@11280000 {
|
|
compatible = "mediatek,mt7986-pcie",
|
|
"mediatek,mt8192-pcie";
|
|
@@ -427,6 +451,17 @@
|
|
};
|
|
};
|
|
|
|
+ efuse: efuse@11d00000 {
|
|
+ compatible = "mediatek,mt7986-efuse", "mediatek,efuse";
|
|
+ reg = <0 0x11d00000 0 0x1000>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+
|
|
+ thermal_calibration: calib@274 {
|
|
+ reg = <0x274 0xc>;
|
|
+ };
|
|
+ };
|
|
+
|
|
usb_phy: t-phy@11e10000 {
|
|
compatible = "mediatek,mt7986-tphy",
|
|
"mediatek,generic-tphy-v2";
|
|
@@ -568,5 +603,4 @@
|
|
memory-region = <&wmcpu_emi>;
|
|
};
|
|
};
|
|
-
|
|
};
|