mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
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>
41 lines
673 B
Plaintext
41 lines
673 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_elecom_wrc-gs.dtsi"
|
|
|
|
/ {
|
|
compatible = "elecom,wrc-2533gst2", "mediatek,mt7621-soc";
|
|
model = "ELECOM WRC-2533GST2";
|
|
};
|
|
|
|
&partitions {
|
|
partition@50000 {
|
|
compatible = "denx,uimage";
|
|
label = "firmware";
|
|
reg = <0x50000 0x1800000>;
|
|
};
|
|
|
|
partition@1850000 {
|
|
label = "tm_pattern";
|
|
reg = <0x1850000 0x400000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@1c50000 {
|
|
label = "tm_key";
|
|
reg = <0x1c50000 0x100000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@1d50000 {
|
|
label = "nvram";
|
|
reg = <0x1d50000 0xb0000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@1e00000 {
|
|
label = "user_data";
|
|
reg = <0x1e00000 0x200000>;
|
|
read-only;
|
|
};
|
|
};
|