mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mediatek: add missing nmbm for RG-X60 Pro
The original firmware has nmbm enabled.
This commit is contained in:
parent
e2a09540eb
commit
89e25b571e
@ -1,15 +1,15 @@
|
|||||||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include <dt-bindings/input/input.h>
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/input/input.h>
|
||||||
#include <dt-bindings/leds/common.h>
|
#include <dt-bindings/leds/common.h>
|
||||||
|
|
||||||
#include "mt7986a.dtsi"
|
#include "mt7986a.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "ruijie,rg-x60-pro", "mediatek,mt7986a";
|
|
||||||
model = "Ruijie RG-X60 Pro";
|
model = "Ruijie RG-X60 Pro";
|
||||||
|
compatible = "ruijie,rg-x60-pro", "mediatek,mt7986a";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &uart0;
|
serial0 = &uart0;
|
||||||
@ -30,31 +30,31 @@
|
|||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
button-0 {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&pio 9 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 9 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button-1 {
|
mesh {
|
||||||
label = "mesh";
|
label = "mesh";
|
||||||
gpios = <&pio 10 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 10 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_MISC>;
|
linux,code = <BTN_MISC>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds-gpio {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_system: led-0 {
|
led_alarm: status_purple {
|
||||||
label = "white:status";
|
|
||||||
gpios = <&pio 22 GPIO_ACTIVE_LOW>;
|
|
||||||
};
|
|
||||||
|
|
||||||
led_alarm: led-1 {
|
|
||||||
label = "purple:status";
|
label = "purple:status";
|
||||||
gpios = <&pio 11 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 11 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
led_system: status_white {
|
||||||
|
label = "white:status";
|
||||||
|
gpios = <&pio 22 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -158,6 +158,10 @@
|
|||||||
spi-tx-bus-width = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-bus-width = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
|
mediatek,nmbm;
|
||||||
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
mediatek,bmt-max-reserved-blocks = <64>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
Loading…
Reference in New Issue
Block a user