ipq: more v4.9 fixes
[openwrt/staging/blogic.git] / target / linux / ipq806x / patches-4.9 / 0024-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch
1 From 0fba6eceb6e16fa8fd5834d65fcb771fa263a44b Mon Sep 17 00:00:00 2001
2 From: Matthew McClintock <mmcclint@codeaurora.org>
3 Date: Thu, 17 Mar 2016 16:22:28 -0500
4 Subject: [PATCH 24/69] qcom: ipq4019: add USB nodes to ipq4019 SoC device tree
5
6 This adds the SoC nodes to the ipq4019 device tree
7
8 Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
9 ---
10 arch/arm/boot/dts/qcom-ipq4019.dtsi | 67 +++++++++++++++++++++++++++++++++++++
11 1 file changed, 67 insertions(+)
12
13 diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
14 index 1edce12462f3..c38420de5fff 100644
15 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
16 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
17 @@ -313,5 +313,72 @@
18 compatible = "qcom,pshold";
19 reg = <0x4ab000 0x4>;
20 };
21 +
22 + usb3_ss_phy: ssphy@9a000 {
23 + compatible = "qca,uni-ssphy";
24 + reg = <0x9a000 0x800>;
25 + reg-names = "phy_base";
26 + resets = <&gcc USB3_UNIPHY_PHY_ARES>;
27 + reset-names = "por_rst";
28 + status = "disabled";
29 + };
30 +
31 + usb3_hs_phy: hsphy@a6000 {
32 + compatible = "qca,baldur-usb3-hsphy";
33 + reg = <0xa6000 0x40>;
34 + reg-names = "phy_base";
35 + resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>;
36 + reset-names = "por_rst", "srif_rst";
37 + status = "disabled";
38 + };
39 +
40 + usb3@0 {
41 + compatible = "qcom,dwc3";
42 + #address-cells = <1>;
43 + #size-cells = <1>;
44 + clocks = <&gcc GCC_USB3_MASTER_CLK>;
45 + clock-names = "core";
46 + ranges;
47 + status = "disabled";
48 +
49 + dwc3@8a00000 {
50 + compatible = "snps,dwc3";
51 + reg = <0x8a00000 0xf8000>;
52 + interrupts = <0 132 0>;
53 + usb-phy = <&usb3_hs_phy>, <&usb3_ss_phy>;
54 + phy-names = "usb2-phy", "usb3-phy";
55 + tx-fifo-resize;
56 + dr_mode = "host";
57 + };
58 + };
59 +
60 + usb2_hs_phy: hsphy@a8000 {
61 + compatible = "qca,baldur-usb2-hsphy";
62 + reg = <0xa8000 0x40>;
63 + reg-names = "phy_base";
64 + resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>;
65 + reset-names = "por_rst", "srif_rst";
66 + status = "disabled";
67 + };
68 +
69 + usb2@0 {
70 + compatible = "qcom,dwc3";
71 + #address-cells = <1>;
72 + #size-cells = <1>;
73 + clocks = <&gcc GCC_USB2_MASTER_CLK>;
74 + clock-names = "core";
75 + ranges;
76 + status = "disabled";
77 +
78 + dwc3@6000000 {
79 + compatible = "snps,dwc3";
80 + reg = <0x6000000 0xf8000>;
81 + interrupts = <0 136 0>;
82 + usb-phy = <&usb2_hs_phy>;
83 + phy-names = "usb2-phy";
84 + tx-fifo-resize;
85 + dr_mode = "host";
86 + };
87 + };
88 };
89 };
90 --
91 2.11.0
92