From: Petr Štetiar <ynezz@true.cz>
Date: Sun, 26 May 2019 12:51:49 +0000 (+0200)
Subject: ath79: ecb1750: additional dts fixes
X-Git-Tag: v19.07.0-rc1~570
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=99c52251cc106fca754bdb184ed02422dce15bdc;p=openwrt%2Fopenwrt.git

ath79: ecb1750: additional dts fixes

This patch fixes following missing bits:

 - add missing 'compatible' property on firmware partition
 - set vendor partition 'userconfig' read-only

Fixes: 30dcbc741d84 ("ath79: add support for EnGenius ECB1750")
Signed-off-by: Sven Friedmann <sf.openwrt@okay.ms>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---

diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
index 69bd244b7b..27f0313019 100644
--- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
@@ -93,6 +93,7 @@
 			};
 
 			partition@50000 {
+				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x050000 0xf50000>;
 			};
@@ -100,6 +101,7 @@
 			partition@fa0000 {
 				label = "userconfig";
 				reg = <0xfa0000 0x050000>;
+				read-only;
 			};
 
 			art: partition@ff0000 {