Skip to content

Commit 80ce22e

Browse files
Rudraksha Guptaandersson
authored andcommitted
ARM: dts: qcom: msm8960: Add USB node
Add the required nodes to support USB on the MSM8960 SoC. As it's very similar to the APQ8064 SoC, the nodes are almost identical Add a label to sleep_clk for the USB node to reference Signed-off-by: Rudraksha Gupta <guptarud@gmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230607050025.86636-4-guptarud@gmail.com
1 parent 7b8f119 commit 80ce22e

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

arch/arm/boot/dts/qcom-msm8960.dtsi

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#include <dt-bindings/interrupt-controller/arm-gic.h>
55
#include <dt-bindings/clock/qcom,gcc-msm8960.h>
6+
#include <dt-bindings/reset/qcom,gcc-msm8960.h>
67
#include <dt-bindings/clock/qcom,lcc-msm8960.h>
78
#include <dt-bindings/mfd/qcom-rpm.h>
89
#include <dt-bindings/soc/qcom,gsbi.h>
@@ -71,7 +72,7 @@
7172
clock-output-names = "pxo_board";
7273
};
7374

74-
sleep_clk {
75+
sleep_clk: sleep_clk {
7576
compatible = "fixed-clock";
7677
#clock-cells = <0>;
7778
clock-frequency = <32768>;
@@ -370,5 +371,36 @@
370371
status = "disabled";
371372
};
372373
};
374+
375+
usb1: usb@12500000 {
376+
compatible = "qcom,ci-hdrc";
377+
reg = <0x12500000 0x200>,
378+
<0x12500200 0x200>;
379+
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
380+
clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
381+
clock-names = "core", "iface";
382+
assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
383+
assigned-clock-rates = <60000000>;
384+
resets = <&gcc USB_HS1_RESET>;
385+
reset-names = "core";
386+
phy_type = "ulpi";
387+
ahb-burst-config = <0>;
388+
phys = <&usb_hs1_phy>;
389+
phy-names = "usb-phy";
390+
#reset-cells = <1>;
391+
status = "disabled";
392+
393+
ulpi {
394+
usb_hs1_phy: phy {
395+
compatible = "qcom,usb-hs-phy-msm8960",
396+
"qcom,usb-hs-phy";
397+
clocks = <&sleep_clk>, <&cxo_board>;
398+
clock-names = "sleep", "ref";
399+
resets = <&usb1 0>;
400+
reset-names = "por";
401+
#phy-cells = <0>;
402+
};
403+
};
404+
};
373405
};
374406
};

0 commit comments

Comments
 (0)