ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_hiwifi_hc5962.dts
index 9d60d509abb53ff26efa8b67fa08e0770cf227de..774fb93d9cd652134e0d8466859286ed8cebe57b 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7621.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "hc5962:white:status";
+                       label = "white:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "hc5962:red:system";
+                       label = "red:system";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                        panic-indicator;
                };
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       ubi-concat {
+               compatible = "mtd-concat";
+               devices = <&ubiconcat0 &ubiconcat1>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "ubi";
+                               reg = <0x0 0x79c0000>;
+                       };
+               };
+       };
 };
 
 &nand {
 
                partition@140000 {
                        label = "kernel";
-                       reg = <0x140000 0x200000>;
-               };
-
-               partition@340000 {
-                       label = "ubi";
-                       reg = <0x340000 0x1E00000>;
+                       reg = <0x140000 0x400000>;
                };
 
-               partition@2140000 {
-                       label = "hw_panic";
-                       reg = <0x2140000 0x80000>;
-                       read-only;
+               ubiconcat0: partition@540000 {
+                       label = "ubiconcat0";
+                       reg = <0x540000 0x1c80000>;
                };
 
                partition@21c0000 {
                        read-only;
                };
 
-               partition@2240000 {
-                       label = "backup";
-                       reg = <0x2240000 0x80000>;
-                       read-only;
-               };
-
-               partition@22c0000 {
-                       label = "overly";
-                       reg = <0x22c0000 0x1000000>;
-               };
-
-               partition@32c0000 {
-                       label = "firmware_backup";
-                       reg = <0x32c0000 0x2000000>;
-               };
-
-               partition@52c0000 {
-                       label = "oem";
-                       reg = <0x52c0000 0x200000>;
-               };
-
-               partition@54c0000 {
-                       label = "opt";
-                       reg = <0x54c0000 0x2ac0000>;
+               ubiconcat1: partition@2240000 {
+                       label = "ubiconcat1";
+                       reg = <0x2240000 0x5d40000>;
                };
        };
 };