arm64: dts: mt8183: add efuse and Mediatek Chip id node to read
authorMichael Mei <michael.mei@mediatek.com>
Mon, 27 May 2019 09:04:47 +0000 (17:04 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 21 Jun 2019 15:50:12 +0000 (17:50 +0200)
support for reading chip ID and efuse

Signed-off-by: Michael Mei <michael.mei@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 2e3063f..c2749c4 100644 (file)
                compatible = "simple-bus";
                ranges;
 
+               soc_data: soc_data@8000000 {
+                       compatible = "mediatek,mt8183-efuse",
+                                    "mediatek,efuse";
+                       reg = <0 0x08000000 0 0x0010>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+               };
+
                gic: interrupt-controller@c000000 {
                        compatible = "arm,gic-v3";
                        #interrupt-cells = <4>;
                        #clock-cells = <1>;
                };
 
+               efuse: efuse@11f10000 {
+                       compatible = "mediatek,mt8183-efuse",
+                                    "mediatek,efuse";
+                       reg = <0 0x11f10000 0 0x1000>;
+               };
+
                mfgcfg: syscon@13000000 {
                        compatible = "mediatek,mt8183-mfgcfg", "syscon";
                        reg = <0 0x13000000 0 0x1000>;