ramips: move compatible for Ubiquiti Edgerouter X to DTS file

So far, the compatible for the Ubiquiti Edgerouter X has been
defined in the DTSI file and inherited for the edgerouterx.dts,
but overwritten for the edgerouterx-sfp.dts. In contrast, the
model was stored in the DTS file in both cases.

To resolve this somewhat confusing situation, move the compatible
with the device name for edgerouterx to the DTS file as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 2020-02-22 19:28:17 +01:00
parent 963f572ead
commit 1ae6292f75
2 changed files with 1 additions and 2 deletions

View File

@ -4,4 +4,5 @@
/ {
model = "UBNT-ERX";
compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
};

View File

@ -4,8 +4,6 @@
#include <dt-bindings/input/input.h>
/ {
compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
aliases {
label-mac-device = &ethernet;
};