[PATCH v2] arm64: dts: mt8192: add efuse support for MT8192 SoC

Yz.Wu at mediatek.com Yz.Wu at mediatek.com
Wed Dec 16 05:58:20 EST 2020


From: Ryan Wu <Yz.Wu at mediatek.com>

to read Mediatek efuse

Signed-off-by: Ryan Wu <Yz.Wu at mediatek.com>
---
This patch dependents on "arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile"[1]

mt8192.dtsi file is needed for this patch.
Please also accept this patch together with [1].

[1]http://lists.infradead.org/pipermail/linux-mediatek/2020-November/019378.html
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 69d45c7b31f1..55a805a61428 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -422,6 +422,13 @@
 			#clock-cells = <1>;
 		};
 
+		efuse: efuse at 11c10000 {
+			compatible = "mediatek,efuse";
+			reg = <0 0x11c10000 0 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
 		i2c3: i2c3 at 11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,
-- 
2.18.0


More information about the Linux-mediatek mailing list