[PATCH v1 1/2] arm64: dts: mt8183: auxadc: add efuse information in device tree

From: Zhiyong Tao
Date: Thu Jul 18 2019 - 04:01:37 EST


The commit add add efuse information in device tree

Signed-off-by: Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx>
Signed-off-by: jg_poxu <jg_poxu@xxxxxxxxxxxx>
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index c2749c4631bc..59b4f3d933b5 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -261,6 +261,8 @@
clocks = <&infracfg CLK_INFRA_AUXADC>;
clock-names = "main";
#io-channel-cells = <1>;
+ nvmem-cells = <&auxadc_calibration>;
+ nvmem-cell-names = "calibration-data";
status = "disabled";
};

@@ -382,6 +384,9 @@
compatible = "mediatek,mt8183-efuse",
"mediatek,efuse";
reg = <0 0x11f10000 0 0x1000>;
+ auxadc_calibration: auxadccali@1b4 {
+ reg = <0x1b4 0x4>;
+ };
};

mfgcfg: syscon@13000000 {
--
2.12.5