1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/display/msm/qcom,sm8150-mdss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM8150 Display MDSS
10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates
14 sub-blocks like DPU display controller, DSI and DP interfaces etc. Device tree
15 bindings of MDSS are mentioned for SM8150 target.
17 $ref: /schemas/display/msm/mdss-common.yaml#
22 - const: qcom,sm8150-mdss
26 - description: Display AHB clock from gcc
27 - description: Display hf axi clock
28 - description: Display sf axi clock
29 - description: Display core clock
48 "^display-controller@[0-9a-f]+$":
52 const: qcom,sm8150-dpu
59 - const: qcom,sm8150-dsi-ctrl
60 - const: qcom,mdss-dsi-ctrl
66 const: qcom,dsi-phy-7nm
68 unevaluatedProperties: false
72 #include <dt-bindings/clock/qcom,dispcc-sm8150.h>
73 #include <dt-bindings/clock/qcom,gcc-sm8150.h>
74 #include <dt-bindings/clock/qcom,rpmh.h>
75 #include <dt-bindings/interrupt-controller/arm-gic.h>
76 #include <dt-bindings/interconnect/qcom,sm8150.h>
77 #include <dt-bindings/power/qcom-rpmpd.h>
79 display-subsystem@ae00000 {
80 compatible = "qcom,sm8150-mdss";
81 reg = <0x0ae00000 0x1000>;
84 interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>,
85 <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>;
86 interconnect-names = "mdp0-mem", "mdp1-mem";
88 power-domains = <&dispcc MDSS_GDSC>;
90 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
91 <&gcc GCC_DISP_HF_AXI_CLK>,
92 <&gcc GCC_DISP_SF_AXI_CLK>,
93 <&dispcc DISP_CC_MDSS_MDP_CLK>;
94 clock-names = "iface", "bus", "nrt_bus", "core";
96 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
98 #interrupt-cells = <1>;
100 iommus = <&apps_smmu 0x800 0x420>;
102 #address-cells = <1>;
106 display-controller@ae01000 {
107 compatible = "qcom,sm8150-dpu";
108 reg = <0x0ae01000 0x8f000>,
110 reg-names = "mdp", "vbif";
112 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
113 <&gcc GCC_DISP_HF_AXI_CLK>,
114 <&dispcc DISP_CC_MDSS_MDP_CLK>,
115 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
116 clock-names = "iface", "bus", "core", "vsync";
118 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
119 assigned-clock-rates = <19200000>;
121 operating-points-v2 = <&mdp_opp_table>;
122 power-domains = <&rpmhpd SM8150_MMCX>;
124 interrupt-parent = <&mdss>;
128 #address-cells = <1>;
133 dpu_intf1_out: endpoint {
134 remote-endpoint = <&dsi0_in>;
140 dpu_intf2_out: endpoint {
141 remote-endpoint = <&dsi1_in>;
146 mdp_opp_table: opp-table {
147 compatible = "operating-points-v2";
150 opp-hz = /bits/ 64 <171428571>;
151 required-opps = <&rpmhpd_opp_low_svs>;
155 opp-hz = /bits/ 64 <300000000>;
156 required-opps = <&rpmhpd_opp_svs>;
160 opp-hz = /bits/ 64 <345000000>;
161 required-opps = <&rpmhpd_opp_svs_l1>;
165 opp-hz = /bits/ 64 <460000000>;
166 required-opps = <&rpmhpd_opp_nom>;
172 compatible = "qcom,sm8150-dsi-ctrl", "qcom,mdss-dsi-ctrl";
173 reg = <0x0ae94000 0x400>;
174 reg-names = "dsi_ctrl";
176 interrupt-parent = <&mdss>;
179 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
180 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
181 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
182 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
183 <&dispcc DISP_CC_MDSS_AHB_CLK>,
184 <&gcc GCC_DISP_HF_AXI_CLK>;
185 clock-names = "byte",
192 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
193 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
194 assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
196 operating-points-v2 = <&dsi_opp_table>;
197 power-domains = <&rpmhpd SM8150_MMCX>;
202 #address-cells = <1>;
206 #address-cells = <1>;
212 remote-endpoint = <&dpu_intf1_out>;
223 dsi_opp_table: opp-table {
224 compatible = "operating-points-v2";
227 opp-hz = /bits/ 64 <187500000>;
228 required-opps = <&rpmhpd_opp_low_svs>;
232 opp-hz = /bits/ 64 <300000000>;
233 required-opps = <&rpmhpd_opp_svs>;
237 opp-hz = /bits/ 64 <358000000>;
238 required-opps = <&rpmhpd_opp_svs_l1>;
243 dsi0_phy: phy@ae94400 {
244 compatible = "qcom,dsi-phy-7nm";
245 reg = <0x0ae94400 0x200>,
248 reg-names = "dsi_phy",
255 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
256 <&rpmhcc RPMH_CXO_CLK>;
257 clock-names = "iface", "ref";
258 vdds-supply = <&vreg_dsi_phy>;
262 compatible = "qcom,sm8150-dsi-ctrl", "qcom,mdss-dsi-ctrl";
263 reg = <0x0ae96000 0x400>;
264 reg-names = "dsi_ctrl";
266 interrupt-parent = <&mdss>;
269 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
270 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
271 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
272 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
273 <&dispcc DISP_CC_MDSS_AHB_CLK>,
274 <&gcc GCC_DISP_HF_AXI_CLK>;
275 clock-names = "byte",
282 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
283 <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
284 assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>;
286 operating-points-v2 = <&dsi_opp_table>;
287 power-domains = <&rpmhpd SM8150_MMCX>;
292 #address-cells = <1>;
296 #address-cells = <1>;
302 remote-endpoint = <&dpu_intf2_out>;
314 dsi1_phy: phy@ae96400 {
315 compatible = "qcom,dsi-phy-7nm";
316 reg = <0x0ae96400 0x200>,
319 reg-names = "dsi_phy",
326 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
327 <&rpmhcc RPMH_CXO_CLK>;
328 clock-names = "iface", "ref";
329 vdds-supply = <&vreg_dsi_phy>;