projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: fix TP-Link Archer C7 v2 wlan1 MAC address
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
qca9558_tl-archer-c7.dtsi
diff --git
a/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi
b/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi
index 08bb510ea71f206c5a49ad98c247fbded22b0de0..08b8e9257c0d8b60d698cb3c51b0a0f3dda6a311 100644
(file)
--- a/
target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi
+++ b/
target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi
@@
-7,11
+7,6
@@
#include "qca9557.dtsi"
/ {
#include "qca9557.dtsi"
/ {
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x8000000>;
- };
-
chosen {
bootargs = "console=ttyS0,115200n8";
};
chosen {
bootargs = "console=ttyS0,115200n8";
};
@@
-31,17
+26,17
@@
usb1 {
label = "tp-link:green:usb1";
usb1 {
label = "tp-link:green:usb1";
- gpios = <&gpio 1
8
GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 1
9
GPIO_ACTIVE_LOW>;
default-state = "off";
default-state = "off";
- trigger-sources = <&hub_port
0
>;
+ trigger-sources = <&hub_port
1
>;
linux,default-trigger = "usbport";
};
usb2 {
label = "tp-link:green:usb2";
linux,default-trigger = "usbport";
};
usb2 {
label = "tp-link:green:usb2";
- gpios = <&gpio 1
9
GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 1
8
GPIO_ACTIVE_LOW>;
default-state = "off";
default-state = "off";
- trigger-sources = <&hub_port
1
>;
+ trigger-sources = <&hub_port
0
>;
linux,default-trigger = "usbport";
};
linux,default-trigger = "usbport";
};
@@
-92,13
+87,13
@@
gpio_usb1_power {
gpio-export,name = "tp-link:power:usb1";
gpio-export,output = <1>;
gpio_usb1_power {
gpio-export,name = "tp-link:power:usb1";
gpio-export,output = <1>;
- gpios = <&gpio 2
2
GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 2
1
GPIO_ACTIVE_HIGH>;
};
gpio_usb2_power {
gpio-export,name = "tp-link:power:usb2";
gpio-export,output = <1>;
};
gpio_usb2_power {
gpio-export,name = "tp-link:power:usb2";
gpio-export,output = <1>;
- gpios = <&gpio 2
1
GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 2
2
GPIO_ACTIVE_HIGH>;
};
};
};
};
@@
-229,4
+224,5
@@
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
+ mtd-mac-address-increment = <(-1)>;
};
};