1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/qcom,sm8350-dpu.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Qualcomm SM8350 Display DPU 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Robert Foss <robert.foss@linaro.org> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml# 13cb7aa33aSEmmanuel Vadot 14cb7aa33aSEmmanuel Vadotproperties: 15cb7aa33aSEmmanuel Vadot compatible: 16cb7aa33aSEmmanuel Vadot const: qcom,sm8350-dpu 17cb7aa33aSEmmanuel Vadot 18cb7aa33aSEmmanuel Vadot reg: 19cb7aa33aSEmmanuel Vadot items: 20cb7aa33aSEmmanuel Vadot - description: Address offset and size for mdp register set 21cb7aa33aSEmmanuel Vadot - description: Address offset and size for vbif register set 22cb7aa33aSEmmanuel Vadot 23cb7aa33aSEmmanuel Vadot reg-names: 24cb7aa33aSEmmanuel Vadot items: 25cb7aa33aSEmmanuel Vadot - const: mdp 26cb7aa33aSEmmanuel Vadot - const: vbif 27cb7aa33aSEmmanuel Vadot 28cb7aa33aSEmmanuel Vadot clocks: 29cb7aa33aSEmmanuel Vadot items: 30cb7aa33aSEmmanuel Vadot - description: Display hf axi clock 31cb7aa33aSEmmanuel Vadot - description: Display sf axi clock 32cb7aa33aSEmmanuel Vadot - description: Display ahb clock 33cb7aa33aSEmmanuel Vadot - description: Display lut clock 34cb7aa33aSEmmanuel Vadot - description: Display core clock 35cb7aa33aSEmmanuel Vadot - description: Display vsync clock 36cb7aa33aSEmmanuel Vadot 37cb7aa33aSEmmanuel Vadot clock-names: 38cb7aa33aSEmmanuel Vadot items: 39cb7aa33aSEmmanuel Vadot - const: bus 40cb7aa33aSEmmanuel Vadot - const: nrt_bus 41cb7aa33aSEmmanuel Vadot - const: iface 42cb7aa33aSEmmanuel Vadot - const: lut 43cb7aa33aSEmmanuel Vadot - const: core 44cb7aa33aSEmmanuel Vadot - const: vsync 45cb7aa33aSEmmanuel Vadot 46cb7aa33aSEmmanuel VadotunevaluatedProperties: false 47cb7aa33aSEmmanuel Vadot 48cb7aa33aSEmmanuel Vadotexamples: 49cb7aa33aSEmmanuel Vadot - | 50cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,dispcc-sm8350.h> 51cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sm8350.h> 52cb7aa33aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 53cb7aa33aSEmmanuel Vadot #include <dt-bindings/interconnect/qcom,sm8350.h> 54*aa1a8ff2SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 55cb7aa33aSEmmanuel Vadot 56cb7aa33aSEmmanuel Vadot display-controller@ae01000 { 57cb7aa33aSEmmanuel Vadot compatible = "qcom,sm8350-dpu"; 58cb7aa33aSEmmanuel Vadot reg = <0x0ae01000 0x8f000>, 59cb7aa33aSEmmanuel Vadot <0x0aeb0000 0x2008>; 60cb7aa33aSEmmanuel Vadot reg-names = "mdp", "vbif"; 61cb7aa33aSEmmanuel Vadot 62cb7aa33aSEmmanuel Vadot clocks = <&gcc GCC_DISP_HF_AXI_CLK>, 63cb7aa33aSEmmanuel Vadot <&gcc GCC_DISP_SF_AXI_CLK>, 64cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_AHB_CLK>, 65cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, 66cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_CLK>, 67cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 68cb7aa33aSEmmanuel Vadot clock-names = "bus", 69cb7aa33aSEmmanuel Vadot "nrt_bus", 70cb7aa33aSEmmanuel Vadot "iface", 71cb7aa33aSEmmanuel Vadot "lut", 72cb7aa33aSEmmanuel Vadot "core", 73cb7aa33aSEmmanuel Vadot "vsync"; 74cb7aa33aSEmmanuel Vadot 75cb7aa33aSEmmanuel Vadot assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 76cb7aa33aSEmmanuel Vadot assigned-clock-rates = <19200000>; 77cb7aa33aSEmmanuel Vadot 78cb7aa33aSEmmanuel Vadot operating-points-v2 = <&mdp_opp_table>; 79*aa1a8ff2SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 80cb7aa33aSEmmanuel Vadot 81cb7aa33aSEmmanuel Vadot interrupt-parent = <&mdss>; 82cb7aa33aSEmmanuel Vadot interrupts = <0>; 83cb7aa33aSEmmanuel Vadot 84cb7aa33aSEmmanuel Vadot ports { 85cb7aa33aSEmmanuel Vadot #address-cells = <1>; 86cb7aa33aSEmmanuel Vadot #size-cells = <0>; 87cb7aa33aSEmmanuel Vadot 88cb7aa33aSEmmanuel Vadot port@0 { 89cb7aa33aSEmmanuel Vadot reg = <0>; 90cb7aa33aSEmmanuel Vadot dpu_intf1_out: endpoint { 91cb7aa33aSEmmanuel Vadot remote-endpoint = <&dsi0_in>; 92cb7aa33aSEmmanuel Vadot }; 93cb7aa33aSEmmanuel Vadot }; 94cb7aa33aSEmmanuel Vadot }; 95cb7aa33aSEmmanuel Vadot 96cb7aa33aSEmmanuel Vadot mdp_opp_table: opp-table { 97cb7aa33aSEmmanuel Vadot compatible = "operating-points-v2"; 98cb7aa33aSEmmanuel Vadot 99cb7aa33aSEmmanuel Vadot opp-200000000 { 100cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <200000000>; 101cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs>; 102cb7aa33aSEmmanuel Vadot }; 103cb7aa33aSEmmanuel Vadot 104cb7aa33aSEmmanuel Vadot opp-300000000 { 105cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <300000000>; 106cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_svs>; 107cb7aa33aSEmmanuel Vadot }; 108cb7aa33aSEmmanuel Vadot 109cb7aa33aSEmmanuel Vadot opp-345000000 { 110cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <345000000>; 111cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_svs_l1>; 112cb7aa33aSEmmanuel Vadot }; 113cb7aa33aSEmmanuel Vadot 114cb7aa33aSEmmanuel Vadot opp-460000000 { 115cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <460000000>; 116cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_nom>; 117cb7aa33aSEmmanuel Vadot }; 118cb7aa33aSEmmanuel Vadot }; 119cb7aa33aSEmmanuel Vadot }; 120cb7aa33aSEmmanuel Vadot... 121