projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: drop and consolidate redundant chosen/bootargs
[oweals/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
qca9531_tplink_archer-d50-v1.dts
diff --git
a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
index 25c1d050da914536780981b2e426605fabab3a0a..3aa6bd1367b0e24d3930bfe7f5262a5b4cf24d08 100644
(file)
--- a/
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
+++ b/
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
@@
-10,26
+10,30
@@
compatible = "tplink,archer-d50-v1", "qca,qca9531";
model = "TP-Link Archer D50 v1";
compatible = "tplink,archer-d50-v1", "qca,qca9531";
model = "TP-Link Archer D50 v1";
- chosen {
- bootargs = "console=ttyS0,115200n8";
+ aliases {
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
+ label-mac-device = &wmac;
};
};
-
gpio_leds:
leds {
+ leds {
compatible = "gpio-leds";
compatible = "gpio-leds";
-
led_wlan2g:
wlan2g {
+ wlan2g {
label = "tp-link:white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
label = "tp-link:white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
led_wlan5g:
wlan5g {
+ wlan5g {
label = "tp-link:white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
label = "tp-link:white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
-
};
+ };
- qss
_led: qss
{
+ qss {
label = "tp-link:white:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
label = "tp-link:white:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
@@
-56,7
+60,7
@@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
-
system: system
{
+
led_system: system
{
label = "tp-link:white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
label = "tp-link:white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
@@
-103,7
+107,7
@@
#address-cells = <1>;
#size-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
-
uboot:
partition@0 {
+ partition@0 {
label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
@@
-148,6
+152,7
@@
ð0 {
status = "okay";
ð0 {
status = "okay";
+
phy-handle = <&swphy4>;
mtd-mac-address = <&romfile 0xf100>;
phy-handle = <&swphy4>;
mtd-mac-address = <&romfile 0xf100>;
@@
-156,6
+161,7
@@
&wmac {
status = "okay";
&wmac {
status = "okay";
+
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&romfile 0xf100>;
};
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&romfile 0xf100>;
};