From 8a84f16a78024795599155ef8b7473ef7457cf92 Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Fri, 26 Feb 2021 14:09:18 +0800 Subject: 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 Cc: Leo Li Cc: Sandor Yu Cc: Robert Chiras Reviewed-by: Sandor Yu Signed-off-by: Liu Ying --- .../dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts (limited to 'arch/arm64/boot/dts/freescale/imx8ulp-evk-rk055hdmipi4m.dts') 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 = <®_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>; + }; + }; + }; +}; -- cgit v1.2.3