apm821xx: MBL: make mtd chip work
[openwrt/staging/nbd.git] / target / linux / apm821xx / dts / wd-mybooklive.dts
index 2cc4dd8b79e8b37819addf17a576083a94ac9e5f..5fcddb0cd869e9ef6db891f77262852d7c8efbdf 100644 (file)
@@ -22,7 +22,7 @@
        ebc {
                nor_flash@0,0 {
                        status = "okay";
-                       compatible = "amd,s29gl512n", "jedec-probe", "cfi-flash", "mtd-rom";
+                       compatible = "microchip,sst39vf040", "jedec-flash";
                        bank-width = <1>;
                        reg = <0x00000000 0x00000000 0x00080000>;
                        #address-cells = <1>;
                                /* Part of bootrom - Don't use it without a jump */
                                label = "free";
                                reg = <0x00000000 0x0001e000>;
+                               read-only;
                        };
 
                        partition@1e000 {
                                label = "env";
                                reg = <0x0001e000 0x00002000>;
+                               read-only;
                        };
 
                        partition@20000 {
                                label = "uboot";
                                reg = <0x00020000 0x00050000>;
+                               read-only;
                        };
                };
        };