1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
4 $id: http://devicetree.org/schemas/display/msm/qcom,sm8450-mdss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM8450 Display MDSS
10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 SM8450 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
14 DPU display controller, DSI and DP interfaces etc.
16 $ref: /schemas/display/msm/mdss-common.yaml#
20 const: qcom,sm8450-mdss
24 - description: Display AHB
25 - description: Display hf AXI
26 - description: Display sf AXI
27 - description: Display core
39 "^display-controller@[0-9a-f]+$":
43 const: qcom,sm8450-dpu
45 "^displayport-controller@[0-9a-f]+$":
50 - const: qcom,sm8450-dp
51 - const: qcom,sm8350-dp
58 - const: qcom,sm8450-dsi-ctrl
59 - const: qcom,mdss-dsi-ctrl
65 const: qcom,sm8450-dsi-phy-5nm
70 unevaluatedProperties: false
74 #include <dt-bindings/clock/qcom,sm8450-dispcc.h>
75 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
76 #include <dt-bindings/clock/qcom,rpmh.h>
77 #include <dt-bindings/interrupt-controller/arm-gic.h>
78 #include <dt-bindings/interconnect/qcom,sm8450.h>
79 #include <dt-bindings/power/qcom-rpmpd.h>
81 display-subsystem@ae00000 {
82 compatible = "qcom,sm8450-mdss";
83 reg = <0x0ae00000 0x1000>;
86 interconnects = <&mmss_noc MASTER_MDP_DISP 0 &mc_virt SLAVE_EBI1_DISP 0>,
87 <&mmss_noc MASTER_MDP_DISP 0 &mc_virt SLAVE_EBI1_DISP 0>;
88 interconnect-names = "mdp0-mem", "mdp1-mem";
90 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
92 power-domains = <&dispcc MDSS_GDSC>;
94 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
95 <&gcc GCC_DISP_HF_AXI_CLK>,
96 <&gcc GCC_DISP_SF_AXI_CLK>,
97 <&dispcc DISP_CC_MDSS_MDP_CLK>;
98 clock-names = "iface", "bus", "nrt_bus", "core";
100 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
101 interrupt-controller;
102 #interrupt-cells = <1>;
104 iommus = <&apps_smmu 0x2800 0x402>;
106 #address-cells = <1>;
110 display-controller@ae01000 {
111 compatible = "qcom,sm8450-dpu";
112 reg = <0x0ae01000 0x8f000>,
114 reg-names = "mdp", "vbif";
116 clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
117 <&gcc GCC_DISP_SF_AXI_CLK>,
118 <&dispcc DISP_CC_MDSS_AHB_CLK>,
119 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
120 <&dispcc DISP_CC_MDSS_MDP_CLK>,
121 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
129 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
130 assigned-clock-rates = <19200000>;
132 operating-points-v2 = <&mdp_opp_table>;
133 power-domains = <&rpmhpd SM8450_MMCX>;
135 interrupt-parent = <&mdss>;
139 #address-cells = <1>;
144 dpu_intf1_out: endpoint {
145 remote-endpoint = <&dsi0_in>;
151 dpu_intf2_out: endpoint {
152 remote-endpoint = <&dsi1_in>;
157 mdp_opp_table: opp-table {
158 compatible = "operating-points-v2";
161 opp-hz = /bits/ 64 <172000000>;
162 required-opps = <&rpmhpd_opp_low_svs_d1>;
166 opp-hz = /bits/ 64 <200000000>;
167 required-opps = <&rpmhpd_opp_low_svs>;
171 opp-hz = /bits/ 64 <325000000>;
172 required-opps = <&rpmhpd_opp_svs>;
176 opp-hz = /bits/ 64 <375000000>;
177 required-opps = <&rpmhpd_opp_svs_l1>;
181 opp-hz = /bits/ 64 <500000000>;
182 required-opps = <&rpmhpd_opp_nom>;
188 compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl";
189 reg = <0x0ae94000 0x400>;
190 reg-names = "dsi_ctrl";
192 interrupt-parent = <&mdss>;
195 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
196 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
197 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
198 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
199 <&dispcc DISP_CC_MDSS_AHB_CLK>,
200 <&gcc GCC_DISP_HF_AXI_CLK>;
201 clock-names = "byte",
208 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
209 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
210 assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
212 operating-points-v2 = <&dsi_opp_table>;
213 power-domains = <&rpmhpd SM8450_MMCX>;
218 #address-cells = <1>;
222 #address-cells = <1>;
228 remote-endpoint = <&dpu_intf1_out>;
239 dsi_opp_table: opp-table {
240 compatible = "operating-points-v2";
243 opp-hz = /bits/ 64 <160310000>;
244 required-opps = <&rpmhpd_opp_low_svs_d1>;
248 opp-hz = /bits/ 64 <187500000>;
249 required-opps = <&rpmhpd_opp_low_svs>;
253 opp-hz = /bits/ 64 <300000000>;
254 required-opps = <&rpmhpd_opp_svs>;
258 opp-hz = /bits/ 64 <358000000>;
259 required-opps = <&rpmhpd_opp_svs_l1>;
264 dsi0_phy: phy@ae94400 {
265 compatible = "qcom,sm8450-dsi-phy-5nm";
266 reg = <0x0ae94400 0x200>,
269 reg-names = "dsi_phy",
276 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
277 <&rpmhcc RPMH_CXO_CLK>;
278 clock-names = "iface", "ref";
279 vdds-supply = <&vreg_dsi_phy>;
283 compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl";
284 reg = <0x0ae96000 0x400>;
285 reg-names = "dsi_ctrl";
287 interrupt-parent = <&mdss>;
290 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
291 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
292 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
293 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
294 <&dispcc DISP_CC_MDSS_AHB_CLK>,
295 <&gcc GCC_DISP_HF_AXI_CLK>;
296 clock-names = "byte",
303 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
304 <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
305 assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
307 operating-points-v2 = <&dsi_opp_table>;
308 power-domains = <&rpmhpd SM8450_MMCX>;
313 #address-cells = <1>;
317 #address-cells = <1>;
323 remote-endpoint = <&dpu_intf2_out>;
335 dsi1_phy: phy@ae96400 {
336 compatible = "qcom,sm8450-dsi-phy-5nm";
337 reg = <0x0ae96400 0x200>,
340 reg-names = "dsi_phy",
347 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
348 <&rpmhcc RPMH_CXO_CLK>;
349 clock-names = "iface", "ref";
350 vdds-supply = <&vreg_dsi_phy>;