aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-12-21 21:43:24 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 01:04:51 +0100
commitd0efb1ba95f34b70dca759b6cfeb854be43a4edf (patch)
treec234161d2ccd2e0c8e6b422efb93f12b491f6b0f /target/linux
parent80839694056d7eedb1fac1c4b61847c4a4f94d6a (diff)
downloadupstream-d0efb1ba95f34b70dca759b6cfeb854be43a4edf.tar.gz
upstream-d0efb1ba95f34b70dca759b6cfeb854be43a4edf.tar.bz2
upstream-d0efb1ba95f34b70dca759b6cfeb854be43a4edf.zip
ipq40xx: remove unnecessary usb nodes in DTS for ASUS RT-AC58U
RT-AC58U has single USB 3.0 port, and only usb3_port1 is actually used. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts25
-rw-r--r--target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts25
2 files changed, 2 insertions, 48 deletions
diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
index 4e5559386e..f046bdcb5e 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
@@ -58,20 +58,6 @@
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
- usb2@60f8800 {
- status = "okay";
-
- dwc3@6000000 {
- #address-cells = <1>;
- #size-cells = <0>;
-
- usb2_port1: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
- };
- };
- };
-
usb3@8af8800 {
status = "okay";
@@ -83,11 +69,6 @@
reg = <1>;
#trigger-source-cells = <0>;
};
-
- usb3_port2: port@2 {
- reg = <2>;
- #trigger-source-cells = <0>;
- };
};
};
@@ -162,7 +143,7 @@
usb {
label = "rt-ac58u:blue:usb";
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
- trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
+ trigger-sources = <&usb3_port1>;
linux,default-trigger = "usbport";
};
@@ -316,7 +297,3 @@
&usb3_hs_phy {
status = "okay";
};
-
-&usb2_hs_phy {
- status = "okay";
-};
diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
index a569a158fd..331d8e4d74 100644
--- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
+++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
@@ -62,20 +62,6 @@
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
- usb2@60f8800 {
- status = "okay";
-
- dwc3@6000000 {
- #address-cells = <1>;
- #size-cells = <0>;
-
- usb2_port1: port@1 {
- reg = <1>;
- #trigger-source-cells = <0>;
- };
- };
- };
-
usb3@8af8800 {
status = "okay";
@@ -87,11 +73,6 @@
reg = <1>;
#trigger-source-cells = <0>;
};
-
- usb3_port2: port@2 {
- reg = <2>;
- #trigger-source-cells = <0>;
- };
};
};
@@ -156,7 +137,7 @@
usb {
label = "rt-ac58u:blue:usb";
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
- trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
+ trigger-sources = <&usb3_port1>;
linux,default-trigger = "usbport";
};
@@ -312,10 +293,6 @@
status = "okay";
};
-&usb2_hs_phy {
- status = "okay";
-};
-
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "RT-AC58U";