mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
arm64: dts: qcom: eliza-mtp: Enable USB and ADSP support
The Eliza MTP features a single USB Type-C port. Its USB 2.0 lines are routed through an eUSB2 repeater provided by the PM7550BA PMIC. Describe the port and repeater, and enable the USB controller and PHYs. Also specify the ADSP firmware and enable the remoteproc. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Tested-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260514-eliza-adsp-usb-v5-3-a21056ffd892@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
59703108a0
commit
49dab7311f
|
|
@ -6,9 +6,12 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
|
||||
#include "eliza.dtsi"
|
||||
|
||||
#include "pm7550ba-eliza.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. Eliza MTP";
|
||||
compatible = "qcom,eliza-mtp", "qcom,eliza";
|
||||
|
|
@ -54,6 +57,44 @@ bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk {
|
|||
};
|
||||
};
|
||||
|
||||
pmic-glink {
|
||||
compatible = "qcom,eliza-pmic-glink",
|
||||
"qcom,sm8550-pmic-glink",
|
||||
"qcom,pmic-glink";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
orientation-gpios = <&tlmm 122 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
connector@0 {
|
||||
compatible = "usb-c-connector";
|
||||
reg = <0>;
|
||||
|
||||
power-role = "dual";
|
||||
data-role = "dual";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
pmic_glink_hs_in: endpoint {
|
||||
remote-endpoint = <&usb_dwc3_hs>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
pmic_glink_ss_in: endpoint {
|
||||
remote-endpoint = <&usb_dp_qmpphy_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
vph_pwr: regulator-vph-pwr {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
|
|
@ -376,6 +417,18 @@ vreg_l7k: ldo7 {
|
|||
};
|
||||
};
|
||||
|
||||
&pm7550ba_eusb2_repeater {
|
||||
vdd18-supply = <&vreg_l7b>;
|
||||
vdd3-supply = <&vreg_l17b>;
|
||||
};
|
||||
|
||||
&remoteproc_adsp {
|
||||
firmware-name = "qcom/eliza/adsp.mbn",
|
||||
"qcom/eliza/adsp_dtb.mbn";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
gpio-reserved-ranges = <20 4>, /* NFC SPI */
|
||||
<111 2>, /* WCN UART1 */
|
||||
|
|
@ -405,3 +458,31 @@ &ufs_mem_phy {
|
|||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_dp_qmpphy {
|
||||
vdda-phy-supply = <&vreg_l3g>;
|
||||
vdda-pll-supply = <&vreg_l7k>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_dp_qmpphy_out {
|
||||
remote-endpoint = <&pmic_glink_ss_in>;
|
||||
};
|
||||
|
||||
&usb_dwc3_hs {
|
||||
remote-endpoint = <&pmic_glink_hs_in>;
|
||||
};
|
||||
|
||||
&usb_hsphy {
|
||||
vdd-supply = <&vreg_l7k>;
|
||||
vdda12-supply = <&vreg_l4b>;
|
||||
|
||||
phys = <&pm7550ba_eusb2_repeater>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user