mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +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>
50 lines
884 B
Plaintext
50 lines
884 B
Plaintext
#include "mt7628an_netgear_r6xxx.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,r6120", "mediatek,mt7628an-soc";
|
|
model = "Netgear R6120";
|
|
|
|
aliases {
|
|
label-mac-device = ðernet;
|
|
};
|
|
|
|
usb-regulator {
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "USB-power";
|
|
gpio = <&gpio 45 GPIO_ACTIVE_HIGH>;
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
enable-active-high;
|
|
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
|
|
"p4led_an", "wdt", "wled_an", "uart1";
|
|
function = "gpio";
|
|
};
|
|
};
|
|
|
|
&partitions {
|
|
partition@90000 {
|
|
compatible = "denx,uimage";
|
|
label = "firmware";
|
|
reg = <0x90000 0xf60000>;
|
|
};
|
|
|
|
partition@ff0000 {
|
|
label = "reserved";
|
|
reg = <0xff0000 0x10000>;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
&wifi5 {
|
|
mtd-mac-address = <&factory 0x4>;
|
|
mtd-mac-address-increment = <(2)>;
|
|
};
|