mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
c846dd91f0
Like in the previous patch for ath79 target, this will remove the "devicename" from LED labels in ramips as well. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. For the latter, all existing definitions were actually just devicename migrations anyway. Therefore, those are removed and a common migration file is created in target base-files. This is actually another example of how the devicename removal makes things easier. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
63 lines
944 B
Plaintext
63 lines
944 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7628an_netgear_r6xxx.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,r6020", "mediatek,mt7628an-soc";
|
|
model = "Netgear R6020";
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
|
|
"p4led_an", "wdt", "wled_an";
|
|
function = "gpio";
|
|
};
|
|
};
|
|
|
|
&partitions {
|
|
partition@90000 {
|
|
compatible = "denx,uimage";
|
|
label = "firmware";
|
|
reg = <0x90000 0x6f0000>;
|
|
};
|
|
|
|
partition@780000 {
|
|
label = "ML";
|
|
reg = <0x780000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7a0000 {
|
|
label = "ML1";
|
|
reg = <0x7a0000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7c0000 {
|
|
label = "ML2";
|
|
reg = <0x7c0000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7e0000 {
|
|
label = "POT";
|
|
reg = <0x7e0000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7f0000 {
|
|
label = "reserved";
|
|
reg = <0x7f0000 0x10000>;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
&ehci {
|
|
status = "disabled";
|
|
};
|
|
|
|
&ohci {
|
|
status = "disabled";
|
|
};
|