1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-28 03:45:02 +02:00
openwrt/target/linux/ramips/dts/mt7628an_netgear_r6080.dts
Adrian Schmutzler c846dd91f0 ramips: remove model name from LED labels
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>
2020-10-02 14:51:57 +02:00

43 lines
661 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7628an_netgear_r6xxx.dtsi"
/ {
compatible = "netgear,r6080", "mediatek,mt7628an-soc";
model = "Netgear R6080";
aliases {
label-mac-device = &ethernet;
};
};
&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 0x760000>;
};
partition@7f0000 {
label = "reserved";
reg = <0x7f0000 0x10000>;
read-only;
};
};
&ehci {
status = "disabled";
};
&ohci {
status = "disabled";
};