LF-318 arm64: dts: imx8qm/qxp: mark ocotp as read only
authorPeng Fan <peng.fan@nxp.com>
Tue, 3 Dec 2019 07:15:47 +0000 (15:15 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:33 +0000 (11:21 +0800)
Mark ocotp as read only, if you need to program fuse in linux,
remove this property.

Acked-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm64/boot/dts/freescale/imx8qm.dtsi
arch/arm64/boot/dts/freescale/imx8qxp.dtsi

index c810bcb..1bd6117 100755 (executable)
                        compatible = "fsl,imx8qm-scu-ocotp";
                        #address-cells = <1>;
                        #size-cells = <1>;
+                       read-only;
 
                        fec_mac0: mac@1c4 {
                                reg = <0x1c4 6>;
index 99f2ba1..d6b7561 100644 (file)
                        compatible = "fsl,imx8qxp-scu-ocotp";
                        #address-cells = <1>;
                        #size-cells = <1>;
+                       read-only;
 
                        fec_mac0: mac@2c4 {
                                reg = <0x2c4 6>;