From: Thomas Reifferscheid Date: Fri, 24 Mar 2017 23:11:43 +0000 (+0100) Subject: ipq8064: enable 2nd USB port on R7500 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e52117354ceef1b6946b66d3af39fded8005cdaf;p=openwrt%2Fstaging%2Fflorian.git 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 --- 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 +#include / { model = "Netgear Nighthawk X4 R7500"; @@ -376,6 +377,11 @@ }; }; +&tcsr { + qcom,usb-ctrl-select = ; + 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";