]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: s32g: Add device tree information for the OCOTP driver
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 12 Sep 2025 15:03:22 +0000 (18:03 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 14 Sep 2025 13:12:23 +0000 (21:12 +0800)
Add the device tree information for the S32G On Chip One-Time
Programmable Controller (OCOTP) chip.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/s32g2.dtsi
arch/arm64/boot/dts/freescale/s32g3.dtsi

index 3ff3b2ff09beb60843e7e113a2ab747eb66f5cdc..d167624d1f0cb2feadb751136ed0d2b568440a5a 100644 (file)
                        };
                };
 
+               ocotp: nvmem@400a4000 {
+                       compatible = "nxp,s32g2-ocotp";
+                       reg = <0x400a4000 0x400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+               };
+
                swt0: watchdog@40100000 {
                        compatible = "nxp,s32g2-swt";
                        reg = <0x40100000 0x1000>;
index 6292ae99883ab692da0ff1702dbd4aecc4c60790..be3a582ebc1bf490705d03bf4eb2c300fca5e4a4 100644 (file)
                        };
                };
 
+               ocotp: nvmem@400a4000 {
+                       compatible = "nxp,s32g3-ocotp", "nxp,s32g2-ocotp";
+                       reg = <0x400a4000 0x400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+               };
+
                swt0: watchdog@40100000 {
                        compatible = "nxp,s32g3-swt", "nxp,s32g2-swt";
                        reg = <0x40100000 0x1000>;