1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/display/msm/qcom,sm8350-mdss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM8350 Display MDSS
10 - Robert Foss <robert.foss@linaro.org>
13 MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like
14 DPU display controller, DSI and DP interfaces etc.
16 $ref: /schemas/display/msm/mdss-common.yaml#
21 - const: qcom,sm8350-mdss
25 - description: Display AHB clock from gcc
26 - description: Display hf axi clock
27 - description: Display sf axi clock
28 - description: Display core clock
49 "^display-controller@[0-9a-f]+$":
51 additionalProperties: true
55 const: qcom,sm8350-dpu
57 "^displayport-controller@[0-9a-f]+$":
59 additionalProperties: true
67 additionalProperties: true
72 - const: qcom,sm8350-dsi-ctrl
73 - const: qcom,mdss-dsi-ctrl
77 additionalProperties: true
81 const: qcom,sm8350-dsi-phy-5nm
83 unevaluatedProperties: false
87 #include <dt-bindings/clock/qcom,dispcc-sm8350.h>
88 #include <dt-bindings/clock/qcom,gcc-sm8350.h>
89 #include <dt-bindings/clock/qcom,rpmh.h>
90 #include <dt-bindings/interrupt-controller/arm-gic.h>
91 #include <dt-bindings/interconnect/qcom,sm8350.h>
92 #include <dt-bindings/power/qcom,rpmhpd.h>
94 display-subsystem@ae00000 {
95 compatible = "qcom,sm8350-mdss";
96 reg = <0x0ae00000 0x1000>;
99 interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>,
100 <&mmss_noc MASTER_MDP1 0 &mc_virt SLAVE_EBI1 0>;
101 interconnect-names = "mdp0-mem", "mdp1-mem";
103 power-domains = <&dispcc MDSS_GDSC>;
104 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
106 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
107 <&gcc GCC_DISP_HF_AXI_CLK>,
108 <&gcc GCC_DISP_SF_AXI_CLK>,
109 <&dispcc DISP_CC_MDSS_MDP_CLK>;
110 clock-names = "iface", "bus", "nrt_bus", "core";
112 iommus = <&apps_smmu 0x820 0x402>;
114 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
115 interrupt-controller;
116 #interrupt-cells = <1>;
118 #address-cells = <1>;
122 display-controller@ae01000 {
123 compatible = "qcom,sm8350-dpu";
124 reg = <0x0ae01000 0x8f000>,
126 reg-names = "mdp", "vbif";
128 clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
129 <&gcc GCC_DISP_SF_AXI_CLK>,
130 <&dispcc DISP_CC_MDSS_AHB_CLK>,
131 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
132 <&dispcc DISP_CC_MDSS_MDP_CLK>,
133 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
141 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
142 assigned-clock-rates = <19200000>;
144 operating-points-v2 = <&mdp_opp_table>;
145 power-domains = <&rpmhpd RPMHPD_MMCX>;
147 interrupt-parent = <&mdss>;
151 #address-cells = <1>;
156 dpu_intf1_out: endpoint {
157 remote-endpoint = <&dsi0_in>;
162 mdp_opp_table: opp-table {
163 compatible = "operating-points-v2";
166 opp-hz = /bits/ 64 <200000000>;
167 required-opps = <&rpmhpd_opp_low_svs>;
171 opp-hz = /bits/ 64 <300000000>;
172 required-opps = <&rpmhpd_opp_svs>;
176 opp-hz = /bits/ 64 <345000000>;
177 required-opps = <&rpmhpd_opp_svs_l1>;
181 opp-hz = /bits/ 64 <460000000>;
182 required-opps = <&rpmhpd_opp_nom>;
188 compatible = "qcom,sm8350-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 = <&mdss_dsi0_phy 0>,
213 operating-points-v2 = <&dsi_opp_table>;
214 power-domains = <&rpmhpd RPMHPD_MMCX>;
216 phys = <&mdss_dsi0_phy>;
219 #address-cells = <1>;
225 remote-endpoint = <&dpu_intf1_out>;