diff options
author | Oliver Brown <oliver.brown@nxp.com> | 2018-07-16 09:22:20 -0500 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:33:10 +0800 |
commit | a142277eb26217ec0cf455d907a2f82ea62391c3 (patch) | |
tree | f3919f73d55237963451ea537faee93890da7155 /arch/arm64/boot/dts | |
parent | 789e3514030977af6056c3adcffa18fcf8c01216 (diff) |
MLK-18904-9: arch: ARM64: dts: Adding DisplayPort support for i.MX8M (MCU2)
Adding support for DisplayPort and embedded DisplayPort.
Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/Makefile | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dp.dts | 22 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-edp.dts | 25 | ||||
-rwxr-xr-x | arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi | 3 |
4 files changed, 52 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 01ec3e58ffda..59de50bbedb1 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -94,7 +94,9 @@ dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-ddr3l-arm2.dtb \ fsl-imx8mq-evk-audio-tdm.dtb \ fsl-imx8mq-evk-drm.dtb \ fsl-imx8mq-evk-root.dtb \ - fsl-imx8mq-evk-inmate.dtb + fsl-imx8mq-evk-inmate.dtb \ + fsl-imx8mq-evk-dp.dtb \ + fsl-imx8mq-evk-edp.dtb dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-evk.dtb \ fsl-imx8mm-evk-ak4497.dtb \ fsl-imx8mm-evk-m4.dtb \ diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dp.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dp.dts new file mode 100644 index 000000000000..057c0e645ce7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-dp.dts @@ -0,0 +1,22 @@ +/* + * Copyright 2017 NXP + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * 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. + */ + +#include "fsl-imx8mq-evk.dts" + +&hdmi { + compatible = "fsl,imx8mq-dp"; + lane_mapping = <0xc6>; + status = "okay"; +}; + diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-edp.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-edp.dts new file mode 100644 index 000000000000..5f8ea76166bb --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-edp.dts @@ -0,0 +1,25 @@ +/* + * Copyright 2017 NXP + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * 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. + */ + +#include "fsl-imx8mq-evk.dts" + +&hdmi { + compatible = "fsl,imx8mq-dp"; + lane_mapping = <0xc6>; + fsl,edp; + edp_link_rate = <0x6>; + edp_num_lanes = <0x4>; + status = "okay"; +}; + diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi index 5104c8e5a054..dd287c47c7fa 100755 --- a/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi @@ -590,7 +590,8 @@ #size-cells = <0>; compatible = "fsl,imx8mq-hdmi"; reg = <0x0 0x32c00000 0x0 0x100000>, /* HDP registers */ - <0x0 0x32e40000 0x0 0x40000>; /* HDP SEC register */ + <0x0 0x32e40000 0x0 0x40000>, /* HDP SEC register */ + <0x0 0x32e2f000 0x0 0x10>; /* RESET register */ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "plug_in", "plug_out"; |