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,sm8250-dpu.yaml# 58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68bab661aSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm SM8250 Display DPU 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadotmaintainers: 108bab661aSEmmanuel Vadot - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 118bab661aSEmmanuel Vadot 128bab661aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml# 138bab661aSEmmanuel Vadot 148bab661aSEmmanuel Vadotproperties: 158bab661aSEmmanuel Vadot compatible: 168bab661aSEmmanuel Vadot const: qcom,sm8250-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 ahb clock 318bab661aSEmmanuel Vadot - description: Display hf axi clock 328bab661aSEmmanuel Vadot - description: Display core clock 338bab661aSEmmanuel Vadot - description: Display vsync clock 348bab661aSEmmanuel Vadot 358bab661aSEmmanuel Vadot clock-names: 368bab661aSEmmanuel Vadot items: 378bab661aSEmmanuel Vadot - const: iface 388bab661aSEmmanuel Vadot - const: bus 398bab661aSEmmanuel Vadot - const: core 408bab661aSEmmanuel Vadot - const: vsync 418bab661aSEmmanuel Vadot 42cb7aa33aSEmmanuel Vadotrequired: 43cb7aa33aSEmmanuel Vadot - compatible 44cb7aa33aSEmmanuel Vadot - reg 45cb7aa33aSEmmanuel Vadot - reg-names 46cb7aa33aSEmmanuel Vadot - clocks 47cb7aa33aSEmmanuel Vadot - clock-names 48cb7aa33aSEmmanuel Vadot 498bab661aSEmmanuel VadotunevaluatedProperties: false 508bab661aSEmmanuel Vadot 518bab661aSEmmanuel Vadotexamples: 528bab661aSEmmanuel Vadot - | 538bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,dispcc-sm8250.h> 548bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sm8250.h> 558bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 568bab661aSEmmanuel Vadot #include <dt-bindings/interconnect/qcom,sm8250.h> 57*aa1a8ff2SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 588bab661aSEmmanuel Vadot 598bab661aSEmmanuel Vadot display-controller@ae01000 { 608bab661aSEmmanuel Vadot compatible = "qcom,sm8250-dpu"; 618bab661aSEmmanuel Vadot reg = <0x0ae01000 0x8f000>, 628bab661aSEmmanuel Vadot <0x0aeb0000 0x2008>; 638bab661aSEmmanuel Vadot reg-names = "mdp", "vbif"; 648bab661aSEmmanuel Vadot 658bab661aSEmmanuel Vadot clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 668bab661aSEmmanuel Vadot <&gcc GCC_DISP_HF_AXI_CLK>, 678bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_CLK>, 688bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 698bab661aSEmmanuel Vadot clock-names = "iface", "bus", "core", "vsync"; 708bab661aSEmmanuel Vadot 718bab661aSEmmanuel Vadot assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 728bab661aSEmmanuel Vadot assigned-clock-rates = <19200000>; 738bab661aSEmmanuel Vadot 748bab661aSEmmanuel Vadot operating-points-v2 = <&mdp_opp_table>; 75*aa1a8ff2SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 768bab661aSEmmanuel Vadot 778bab661aSEmmanuel Vadot interrupt-parent = <&mdss>; 788bab661aSEmmanuel Vadot interrupts = <0>; 798bab661aSEmmanuel Vadot 808bab661aSEmmanuel Vadot ports { 818bab661aSEmmanuel Vadot #address-cells = <1>; 828bab661aSEmmanuel Vadot #size-cells = <0>; 838bab661aSEmmanuel Vadot 848bab661aSEmmanuel Vadot port@0 { 858bab661aSEmmanuel Vadot reg = <0>; 868bab661aSEmmanuel Vadot endpoint { 878bab661aSEmmanuel Vadot remote-endpoint = <&dsi0_in>; 888bab661aSEmmanuel Vadot }; 898bab661aSEmmanuel Vadot }; 908bab661aSEmmanuel Vadot 918bab661aSEmmanuel Vadot port@1 { 928bab661aSEmmanuel Vadot reg = <1>; 938bab661aSEmmanuel Vadot endpoint { 948bab661aSEmmanuel Vadot remote-endpoint = <&dsi1_in>; 958bab661aSEmmanuel Vadot }; 968bab661aSEmmanuel Vadot }; 978bab661aSEmmanuel Vadot }; 988bab661aSEmmanuel Vadot }; 998bab661aSEmmanuel Vadot... 100