summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sx-sdb.dtsi
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2019-09-05 09:52:37 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:07:22 +0800
commit5f12e1ecc2a3afd8f69a5bea8ca296cfa2452c55 (patch)
tree39df57fadc3b5784598af431720a1ad81d425fdf /arch/arm/boot/dts/imx6sx-sdb.dtsi
parentfdb94ec3ab6f47ee66923228087e0b4b66532353 (diff)
ARM: dts: imx6sx-sdb: add 'display' property for lcdif1
Since the mxsfb framebuffer driver requires 'display' property to exist, so add this property to lcdif1, otherwise there will be below errors printed: [ 3.617194] mxsfb 2220000.lcdif: failed to find display phandle [ 3.623254] mxsfb 2220000.lcdif: Failed to initialize fbinfo: -2 [ 3.640538] mxsfb: probe of 2220000.lcdif failed with error -2 Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi
index c03449c27e8d..49a65467f905 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dtsi
+++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi
@@ -349,8 +349,33 @@
&lcdif1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd>;
+ display = <&display0>;
status = "okay";
+ display0: display@0 {
+ bits-per-pixel = <16>;
+ bus-width = <24>;
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <33500000>;
+ hactive = <800>;
+ vactive = <480>;
+ hback-porch = <89>;
+ hfront-porch = <164>;
+ vback-porch = <23>;
+ vfront-porch = <10>;
+ hsync-len = <10>;
+ vsync-len = <10>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+
port {
display_out: endpoint {
remote-endpoint = <&panel_in>;