| /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| &soc { |
| mdss_mdp: qcom,mdss_mdp@ae00000 { |
| compatible = "qcom,sde-kms"; |
| reg = <0x0ae00000 0x81a24>, |
| <0x0aeb0000 0x2008>; |
| reg-names = "mdp_phys", |
| "vbif_phys"; |
| |
| /* interrupt config */ |
| interrupt-parent = <&intc>; |
| interrupts = <0 83 0>; |
| interrupt-controller; |
| #interrupt-cells = <1>; |
| |
| /* hw blocks */ |
| qcom,sde-off = <0x1000>; |
| qcom,sde-ctl-off = <0x2000 0x2200 0x2400 |
| 0x2600 0x2800>; |
| qcom,sde-mixer-off = <0x45000 0x46000 0x47000 |
| 0x48000 0x49000 0x4a000>; |
| qcom,sde-dspp-off = <0x55000 0x57000 0x59000 0x5b000>; |
| qcom,sde-wb-off = <0x66000>; |
| qcom,sde-wb-xin-id = <6>; |
| qcom,sde-wb-id = <2>; |
| qcom,sde-intf-off = <0x6b000 0x6b800 |
| 0x6c000 0x6c800>; |
| qcom,sde-intf-type = "dp", "dsi", "dsi", "dp"; |
| qcom,sde-pp-off = <0x71000 0x71800 |
| 0x72000 0x72800 0x73000>; |
| qcom,sde-pp-slave = <0x0 0x0 0x0 0x0 0x1>; |
| qcom,sde-te2-off = <0x2000 0x2000 0x0 0x0 0x0>; |
| qcom,sde-cdm-off = <0x7a200>; |
| qcom,sde-intf-max-prefetch-lines = <0x15 0x15 0x15 0x15>; |
| qcom,sde-vbif-off = <0>; |
| |
| qcom,sde-sspp-type = "vig", "vig", "vig", "vig", |
| "dma", "dma", "dma", "dma"; |
| |
| qcom,sde-sspp-off = <0x5000 0x7000 0x9000 0xb000 |
| 0x25000 0x27000 0x29000 0x2b000>; |
| |
| qcom,sde-sspp-xin-id = <0 4 8 12 |
| 1 5 9 13>; |
| qcom,sde-sspp-excl-rect = <1 1 1 1 |
| 1 1 1 1>; |
| qcom,sde-sspp-smart-dma-priority = <5 6 7 8 1 2 3 4>; |
| qcom,sde-smart-dma-rev = "smart_dma_v2"; |
| |
| qcom,sde-mixer-pair-mask = <2 1 6 0 0 3>; |
| |
| qcom,sde-mixer-blend-op-off = <0x20 0x38 0x50 0x68 0x80 0x98 |
| 0xb0 0xc8 0xe0 0xf8 0x110>; |
| |
| /* offsets are relative to "mdp_phys + qcom,sde-off */ |
| qcom,sde-sspp-clk-ctrl = |
| <0x2ac 0>, <0x2b4 0>, <0x2bc 0>, <0x2c4 0>, |
| <0x2ac 8>, <0x2b4 8>, <0x2bc 8>, <0x2c4 8>; |
| qcom,sde-sspp-csc-off = <0x1a00>; |
| qcom,sde-csc-type = "csc-10bit"; |
| qcom,sde-qseed-type = "qseedv3"; |
| qcom,sde-sspp-qseed-off = <0xa00>; |
| qcom,sde-mixer-linewidth = <2560>; |
| qcom,sde-sspp-linewidth = <2560>; |
| qcom,sde-mixer-blendstages = <0xb>; |
| qcom,sde-highest-bank-bit = <0x2>; |
| qcom,sde-panic-per-pipe; |
| qcom,sde-has-cdp; |
| qcom,sde-has-src-split; |
| qcom,sde-has-dim-layer; |
| |
| qcom,sde-sspp-vig-blocks { |
| qcom,sde-vig-csc-off = <0x1a00>; |
| qcom,sde-vig-qseed-off = <0xa00>; |
| }; |
| }; |
| }; |