blob: dc11fd421a27fa153125c68c1104467a9e413475 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/msm/qcom,sdm845-dpu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Display DPU on SDM845
8
9maintainers:
10 - Krishna Manikandan <quic_mkrishn@quicinc.com>
11
12$ref: /schemas/display/msm/dpu-common.yaml#
13
14properties:
15 compatible:
Tom Rini93743d22024-04-01 09:08:13 -040016 enum:
17 - qcom,sdm670-dpu
18 - qcom,sdm845-dpu
Tom Rini53633a82024-02-29 12:33:36 -050019
20 reg:
21 items:
22 - description: Address offset and size for mdp register set
23 - description: Address offset and size for vbif register set
24
25 reg-names:
26 items:
27 - const: mdp
28 - const: vbif
29
30 clocks:
31 items:
32 - description: Display GCC bus clock
33 - description: Display ahb clock
34 - description: Display axi clock
35 - description: Display core clock
36 - description: Display vsync clock
37
38 clock-names:
39 items:
40 - const: gcc-bus
41 - const: iface
42 - const: bus
43 - const: core
44 - const: vsync
45
46required:
47 - compatible
48 - reg
49 - reg-names
50 - clocks
51 - clock-names
52
53unevaluatedProperties: false
54
55examples:
56 - |
57 #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
58 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
59 #include <dt-bindings/power/qcom-rpmpd.h>
60
61 display-controller@ae01000 {
62 compatible = "qcom,sdm845-dpu";
63 reg = <0x0ae01000 0x8f000>,
64 <0x0aeb0000 0x2008>;
65 reg-names = "mdp", "vbif";
66
67 clocks = <&gcc GCC_DISP_AXI_CLK>,
68 <&dispcc DISP_CC_MDSS_AHB_CLK>,
69 <&dispcc DISP_CC_MDSS_AXI_CLK>,
70 <&dispcc DISP_CC_MDSS_MDP_CLK>,
71 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
72 clock-names = "gcc-bus", "iface", "bus", "core", "vsync";
73
74 interrupt-parent = <&mdss>;
75 interrupts = <0>;
76 power-domains = <&rpmhpd SDM845_CX>;
77 operating-points-v2 = <&mdp_opp_table>;
78
79 ports {
80 #address-cells = <1>;
81 #size-cells = <0>;
82
83 port@0 {
84 reg = <0>;
85 endpoint {
86 remote-endpoint = <&dsi0_in>;
87 };
88 };
89
90 port@1 {
91 reg = <1>;
92 endpoint {
93 remote-endpoint = <&dsi1_in>;
94 };
95 };
96 };
97 };
98...