Commit f9a9c114 authored by Abel Vesa's avatar Abel Vesa Committed by Bjorn Andersson

arm64: dts: qcom: x1e80100-qcp: Enable more support

Enable display, pcie and usb support.
Co-developed-by: default avatarSibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: default avatarSibi Sankar <quic_sibis@quicinc.com>
Co-developed-by: default avatarRajendra Nayak <quic_rjendra@quicinc.com>
Signed-off-by: default avatarRajendra Nayak <quic_rjendra@quicinc.com>
Signed-off-by: default avatarAbel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240129-x1e80100-dts-missing-nodes-v6-10-2c0e691cfa3b@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent d7e03cce
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "x1e80100.dtsi" #include "x1e80100.dtsi"
...@@ -31,6 +32,23 @@ vph_pwr: vph-pwr-regulator { ...@@ -31,6 +32,23 @@ vph_pwr: vph-pwr-regulator {
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
}; };
vreg_edp_3p3: regulator-edp-3p3 {
compatible = "regulator-fixed";
regulator-name = "VREG_EDP_3P3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&edp_reg_en>;
pinctrl-names = "default";
regulator-always-on;
regulator-boot-on;
};
}; };
&apps_rsc { &apps_rsc {
...@@ -383,17 +401,170 @@ vreg_l3j_0p8: ldo3 { ...@@ -383,17 +401,170 @@ vreg_l3j_0p8: ldo3 {
}; };
}; };
&mdss {
status = "okay";
};
&mdss_dp3 {
compatible = "qcom,x1e80100-dp";
/delete-property/ #sound-dai-cells;
data-lanes = <0 1 2 3>;
status = "okay";
aux-bus {
panel {
compatible = "edp-panel";
power-supply = <&vreg_edp_3p3>;
port {
edp_panel_in: endpoint {
remote-endpoint = <&mdss_dp3_out>;
};
};
};
};
ports {
port@1 {
reg = <1>;
mdss_dp3_out: endpoint {
remote-endpoint = <&edp_panel_in>;
};
};
};
};
&mdss_dp3_phy {
vdda-phy-supply = <&vreg_l3j_0p8>;
vdda-pll-supply = <&vreg_l2j_1p2>;
status = "okay";
};
&pcie4 {
status = "okay";
};
&pcie4_phy {
vdda-phy-supply = <&vreg_l3j_0p8>;
vdda-pll-supply = <&vreg_l3e_1p2>;
status = "okay";
};
&pcie6a {
status = "okay";
};
&pcie6a_phy {
vdda-phy-supply = <&vreg_l3j_0p8>;
vdda-pll-supply = <&vreg_l2j_1p2>;
status = "okay";
};
&qupv3_0 {
status = "okay";
};
&qupv3_1 {
status = "okay";
};
&qupv3_2 { &qupv3_2 {
status = "okay"; status = "okay";
}; };
&remoteproc_adsp {
firmware-name = "qcom/x1e80100/adsp.mbn",
"qcom/x1e80100/adsp_dtb.mbn";
status = "okay";
};
&remoteproc_cdsp {
firmware-name = "qcom/x1e80100/cdsp.mbn",
"qcom/x1e80100/cdsp_dtb.mbn";
status = "okay";
};
&tlmm { &tlmm {
gpio-reserved-ranges = <33 3>, /* Unused */ gpio-reserved-ranges = <33 3>, /* Unused */
<44 4>, /* SPI (TPM) */ <44 4>, /* SPI (TPM) */
<238 1>; /* UFS Reset */ <238 1>; /* UFS Reset */
edp_reg_en: edp-reg-en-state {
pins = "gpio70";
function = "gpio";
drive-strength = <16>;
bias-disable;
};
}; };
&uart21 { &uart21 {
compatible = "qcom,geni-debug-uart"; compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
&usb_1_ss0_hsphy {
vdd-supply = <&vreg_l2e_0p8>;
vdda12-supply = <&vreg_l3e_1p2>;
status = "okay";
};
&usb_1_ss0_qmpphy {
status = "okay";
};
&usb_1_ss0 {
status = "okay";
};
&usb_1_ss0_dwc3 {
dr_mode = "host";
usb-role-switch;
};
&usb_1_ss1_hsphy {
vdd-supply = <&vreg_l2e_0p8>;
vdda12-supply = <&vreg_l3e_1p2>;
status = "okay";
};
&usb_1_ss1_qmpphy {
status = "okay";
};
&usb_1_ss1 {
status = "okay";
};
&usb_1_ss1_dwc3 {
dr_mode = "host";
usb-role-switch;
};
&usb_1_ss2_hsphy {
vdd-supply = <&vreg_l2e_0p8>;
vdda12-supply = <&vreg_l3e_1p2>;
status = "okay";
};
&usb_1_ss2_qmpphy {
status = "okay";
};
&usb_1_ss2 {
status = "okay";
};
&usb_1_ss2_dwc3 {
dr_mode = "host";
usb-role-switch;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment