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,sm8450-dpu.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Qualcomm SM8450 Display DPU 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml# 13cb7aa33aSEmmanuel Vadot 14cb7aa33aSEmmanuel Vadotproperties: 15cb7aa33aSEmmanuel Vadot compatible: 16cb7aa33aSEmmanuel Vadot const: qcom,sm8450-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 31cb7aa33aSEmmanuel Vadot - description: Display sf axi 32cb7aa33aSEmmanuel Vadot - description: Display ahb 33cb7aa33aSEmmanuel Vadot - description: Display lut 34cb7aa33aSEmmanuel Vadot - description: Display core 35cb7aa33aSEmmanuel Vadot - description: Display vsync 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 Vadotrequired: 47cb7aa33aSEmmanuel Vadot - compatible 48cb7aa33aSEmmanuel Vadot - reg 49cb7aa33aSEmmanuel Vadot - reg-names 50cb7aa33aSEmmanuel Vadot - clocks 51cb7aa33aSEmmanuel Vadot - clock-names 52cb7aa33aSEmmanuel Vadot 53cb7aa33aSEmmanuel VadotunevaluatedProperties: false 54cb7aa33aSEmmanuel Vadot 55cb7aa33aSEmmanuel Vadotexamples: 56cb7aa33aSEmmanuel Vadot - | 57cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,sm8450-dispcc.h> 58cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sm8450.h> 59cb7aa33aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 60cb7aa33aSEmmanuel Vadot #include <dt-bindings/interconnect/qcom,sm8450.h> 61*aa1a8ff2SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 62cb7aa33aSEmmanuel Vadot 63cb7aa33aSEmmanuel Vadot display-controller@ae01000 { 64cb7aa33aSEmmanuel Vadot compatible = "qcom,sm8450-dpu"; 65cb7aa33aSEmmanuel Vadot reg = <0x0ae01000 0x8f000>, 66cb7aa33aSEmmanuel Vadot <0x0aeb0000 0x2008>; 67cb7aa33aSEmmanuel Vadot reg-names = "mdp", "vbif"; 68cb7aa33aSEmmanuel Vadot 69cb7aa33aSEmmanuel Vadot clocks = <&gcc GCC_DISP_HF_AXI_CLK>, 70cb7aa33aSEmmanuel Vadot <&gcc GCC_DISP_SF_AXI_CLK>, 71cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_AHB_CLK>, 72cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, 73cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_CLK>, 74cb7aa33aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 75cb7aa33aSEmmanuel Vadot clock-names = "bus", 76cb7aa33aSEmmanuel Vadot "nrt_bus", 77cb7aa33aSEmmanuel Vadot "iface", 78cb7aa33aSEmmanuel Vadot "lut", 79cb7aa33aSEmmanuel Vadot "core", 80cb7aa33aSEmmanuel Vadot "vsync"; 81cb7aa33aSEmmanuel Vadot 82cb7aa33aSEmmanuel Vadot assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 83cb7aa33aSEmmanuel Vadot assigned-clock-rates = <19200000>; 84cb7aa33aSEmmanuel Vadot 85cb7aa33aSEmmanuel Vadot operating-points-v2 = <&mdp_opp_table>; 86*aa1a8ff2SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 87cb7aa33aSEmmanuel Vadot 88cb7aa33aSEmmanuel Vadot interrupt-parent = <&mdss>; 89cb7aa33aSEmmanuel Vadot interrupts = <0>; 90cb7aa33aSEmmanuel Vadot 91cb7aa33aSEmmanuel Vadot ports { 92cb7aa33aSEmmanuel Vadot #address-cells = <1>; 93cb7aa33aSEmmanuel Vadot #size-cells = <0>; 94cb7aa33aSEmmanuel Vadot 95cb7aa33aSEmmanuel Vadot port@0 { 96cb7aa33aSEmmanuel Vadot reg = <0>; 97cb7aa33aSEmmanuel Vadot dpu_intf1_out: endpoint { 98cb7aa33aSEmmanuel Vadot remote-endpoint = <&dsi0_in>; 99cb7aa33aSEmmanuel Vadot }; 100cb7aa33aSEmmanuel Vadot }; 101cb7aa33aSEmmanuel Vadot 102cb7aa33aSEmmanuel Vadot port@1 { 103cb7aa33aSEmmanuel Vadot reg = <1>; 104cb7aa33aSEmmanuel Vadot dpu_intf2_out: endpoint { 105cb7aa33aSEmmanuel Vadot remote-endpoint = <&dsi1_in>; 106cb7aa33aSEmmanuel Vadot }; 107cb7aa33aSEmmanuel Vadot }; 108cb7aa33aSEmmanuel Vadot }; 109cb7aa33aSEmmanuel Vadot 110cb7aa33aSEmmanuel Vadot mdp_opp_table: opp-table { 111cb7aa33aSEmmanuel Vadot compatible = "operating-points-v2"; 112cb7aa33aSEmmanuel Vadot 113cb7aa33aSEmmanuel Vadot opp-172000000{ 114cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <172000000>; 115cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs_d1>; 116cb7aa33aSEmmanuel Vadot }; 117cb7aa33aSEmmanuel Vadot 118cb7aa33aSEmmanuel Vadot opp-200000000 { 119cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <200000000>; 120cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs>; 121cb7aa33aSEmmanuel Vadot }; 122cb7aa33aSEmmanuel Vadot 123cb7aa33aSEmmanuel Vadot opp-325000000 { 124cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <325000000>; 125cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_svs>; 126cb7aa33aSEmmanuel Vadot }; 127cb7aa33aSEmmanuel Vadot 128cb7aa33aSEmmanuel Vadot opp-375000000 { 129cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <375000000>; 130cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_svs_l1>; 131cb7aa33aSEmmanuel Vadot }; 132cb7aa33aSEmmanuel Vadot 133cb7aa33aSEmmanuel Vadot opp-500000000 { 134cb7aa33aSEmmanuel Vadot opp-hz = /bits/ 64 <500000000>; 135cb7aa33aSEmmanuel Vadot required-opps = <&rpmhpd_opp_nom>; 136cb7aa33aSEmmanuel Vadot }; 137cb7aa33aSEmmanuel Vadot }; 138cb7aa33aSEmmanuel Vadot }; 139cb7aa33aSEmmanuel Vadot... 140