ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_phicomm_k2p.dts
index 761b690d1e3b725ccc57f27c0d004744d25fba4a..ec24c713ea9df3fdd35c49a5469e8e52b0aae3c9 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "mt7621.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
                led-upgrade = &led_blue;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,57600";
-       };
-
        leds {
                compatible = "gpio-leds";
 
                stat_r {
-                       label = "k2p:red:status";
+                       label = "red:status";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
                stat_y {
-                       label = "k2p:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                led_blue: stat_b {
-                       label = "k2p:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <10000000>;
+               spi-max-frequency = <80000000>;
+               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";