18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28d13bc63SEmmanuel Vadot%YAML 1.2 38d13bc63SEmmanuel Vadot--- 48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/qcom,sm8650-dpu.yaml# 58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68d13bc63SEmmanuel Vadot 78d13bc63SEmmanuel Vadottitle: Qualcomm SM8650 Display DPU 88d13bc63SEmmanuel Vadot 98d13bc63SEmmanuel Vadotmaintainers: 108d13bc63SEmmanuel Vadot - Neil Armstrong <neil.armstrong@linaro.org> 118d13bc63SEmmanuel Vadot 128d13bc63SEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml# 138d13bc63SEmmanuel Vadot 148d13bc63SEmmanuel Vadotproperties: 158d13bc63SEmmanuel Vadot compatible: 16*01950c46SEmmanuel Vadot enum: 17*01950c46SEmmanuel Vadot - qcom,sm8650-dpu 18*01950c46SEmmanuel Vadot - qcom,x1e80100-dpu 198d13bc63SEmmanuel Vadot 208d13bc63SEmmanuel Vadot reg: 218d13bc63SEmmanuel Vadot items: 228d13bc63SEmmanuel Vadot - description: Address offset and size for mdp register set 238d13bc63SEmmanuel Vadot - description: Address offset and size for vbif register set 248d13bc63SEmmanuel Vadot 258d13bc63SEmmanuel Vadot reg-names: 268d13bc63SEmmanuel Vadot items: 278d13bc63SEmmanuel Vadot - const: mdp 288d13bc63SEmmanuel Vadot - const: vbif 298d13bc63SEmmanuel Vadot 308d13bc63SEmmanuel Vadot clocks: 318d13bc63SEmmanuel Vadot items: 328d13bc63SEmmanuel Vadot - description: Display hf axi 338d13bc63SEmmanuel Vadot - description: Display MDSS ahb 348d13bc63SEmmanuel Vadot - description: Display lut 358d13bc63SEmmanuel Vadot - description: Display core 368d13bc63SEmmanuel Vadot - description: Display vsync 378d13bc63SEmmanuel Vadot 388d13bc63SEmmanuel Vadot clock-names: 398d13bc63SEmmanuel Vadot items: 408d13bc63SEmmanuel Vadot - const: nrt_bus 418d13bc63SEmmanuel Vadot - const: iface 428d13bc63SEmmanuel Vadot - const: lut 438d13bc63SEmmanuel Vadot - const: core 448d13bc63SEmmanuel Vadot - const: vsync 458d13bc63SEmmanuel Vadot 468d13bc63SEmmanuel Vadotrequired: 478d13bc63SEmmanuel Vadot - compatible 488d13bc63SEmmanuel Vadot - reg 498d13bc63SEmmanuel Vadot - reg-names 508d13bc63SEmmanuel Vadot - clocks 518d13bc63SEmmanuel Vadot - clock-names 528d13bc63SEmmanuel Vadot 538d13bc63SEmmanuel VadotunevaluatedProperties: false 548d13bc63SEmmanuel Vadot 558d13bc63SEmmanuel Vadotexamples: 568d13bc63SEmmanuel Vadot - | 578d13bc63SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 588d13bc63SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 598d13bc63SEmmanuel Vadot 608d13bc63SEmmanuel Vadot display-controller@ae01000 { 618d13bc63SEmmanuel Vadot compatible = "qcom,sm8650-dpu"; 628d13bc63SEmmanuel Vadot reg = <0x0ae01000 0x8f000>, 638d13bc63SEmmanuel Vadot <0x0aeb0000 0x2008>; 648d13bc63SEmmanuel Vadot reg-names = "mdp", "vbif"; 658d13bc63SEmmanuel Vadot 668d13bc63SEmmanuel Vadot clocks = <&gcc_axi_clk>, 678d13bc63SEmmanuel Vadot <&dispcc_ahb_clk>, 688d13bc63SEmmanuel Vadot <&dispcc_mdp_lut_clk>, 698d13bc63SEmmanuel Vadot <&dispcc_mdp_clk>, 708d13bc63SEmmanuel Vadot <&dispcc_vsync_clk>; 718d13bc63SEmmanuel Vadot clock-names = "nrt_bus", 728d13bc63SEmmanuel Vadot "iface", 738d13bc63SEmmanuel Vadot "lut", 748d13bc63SEmmanuel Vadot "core", 758d13bc63SEmmanuel Vadot "vsync"; 768d13bc63SEmmanuel Vadot 778d13bc63SEmmanuel Vadot assigned-clocks = <&dispcc_vsync_clk>; 788d13bc63SEmmanuel Vadot assigned-clock-rates = <19200000>; 798d13bc63SEmmanuel Vadot 808d13bc63SEmmanuel Vadot operating-points-v2 = <&mdp_opp_table>; 818d13bc63SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_MMCX>; 828d13bc63SEmmanuel Vadot 838d13bc63SEmmanuel Vadot interrupt-parent = <&mdss>; 848d13bc63SEmmanuel Vadot interrupts = <0>; 858d13bc63SEmmanuel Vadot 868d13bc63SEmmanuel Vadot ports { 878d13bc63SEmmanuel Vadot #address-cells = <1>; 888d13bc63SEmmanuel Vadot #size-cells = <0>; 898d13bc63SEmmanuel Vadot 908d13bc63SEmmanuel Vadot port@0 { 918d13bc63SEmmanuel Vadot reg = <0>; 928d13bc63SEmmanuel Vadot dpu_intf1_out: endpoint { 938d13bc63SEmmanuel Vadot remote-endpoint = <&dsi0_in>; 948d13bc63SEmmanuel Vadot }; 958d13bc63SEmmanuel Vadot }; 968d13bc63SEmmanuel Vadot 978d13bc63SEmmanuel Vadot port@1 { 988d13bc63SEmmanuel Vadot reg = <1>; 998d13bc63SEmmanuel Vadot dpu_intf2_out: endpoint { 1008d13bc63SEmmanuel Vadot remote-endpoint = <&dsi1_in>; 1018d13bc63SEmmanuel Vadot }; 1028d13bc63SEmmanuel Vadot }; 1038d13bc63SEmmanuel Vadot }; 1048d13bc63SEmmanuel Vadot 1058d13bc63SEmmanuel Vadot mdp_opp_table: opp-table { 1068d13bc63SEmmanuel Vadot compatible = "operating-points-v2"; 1078d13bc63SEmmanuel Vadot 1088d13bc63SEmmanuel Vadot opp-200000000 { 1098d13bc63SEmmanuel Vadot opp-hz = /bits/ 64 <200000000>; 1108d13bc63SEmmanuel Vadot required-opps = <&rpmhpd_opp_low_svs>; 1118d13bc63SEmmanuel Vadot }; 1128d13bc63SEmmanuel Vadot 1138d13bc63SEmmanuel Vadot opp-325000000 { 1148d13bc63SEmmanuel Vadot opp-hz = /bits/ 64 <325000000>; 1158d13bc63SEmmanuel Vadot required-opps = <&rpmhpd_opp_svs>; 1168d13bc63SEmmanuel Vadot }; 1178d13bc63SEmmanuel Vadot 1188d13bc63SEmmanuel Vadot opp-375000000 { 1198d13bc63SEmmanuel Vadot opp-hz = /bits/ 64 <375000000>; 1208d13bc63SEmmanuel Vadot required-opps = <&rpmhpd_opp_svs_l1>; 1218d13bc63SEmmanuel Vadot }; 1228d13bc63SEmmanuel Vadot 1238d13bc63SEmmanuel Vadot opp-514000000 { 1248d13bc63SEmmanuel Vadot opp-hz = /bits/ 64 <514000000>; 1258d13bc63SEmmanuel Vadot required-opps = <&rpmhpd_opp_nom>; 1268d13bc63SEmmanuel Vadot }; 1278d13bc63SEmmanuel Vadot }; 1288d13bc63SEmmanuel Vadot }; 1298d13bc63SEmmanuel Vadot... 130