diff options
author | Thomas Reifferscheid <thomas@reifferscheid.org> | 2017-03-25 00:11:43 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-03-27 08:15:37 +0200 |
commit | e52117354ceef1b6946b66d3af39fded8005cdaf (patch) | |
tree | eb56e5563e0ebfcfd1b61057586e05f9e96fa54f /target/linux/ipq806x/files-4.9/arch/arm | |
parent | 8f2e52b7bccc5dc5707b8b5e7f734a5170aa6d5e (diff) | |
download | upstream-e52117354ceef1b6946b66d3af39fded8005cdaf.tar.gz upstream-e52117354ceef1b6946b66d3af39fded8005cdaf.tar.bz2 upstream-e52117354ceef1b6946b66d3af39fded8005cdaf.zip |
ipq8064: enable 2nd USB port on R7500
Makes use of the syscon tcsr and enables both USB ports. Cleans up
qcom-ipq8064.dtsi from previous attempts.
Fixes FS#497
Signed-off-by: Thomas Reifferscheid <thomas@reifferscheid.org>
Diffstat (limited to 'target/linux/ipq806x/files-4.9/arch/arm')
-rw-r--r-- | target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 6 | ||||
-rw-r--r-- | target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts index 1c26343d93..b31f34cc65 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts @@ -1,6 +1,7 @@ #include "qcom-ipq8064-v1.0.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/soc/qcom,tcsr.h> / { model = "Netgear Nighthawk X4 R7500"; @@ -376,6 +377,11 @@ }; }; +&tcsr { + qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>; + compatible = "qcom,tcsr"; +}; + &adm_dma { status = "ok"; }; diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi index 2c7ba5acc1..9996bd7415 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -965,8 +965,6 @@ clocks = <&gcc USB30_0_MASTER_CLK>; clock-names = "core"; - syscon-tcsr = <&tcsr 0xb0 1>; - ranges; status = "disabled"; @@ -989,8 +987,6 @@ clocks = <&gcc USB30_1_MASTER_CLK>; clock-names = "core"; - syscon-tcsr = <&tcsr 0xb0 0>; - ranges; status = "disabled"; |