arm64: dts: ls1028a: add efuse node
authorMichael Walle <michael@walle.cc>
Mon, 14 Feb 2022 11:55:29 +0000 (12:55 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 21 Feb 2022 03:51:17 +0000 (11:51 +0800)
Layerscape SoCs contain a Security Fuse Processor which is basically a
efuse controller. Add the node, so userspace can read the efuses.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 5bb8c26e08255adbea2d0df710999fef29fa9972..088271d49139cc1ccac639daaf6c749100abb2aa 100644 (file)
                        little-endian;
                };
 
+               efuse@1e80000 {
+                       compatible = "fsl,ls1028a-sfp";
+                       reg = <0x0 0x1e80000 0x0 0x10000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ls1028a_uid: unique-id@1c {
+                               reg = <0x1c 0x8>;
+                       };
+               };
+
                scfg: syscon@1fc0000 {
                        compatible = "fsl,ls1028a-scfg", "syscon";
                        reg = <0x0 0x1fc0000 0x0 0x10000>;