621297e867
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. In ramips, we therefore requested to have in the DTS files so far, and omit it in the DTSI files. However, essentially the syntax of the parent mtxxxx/rtxxxx DTSI files already determines the DTS version, so putting it into the DTS files is just a useless repetition. Consequently, this patch puts the dts-v1 statement into the top-level SoC-based DTSI files, and removes all other occurences. Since the dts-v1 statement needs to be before any other definitions, this also moves the includes accordingly where necessary. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
30 lines
456 B
Plaintext
30 lines
456 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_asiarf_ap7621.dtsi"
|
|
|
|
/ {
|
|
compatible = "asiarf,ap7621-nv1", "mediatek,mt7621-soc";
|
|
model = "AsiaRF AP7621-NV1";
|
|
};
|
|
|
|
&switch0 {
|
|
ports {
|
|
port@0 {
|
|
status = "okay";
|
|
label = "wan";
|
|
mtd-mac-address = <&factory 0xe000>;
|
|
mtd-mac-address-increment = <1>;
|
|
};
|
|
|
|
port@2 {
|
|
status = "okay";
|
|
label = "lan1";
|
|
};
|
|
|
|
port@3 {
|
|
status = "okay";
|
|
label = "lan2";
|
|
};
|
|
};
|
|
};
|