ARM64: dts: meson-gx: make efuse read-only
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 16 Mar 2018 14:50:21 +0000 (15:50 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 19 Mar 2018 23:44:39 +0000 (16:44 -0700)
efuse is one time programmable, so it is safer to deny write request
to this memory, unless the user is savvy enough to remove the read-only
flag from DTB

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx.dtsi

index 2d51ccd..3c31e21 100644 (file)
                compatible = "amlogic,meson-gx-efuse", "amlogic,meson-gxbb-efuse";
                #address-cells = <1>;
                #size-cells = <1>;
+               read-only;
 
                sn: sn@14 {
                        reg = <0x14 0x10>;