]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx95: Add OCOTP node
authorPeng Fan <peng.fan@nxp.com>
Mon, 18 Aug 2025 01:25:35 +0000 (09:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 09:16:34 +0000 (17:16 +0800)
Add OCOTP node to allow reading fuse using nvmem API

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx95.dtsi

index 02c0422a7aa3877c8431c9b050d85f43f5ed7bde..adc63448aa15b148ca0eb8499ff5bc217fe8208e 100644 (file)
                        status = "disabled";
                };
 
+               ocotp: efuse@47510000 {
+                       compatible = "fsl,imx95-ocotp", "syscon";
+                       reg = <0x0 0x47510000 0x0 0x10000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       eth_mac0: mac-address@0 {
+                               reg = <0x0514 0x6>;
+                       };
+
+                       eth_mac1: mac-address@1 {
+                               reg = <0x1514 0x6>;
+                       };
+
+                       eth_mac2: mac-address@2 {
+                               reg = <0x2514 0x6>;
+                       };
+               };
+
                elemu0: mailbox@47520000 {
                        compatible = "fsl,imx95-mu-ele";
                        reg = <0x0 0x47520000 0x0 0x10000>;