]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 2d51ccd60628e8f9e0562350a8a443f86bee265d..3c31e21cbed7fcdde5bbdf030fcd6c194be5033d 100644 (file)
@@ -132,6 +132,7 @@ efuse: efuse {
                compatible = "amlogic,meson-gx-efuse", "amlogic,meson-gxbb-efuse";
                #address-cells = <1>;
                #size-cells = <1>;
+               read-only;
 
                sn: sn@14 {
                        reg = <0x14 0x10>;