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>
This commit is contained in:
Thomas Reifferscheid 2017-03-25 00:11:43 +01:00 committed by John Crispin
parent 8f2e52b7bc
commit e52117354c
2 changed files with 6 additions and 4 deletions

View file

@ -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";
};

View file

@ -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";