xref: /freebsd/sys/contrib/device-tree/Bindings/display/msm/qcom,sc7280-dpu.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/qcom,sc7280-dpu.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm Display DPU on SC7280
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Krishna Manikandan <quic_mkrishn@quicinc.com>
118bab661aSEmmanuel Vadot
128bab661aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml#
138bab661aSEmmanuel Vadot
148bab661aSEmmanuel Vadotproperties:
158bab661aSEmmanuel Vadot  compatible:
168bab661aSEmmanuel Vadot    const: qcom,sc7280-dpu
178bab661aSEmmanuel Vadot
188bab661aSEmmanuel Vadot  reg:
198bab661aSEmmanuel Vadot    items:
208bab661aSEmmanuel Vadot      - description: Address offset and size for mdp register set
218bab661aSEmmanuel Vadot      - description: Address offset and size for vbif register set
228bab661aSEmmanuel Vadot
238bab661aSEmmanuel Vadot  reg-names:
248bab661aSEmmanuel Vadot    items:
258bab661aSEmmanuel Vadot      - const: mdp
268bab661aSEmmanuel Vadot      - const: vbif
278bab661aSEmmanuel Vadot
288bab661aSEmmanuel Vadot  clocks:
298bab661aSEmmanuel Vadot    items:
308bab661aSEmmanuel Vadot      - description: Display hf axi clock
318bab661aSEmmanuel Vadot      - description: Display sf axi clock
328bab661aSEmmanuel Vadot      - description: Display ahb clock
338bab661aSEmmanuel Vadot      - description: Display lut clock
348bab661aSEmmanuel Vadot      - description: Display core clock
358bab661aSEmmanuel Vadot      - description: Display vsync clock
368bab661aSEmmanuel Vadot
378bab661aSEmmanuel Vadot  clock-names:
388bab661aSEmmanuel Vadot    items:
398bab661aSEmmanuel Vadot      - const: bus
408bab661aSEmmanuel Vadot      - const: nrt_bus
418bab661aSEmmanuel Vadot      - const: iface
428bab661aSEmmanuel Vadot      - const: lut
438bab661aSEmmanuel Vadot      - const: core
448bab661aSEmmanuel Vadot      - const: vsync
458bab661aSEmmanuel Vadot
46cb7aa33aSEmmanuel Vadotrequired:
47cb7aa33aSEmmanuel Vadot  - compatible
48cb7aa33aSEmmanuel Vadot  - reg
49cb7aa33aSEmmanuel Vadot  - reg-names
50cb7aa33aSEmmanuel Vadot  - clocks
51cb7aa33aSEmmanuel Vadot  - clock-names
52cb7aa33aSEmmanuel Vadot
538bab661aSEmmanuel VadotunevaluatedProperties: false
548bab661aSEmmanuel Vadot
558bab661aSEmmanuel Vadotexamples:
568bab661aSEmmanuel Vadot  - |
578bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,dispcc-sc7280.h>
588bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
598bab661aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
608bab661aSEmmanuel Vadot
618bab661aSEmmanuel Vadot    display-controller@ae01000 {
628bab661aSEmmanuel Vadot        compatible = "qcom,sc7280-dpu";
638bab661aSEmmanuel Vadot        reg = <0x0ae01000 0x8f000>,
648bab661aSEmmanuel Vadot              <0x0aeb0000 0x2008>;
658bab661aSEmmanuel Vadot
668bab661aSEmmanuel Vadot        reg-names = "mdp", "vbif";
678bab661aSEmmanuel Vadot
688bab661aSEmmanuel Vadot        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
698bab661aSEmmanuel Vadot                 <&gcc GCC_DISP_SF_AXI_CLK>,
708bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
718bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
728bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
738bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
748bab661aSEmmanuel Vadot        clock-names = "bus",
758bab661aSEmmanuel Vadot                      "nrt_bus",
768bab661aSEmmanuel Vadot                      "iface",
778bab661aSEmmanuel Vadot                      "lut",
788bab661aSEmmanuel Vadot                      "core",
798bab661aSEmmanuel Vadot                      "vsync";
808bab661aSEmmanuel Vadot
818bab661aSEmmanuel Vadot        interrupt-parent = <&mdss>;
828bab661aSEmmanuel Vadot        interrupts = <0>;
838bab661aSEmmanuel Vadot        power-domains = <&rpmhpd SC7280_CX>;
848bab661aSEmmanuel Vadot        operating-points-v2 = <&mdp_opp_table>;
858bab661aSEmmanuel Vadot
868bab661aSEmmanuel Vadot        ports {
878bab661aSEmmanuel Vadot            #address-cells = <1>;
888bab661aSEmmanuel Vadot            #size-cells = <0>;
898bab661aSEmmanuel Vadot
908bab661aSEmmanuel Vadot            port@0 {
918bab661aSEmmanuel Vadot                reg = <0>;
928bab661aSEmmanuel Vadot                endpoint {
938bab661aSEmmanuel Vadot                    remote-endpoint = <&dsi0_in>;
948bab661aSEmmanuel Vadot                };
958bab661aSEmmanuel Vadot            };
968bab661aSEmmanuel Vadot
978bab661aSEmmanuel Vadot            port@1 {
988bab661aSEmmanuel Vadot                reg = <1>;
998bab661aSEmmanuel Vadot                endpoint {
1008bab661aSEmmanuel Vadot                    remote-endpoint = <&edp_in>;
1018bab661aSEmmanuel Vadot                };
1028bab661aSEmmanuel Vadot            };
1038bab661aSEmmanuel Vadot        };
1048bab661aSEmmanuel Vadot    };
1058bab661aSEmmanuel Vadot...
106