oxnas: cheery-pick DTS improvements from master
[openwrt/openwrt.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-mitrastar-stg212.dts
index cc8d640ee0ae4ae92d5d2223060db9519f461c9b..7f25abc10484aebdcfb4caea9bcf37e54e19db27 100644 (file)
@@ -25,7 +25,7 @@
                gpio1 = &gpio1;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
@@ -43,7 +43,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                status {
                        label = "zyxel:blue:status";
                nand-ecc-algo = "hamming";
 
                partition@0 {
-                       label = "boot";
-                       reg = <0x00000000 0x00e00000>;
+                       label = "stage1";
+                       reg = <0x00000000 0x00040000>;
                        read-only;
                };
 
+               partition@40000 {
+                       label = "u-boot";
+                       reg = <0x00040000 0x00380000>;
+                       read-only;
+               };
+
+               partition@3c0000 {
+                       label = "u-boot-env";
+                       reg = <0x003c0000 0x00080000>;
+               };
+
+               partition@440000 {
+                       label = "kernel";
+                       reg = <0x00440000 0x009c0000>;
+               };
+
                partition@e00000 {
                        label = "ubi";
                        reg = <0x00e00000 0x07200000>;