1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
4 $id: http://devicetree.org/schemas/display/msm/dpu-sc7180.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Display DPU dt properties for SC7180 target
10 - Krishna Manikandan <quic_mkrishn@quicinc.com>
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 and DPU are mentioned for SC7180 target.
20 - const: qcom,sc7180-mdss
33 - description: Display AHB clock from gcc
34 - description: Display AHB clock from dispcc
35 - description: Display core clock
46 interrupt-controller: true
48 "#address-cells": true
57 - description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
63 - description: Interconnect path specifying the port ids for data bus
70 - description: MDSS_CORE reset
73 "^display-controller@[0-9a-f]+$":
75 description: Node containing the properties of DPU.
76 additionalProperties: false
81 - const: qcom,sc7180-dpu
85 - description: Address offset and size for mdp register set
86 - description: Address offset and size for vbif register set
95 - description: Display hf axi clock
96 - description: Display ahb clock
97 - description: Display rotator clock
98 - description: Display lut clock
99 - description: Display core clock
100 - description: Display vsync clock
117 operating-points-v2: true
122 $ref: /schemas/graph.yaml#/properties/ports
124 Contains the list of output ports from DPU device. These ports
125 connect to interfaces that are external to the DPU hardware,
126 such as DSI, DP etc. Each output port contains an endpoint that
127 describes how it is connected to an external interface.
131 $ref: /schemas/graph.yaml#/properties/port
132 description: DPU_INTF1 (DSI1)
135 $ref: /schemas/graph.yaml#/properties/port
136 description: DPU_INTF0 (DP)
148 - operating-points-v2
158 - interrupt-controller
162 additionalProperties: false
166 #include <dt-bindings/clock/qcom,dispcc-sc7180.h>
167 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
168 #include <dt-bindings/interrupt-controller/arm-gic.h>
169 #include <dt-bindings/interconnect/qcom,sdm845.h>
170 #include <dt-bindings/power/qcom-rpmpd.h>
172 display-subsystem@ae00000 {
173 #address-cells = <1>;
175 compatible = "qcom,sc7180-mdss";
176 reg = <0xae00000 0x1000>;
178 power-domains = <&dispcc MDSS_GDSC>;
179 clocks = <&gcc GCC_DISP_AHB_CLK>,
180 <&dispcc DISP_CC_MDSS_AHB_CLK>,
181 <&dispcc DISP_CC_MDSS_MDP_CLK>;
182 clock-names = "iface", "ahb", "core";
184 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
185 interrupt-controller;
186 #interrupt-cells = <1>;
188 interconnects = <&mmss_noc MASTER_MDP0 &mc_virt SLAVE_EBI1>;
189 interconnect-names = "mdp0-mem";
191 iommus = <&apps_smmu 0x800 0x2>;
194 display-controller@ae01000 {
195 compatible = "qcom,sc7180-dpu";
196 reg = <0x0ae01000 0x8f000>,
199 reg-names = "mdp", "vbif";
201 clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
202 <&dispcc DISP_CC_MDSS_AHB_CLK>,
203 <&dispcc DISP_CC_MDSS_ROT_CLK>,
204 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
205 <&dispcc DISP_CC_MDSS_MDP_CLK>,
206 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
207 clock-names = "bus", "iface", "rot", "lut", "core",
210 interrupt-parent = <&mdss>;
212 power-domains = <&rpmhpd SC7180_CX>;
213 operating-points-v2 = <&mdp_opp_table>;
216 #address-cells = <1>;
221 dpu_intf1_out: endpoint {
222 remote-endpoint = <&dsi0_in>;
228 dpu_intf0_out: endpoint {
229 remote-endpoint = <&dp_in>;