mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ramips: DTS style improvements for mt7621_wevo_w2914ns-v2.dtsi
This does several trivial DTS style improvements: - Move device name compatible to DTS files (and fix compatible in 11acnas.dts) - Remove xhci node as status is set to okay in mt7621.dtsi already - 0x0 instead of 0x0000 - Simplify state_default node definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
0375c076b6
commit
5cda133d99
@ -3,7 +3,7 @@
|
|||||||
#include "mt7621_wevo_w2914ns-v2.dtsi"
|
#include "mt7621_wevo_w2914ns-v2.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "wevo,11acnas", "wevo,w2914ns-v2", "mediatek,mt7621-soc";
|
compatible = "wevo,11acnas", "mediatek,mt7621-soc";
|
||||||
model = "WeVO 11AC NAS Router";
|
model = "WeVO 11AC NAS Router";
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#include "mt7621_wevo_w2914ns-v2.dtsi"
|
#include "mt7621_wevo_w2914ns-v2.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
compatible = "wevo,w2914ns-v2", "mediatek,mt7621-soc";
|
||||||
model = "WeVO W2914NS v2";
|
model = "WeVO W2914NS v2";
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "wevo,w2914ns-v2", "mediatek,mt7621-soc";
|
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyS0,57600";
|
bootargs = "console=ttyS0,57600";
|
||||||
};
|
};
|
||||||
@ -27,10 +25,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&xhci {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&spi0 {
|
&spi0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
@ -80,7 +74,7 @@
|
|||||||
wifi@0,0 {
|
wifi@0,0 {
|
||||||
compatible = "mediatek,mt76";
|
compatible = "mediatek,mt76";
|
||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
mediatek,mtd-eeprom = <&factory 0x0000>;
|
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||||
|
|
||||||
led {
|
led {
|
||||||
led-sources = <0>;
|
led-sources = <0>;
|
||||||
@ -107,11 +101,9 @@
|
|||||||
mtd-mac-address = <&factory 0xe000>;
|
mtd-mac-address = <&factory 0xe000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&state_default {
|
||||||
state_default: pinctrl0 {
|
gpio {
|
||||||
gpio {
|
ralink,group = "wdt", "rgmii2";
|
||||||
ralink,group = "wdt", "rgmii2";
|
ralink,function = "gpio";
|
||||||
ralink,function = "gpio";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user