Commit ece28cb5 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: sm8250: Disable Adreno and Venus by default

Components that rely on proprietary (not to mention signed!) firmware should
not be enabled by default, as lack of the aforementioned firmware could cause
various issues, from random errors to straight-up failing to boot.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210612192358.62602-1-konrad.dybcio@somainline.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 15049bb5
...@@ -552,7 +552,13 @@ &dsi0_phy { ...@@ -552,7 +552,13 @@ &dsi0_phy {
vdds-supply = <&vreg_l5a_0p88>; vdds-supply = <&vreg_l5a_0p88>;
}; };
&gmu {
status = "okay";
};
&gpu { &gpu {
status = "okay";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
firmware-name = "qcom/sm8250/a650_zap.mbn"; firmware-name = "qcom/sm8250/a650_zap.mbn";
...@@ -1352,6 +1358,10 @@ &vamacro { ...@@ -1352,6 +1358,10 @@ &vamacro {
qcom,dmic-sample-rate = <600000>; qcom,dmic-sample-rate = <600000>;
}; };
&venus {
status = "okay";
};
/* PINCTRL - additions to nodes defined in sm8250.dtsi */ /* PINCTRL - additions to nodes defined in sm8250.dtsi */
&qup_spi0_cs_gpio { &qup_spi0_cs_gpio {
drive-strength = <6>; drive-strength = <6>;
......
...@@ -365,6 +365,14 @@ vreg_l7f_1p8: ldo7 { ...@@ -365,6 +365,14 @@ vreg_l7f_1p8: ldo7 {
}; };
}; };
&gmu {
status = "okay";
};
&gpu {
status = "okay";
};
&qupv3_id_1 { &qupv3_id_1 {
status = "okay"; status = "okay";
}; };
...@@ -452,3 +460,7 @@ &usb_1_dwc3 { ...@@ -452,3 +460,7 @@ &usb_1_dwc3 {
&usb_2_dwc3 { &usb_2_dwc3 {
dr_mode = "host"; dr_mode = "host";
}; };
&venus {
status = "okay";
};
...@@ -465,7 +465,13 @@ &cdsp { ...@@ -465,7 +465,13 @@ &cdsp {
firmware-name = "qcom/sm8250/cdsp.mbn"; firmware-name = "qcom/sm8250/cdsp.mbn";
}; };
&gmu {
status = "okay";
};
&gpu { &gpu {
status = "okay";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
firmware-name = "qcom/sm8250/a650_zap.mbn"; firmware-name = "qcom/sm8250/a650_zap.mbn";
...@@ -691,3 +697,7 @@ &usb_2_qmpphy { ...@@ -691,3 +697,7 @@ &usb_2_qmpphy {
vdda-phy-supply = <&vreg_l9a_1p2>; vdda-phy-supply = <&vreg_l9a_1p2>;
vdda-pll-supply = <&vreg_l18a_0p9>; vdda-pll-supply = <&vreg_l18a_0p9>;
}; };
&venus {
status = "okay";
};
...@@ -1810,6 +1810,8 @@ gpu: gpu@3d00000 { ...@@ -1810,6 +1810,8 @@ gpu: gpu@3d00000 {
qcom,gmu = <&gmu>; qcom,gmu = <&gmu>;
status = "disabled";
zap-shader { zap-shader {
memory-region = <&gpu_mem>; memory-region = <&gpu_mem>;
}; };
...@@ -1883,6 +1885,8 @@ gmu: gmu@3d6a000 { ...@@ -1883,6 +1885,8 @@ gmu: gmu@3d6a000 {
operating-points-v2 = <&gmu_opp_table>; operating-points-v2 = <&gmu_opp_table>;
status = "disabled";
gmu_opp_table: opp-table { gmu_opp_table: opp-table {
compatible = "operating-points-v2"; compatible = "operating-points-v2";
...@@ -2387,6 +2391,8 @@ venus: video-codec@aa00000 { ...@@ -2387,6 +2391,8 @@ venus: video-codec@aa00000 {
<&videocc VIDEO_CC_MVS0C_CLK_ARES>; <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
reset-names = "bus", "core"; reset-names = "bus", "core";
status = "disabled";
video-decoder { video-decoder {
compatible = "venus-decoder"; compatible = "venus-decoder";
}; };
......
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