Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes

Add USB host controller and PHY nodes.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230119004533.1869870-2-abel.vesa@linaro.org

authored by

Abel Vesa and committed by
Bjorn Andersson
7f7e5c1b e5988fd6

+91 -1
+91 -1
arch/arm64/boot/dts/qcom/sm8550.dtsi
··· 14 14 #include <dt-bindings/mailbox/qcom-ipcc.h> 15 15 #include <dt-bindings/power/qcom-rpmpd.h> 16 16 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 17 + #include <dt-bindings/phy/phy-qcom-qmp.h> 17 18 #include <dt-bindings/thermal/thermal.h> 18 19 19 20 / { ··· 747 746 <&ufs_mem_phy 0>, 748 747 <&ufs_mem_phy 1>, 749 748 <&ufs_mem_phy 2>, 750 - <0>; 749 + <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; 751 750 }; 752 751 753 752 ipcc: mailbox@408000 { ··· 2368 2367 #reset-cells = <1>; 2369 2368 #power-domain-cells = <1>; 2370 2369 status = "disabled"; 2370 + }; 2371 + 2372 + usb_1_hsphy: phy@88e3000 { 2373 + compatible = "qcom,sm8550-snps-eusb2-phy"; 2374 + reg = <0x0 0x088e3000 0x0 0x154>; 2375 + #phy-cells = <0>; 2376 + 2377 + clocks = <&tcsr TCSR_USB2_CLKREF_EN>; 2378 + clock-names = "ref"; 2379 + 2380 + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 2381 + 2382 + status = "disabled"; 2383 + }; 2384 + 2385 + usb_dp_qmpphy: phy@88e8000 { 2386 + compatible = "qcom,sm8550-qmp-usb3-dp-phy"; 2387 + reg = <0x0 0x088e8000 0x0 0x3000>; 2388 + 2389 + clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, 2390 + <&rpmhcc RPMH_CXO_CLK>, 2391 + <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, 2392 + <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; 2393 + clock-names = "aux", "ref", "com_aux", "usb3_pipe"; 2394 + 2395 + power-domains = <&gcc USB3_PHY_GDSC>; 2396 + 2397 + resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>, 2398 + <&gcc GCC_USB3_PHY_PRIM_BCR>; 2399 + reset-names = "phy", "common"; 2400 + 2401 + #clock-cells = <1>; 2402 + #phy-cells = <1>; 2403 + 2404 + status = "disabled"; 2405 + }; 2406 + 2407 + usb_1: usb@a6f8800 { 2408 + compatible = "qcom,sm8550-dwc3", "qcom,dwc3"; 2409 + reg = <0x0 0x0a6f8800 0x0 0x400>; 2410 + #address-cells = <2>; 2411 + #size-cells = <2>; 2412 + ranges; 2413 + 2414 + clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 2415 + <&gcc GCC_USB30_PRIM_MASTER_CLK>, 2416 + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 2417 + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 2418 + <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 2419 + <&tcsr TCSR_USB3_CLKREF_EN>; 2420 + clock-names = "cfg_noc", 2421 + "core", 2422 + "iface", 2423 + "sleep", 2424 + "mock_utmi", 2425 + "xo"; 2426 + 2427 + assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 2428 + <&gcc GCC_USB30_PRIM_MASTER_CLK>; 2429 + assigned-clock-rates = <19200000>, <200000000>; 2430 + 2431 + interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 2432 + <&pdc 17 IRQ_TYPE_LEVEL_HIGH>, 2433 + <&pdc 15 IRQ_TYPE_EDGE_RISING>, 2434 + <&pdc 14 IRQ_TYPE_EDGE_RISING>; 2435 + interrupt-names = "hs_phy_irq", 2436 + "ss_phy_irq", 2437 + "dm_hs_phy_irq", 2438 + "dp_hs_phy_irq"; 2439 + 2440 + power-domains = <&gcc USB30_PRIM_GDSC>; 2441 + required-opps = <&rpmhpd_opp_nom>; 2442 + 2443 + resets = <&gcc GCC_USB30_PRIM_BCR>; 2444 + 2445 + status = "disabled"; 2446 + 2447 + usb_1_dwc3: usb@a600000 { 2448 + compatible = "snps,dwc3"; 2449 + reg = <0x0 0x0a600000 0x0 0xcd00>; 2450 + interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 2451 + iommus = <&apps_smmu 0x40 0x0>; 2452 + snps,dis_u2_susphy_quirk; 2453 + snps,dis_enblslpm_quirk; 2454 + snps,usb3_lpm_capable; 2455 + phys = <&usb_1_hsphy>, 2456 + <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>; 2457 + phy-names = "usb2-phy", "usb3-phy"; 2458 + }; 2371 2459 }; 2372 2460 2373 2461 pdc: interrupt-controller@b220000 {