raghavendra ambadas | af48b29 | 2018-03-12 15:25:31 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2018, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #include "msm8937-mdss.dtsi" |
| 14 | |
| 15 | &mdss_dsi { |
raghavendra ambadas | 6d5ccc5 | 2018-03-13 15:36:14 +0530 | [diff] [blame] | 16 | vdda-supply = <&pm8937_l2>; |
| 17 | vddio-supply = <&pm8937_l6>; |
raghavendra ambadas | af48b29 | 2018-03-12 15:25:31 +0530 | [diff] [blame] | 18 | |
| 19 | ranges = <0x1a94000 0x1a94000 0x300 |
| 20 | 0x1a94400 0x1a94400 0x280 |
| 21 | 0x1a94b80 0x1a94b80 0x30 |
| 22 | 0x193e000 0x193e000 0x30>; |
| 23 | |
| 24 | clocks = <&clock_gcc_mdss clk_mdss_mdp_vote_clk>, |
| 25 | <&clock_gcc clk_gcc_mdss_ahb_clk>, |
| 26 | <&clock_gcc clk_gcc_mdss_axi_clk>, |
| 27 | <&clock_gcc_mdss clk_ext_byte0_clk_src>, |
| 28 | <&clock_gcc_mdss clk_ext_pclk0_clk_src>; |
| 29 | clock-names = "mdp_core_clk", "iface_clk", "bus_clk", |
| 30 | "ext_byte0_clk", "ext_pixel0_clk"; |
| 31 | |
| 32 | /delete-property/ qcom,mdss-fb-map-sec; |
| 33 | |
| 34 | }; |
| 35 | |
| 36 | &mdss_dsi0 { |
raghavendra ambadas | 6d5ccc5 | 2018-03-13 15:36:14 +0530 | [diff] [blame] | 37 | vdd-supply = <&pm8937_l17>; |
| 38 | vddio-supply = <&pm8937_l6>; |
raghavendra ambadas | af48b29 | 2018-03-12 15:25:31 +0530 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | /delete-node/ &mdss_dsi1; |
| 42 | |
| 43 | &mdss_mdp { |
| 44 | qcom,max-bandwidth-low-kbps = <1800000>; |
| 45 | qcom,max-bandwidth-high-kbps = <1800000>; |
| 46 | qcom,max-bandwidth-per-pipe-kbps = <1000000>; |
| 47 | |
| 48 | qcom,mdss-intf-off = <0x00000000 0x0006B800>; |
| 49 | qcom,mdss-pingpong-off = <0x00071000>; |
| 50 | qcom,mdss-mixer-intf-off = <0x00045000>; |
| 51 | qcom,mdss-mixer-wb-off = <0x00046000>; |
| 52 | qcom,mdss-wfd-mode = "dedicated"; |
| 53 | qcom,mdss-per-pipe-panic-luts = <0x000f>, |
| 54 | <0x0>, |
| 55 | <0xfffc>, |
| 56 | <0x0>; |
| 57 | |
| 58 | /delete-property/ qcom,mdss-highest-bank-bit; |
| 59 | /delete-property/ qcom,vbif-settings; |
| 60 | |
| 61 | qcom,regs-dump-mdp = <0x01000 0x01454>, |
| 62 | <0x02000 0x02064>, |
| 63 | <0x02200 0x02264>, |
| 64 | <0x02400 0x02464>, |
| 65 | <0x05000 0x05150>, |
| 66 | <0x05200 0x05230>, |
| 67 | <0x15000 0x15150>, |
| 68 | <0x17000 0x17150>, |
| 69 | <0x25000 0x25150>, |
| 70 | <0x35000 0x35150>, |
| 71 | <0x45000 0x452bc>, |
| 72 | <0x46000 0x462bc>, |
| 73 | <0x55000 0x5522c>, |
| 74 | <0x65000 0x652c0>, |
| 75 | <0x66000 0x662c0>, |
| 76 | <0x6b800 0x6ba68>, |
| 77 | <0x71000 0x710d4>; |
| 78 | |
| 79 | qcom,regs-dump-names-mdp = "MDP", |
| 80 | "CTL_0", "CTL_1", "CTL_2", |
| 81 | "VIG0_SSPP", "VIG0", |
| 82 | "RGB0_SSPP", "RGB1_SSPP", |
| 83 | "DMA0_SSPP", |
| 84 | "CURSOR0_SSPP", |
| 85 | "LAYER_0", "LAYER_1", |
| 86 | "DSPP_0", |
| 87 | "WB_0", "WB_2", |
| 88 | "INTF_1", |
| 89 | "PP_0"; |
| 90 | }; |
| 91 | |
| 92 | &mdss_rotator { |
| 93 | /delete-property/ qcom,mdss-has-ubwc; |
| 94 | }; |
| 95 | |
| 96 | /delete-node/ &mdss_fb2; |