summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2021-02-26 14:09:18 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-02 16:51:45 +0800
commit8a84f16a78024795599155ef8b7473ef7457cf92 (patch)
tree2a01cfe2e6e5f58c6b29bad358ed8be619639611
parent5b61c7ca7177e0c3dbbb6ec4700a8fa11ae583ad (diff)
MLK-25579-4 arm64: dts: imx8ulp-evk: Add RK055HDMIPI4M MIPI DSI display panel support
This patch adds RK055HDMIPI4M MIPI DSI display panel support for the i.MX8ulp EVK platform. Cc: Dong Aisheng <aisheng.dong@nxp.com> Cc: Leo Li <leoyang.li@nxp.com> Cc: Sandor Yu <Sandor.yu@nxp.com> Cc: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Sandor Yu <Sandor.yu@nxp.com> Signed-off-by: Liu Ying <victor.liu@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/Makefile2
-rw-r--r--arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts54
-rw-r--r--arch/arm64/boot/dts/freescale/imx8ulp-evk.dts6
3 files changed, 61 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index cd9e808c3551..6cd68a665bd5 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -71,6 +71,6 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb imx8ulp-evk-lpspi-slave.dtb \
- imx8ulp-evk-i3c.dtb
+ imx8ulp-evk-i3c.dtb imx8ulp-evk-rk055hdmipi4m.dtb
dtb-$(CONFIG_ARCH_S32) += s32v234-evb.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts
new file mode 100644
index 000000000000..909550f9cd85
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2021 NXP
+ */
+
+#include "imx8ulp-evk.dts"
+
+/ {
+ pwm_backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&tpm_rpchip_0 2 50000 0>;
+ brightness-levels = < 0 1 2 3 4 5 6 7 8 9
+ 10 11 12 13 14 15 16 17 18 19
+ 20 21 22 23 24 25 26 27 28 29
+ 30 31 32 33 34 35 36 37 38 39
+ 40 41 42 43 44 45 46 47 48 49
+ 50 51 52 53 54 55 56 57 58 59
+ 60 61 62 63 64 65 66 67 68 69
+ 70 71 72 73 74 75 76 77 78 79
+ 80 81 82 83 84 85 86 87 88 89
+ 90 91 92 93 94 95 96 97 98 99
+ 100>;
+ default-brightness-level = <100>;
+ };
+};
+
+&dsi {
+ panel@0 {
+ compatible = "raydium,rm68200";
+ reg = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_dsi>;
+ enable-gpios = <&pca6416_1 9 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpiof 8 GPIO_ACTIVE_LOW>;
+ power-supply = <&reg_5v>;
+ backlight = <&pwm_backlight>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mipi_dsi_out>;
+ };
+ };
+ };
+
+ ports {
+ port@1 {
+ reg = <1>;
+
+ mipi_dsi_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ };
+ };
+ };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
index eddf23dc79c2..63820eff90af 100644
--- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
@@ -466,6 +466,12 @@
};
&iomuxc1 {
+ pinctrl_dsi: dsigrp {
+ fsl,pins = <
+ MX8ULP_PAD_PTF8__PTF8 0x3
+ >;
+ };
+
pinctrl_enet: enetgrp {
fsl,pins = <
MX8ULP_PAD_PTE15__ENET0_MDC 0x43