ramips: remove obsolete mx25l25635f compatible hack (#6380)

The kernel bump to 5.4 has removed the mx25l25635f hack, and the
mx25l25635f compatible is no longer required.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
AmadeusGhost 2021-02-16 23:00:28 +08:00 committed by GitHub
parent db3ec85639
commit b132179c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -73,9 +73,10 @@
status = "okay";
flash@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
broken-flash-reset;
m25p,fast-read;
partitions {

View File

@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7621.dtsi"
#include <dt-bindings/gpio/gpio.h>
@ -42,12 +43,12 @@
compatible = "gpio-leds";
led_run: run {
label = "blue:run";
label = "gl-mt1300:blue:run";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
system {
label = "white:system";
label = "gl-mt1300:white:system";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
};
@ -65,9 +66,10 @@
status = "okay";
flash@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;
broken-flash-reset;
m25p,fast-read;
partitions {

View File

@ -51,9 +51,10 @@
status = "okay";
flash@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
broken-flash-reset;
partitions {
compatible = "fixed-partitions";