diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 08ff98aca0497b..ffffb8c62ee37e 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -167,6 +167,8 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6dl-sabresd-pf200.dtb \ imx6dl-sabresd-hdcp.dtb \ imx6dl-udoo.dtb \ + imx6dl-udoo-7lvds.dtb \ + imx6dl-udoo-15lvds.dtb \ imx6dl-sbc-fx6.dtb \ imx6dl-sbc-fx6m.dtb \ imx6dl-wandboard.dtb \ @@ -192,6 +194,8 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6q-sbc-fx6m.dtb \ imx6q-sbc6x.dtb \ imx6q-udoo.dtb \ + imx6q-udoo-7lvds.dtb \ + imx6q-udoo-15lvds.dtb \ imx6q-wandboard.dtb \ imx6q-tbs2910.dtb \ imx6sl-evk.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts b/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts new file mode 100644 index 00000000000000..ac189cc0676543 --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts @@ -0,0 +1,54 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + * Author: Ettore Chimenti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Dual-lite Board"; + compatible = "udoo,imx6dl-udoo", "fsl,imx6dl"; + + mxcfb2: fb@1 { + compatible = "fsl,mxc_sdc_fb"; + disp_dev = "ldb"; + interface_pix_fmt = "RGB24"; + mode_str = "1360x768M@60"; + default_bpp = <32>; + int_clk = <0>; + late_init = <1>; + status = "okay"; + }; + + regulators { + reg_lcd0_pwr: regulator@1 { + status = "okay"; + }; + + reg_lcd0_backlight: regulator@2 { + status = "okay"; + }; + }; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + status = "okay"; + fsl,data-width = <24>; + + display-timings { + native-mode = <&timing2>; + }; + }; +}; diff --git a/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts b/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts new file mode 100644 index 00000000000000..da6ba4d7e5e28e --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts @@ -0,0 +1,49 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + * Author: Ettore Chimenti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Dual-lite Board"; + compatible = "udoo,imx6dl-udoo", "fsl,imx6dl"; + + mxcfb2: fb@1 { + compatible = "fsl,mxc_sdc_fb"; + disp_dev = "ldb"; + interface_pix_fmt = "RGB666"; + mode_str = "800x480M@60"; + default_bpp = <32>; + int_clk = <0>; + late_init = <0>; + status = "okay"; + }; + + regulators { + reg_lcd0_pwr: regulator@1 { + status = "okay"; + }; + + reg_lcd0_backlight: regulator@2 { + status = "okay"; + }; + }; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + status = "okay"; + }; +}; diff --git a/arch/arm/boot/dts/imx6q-udoo-15lvds.dts b/arch/arm/boot/dts/imx6q-udoo-15lvds.dts new file mode 100644 index 00000000000000..35e76513cbc4ca --- /dev/null +++ b/arch/arm/boot/dts/imx6q-udoo-15lvds.dts @@ -0,0 +1,58 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + * Author: Ettore Chimenti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Quad Board"; + compatible = "udoo,imx6q-udoo", "fsl,imx6q"; + + mxcfb2: fb@1 { + compatible = "fsl,mxc_sdc_fb"; + disp_dev = "ldb"; + interface_pix_fmt = "RGB24"; + mode_str = "1360x768M@60"; + default_bpp = <32>; + int_clk = <0>; + late_init = <1>; + status = "okay"; + }; + + regulators { + reg_lcd0_pwr: regulator@1 { + status = "okay"; + }; + + reg_lcd0_backlight: regulator@2 { + status = "okay"; + }; + }; +}; + +&sata { + status = "okay"; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + status = "okay"; + fsl,data-width = <24>; + + display-timings { + native-mode = <&timing2>; + }; + }; +}; diff --git a/arch/arm/boot/dts/imx6q-udoo-7lvds.dts b/arch/arm/boot/dts/imx6q-udoo-7lvds.dts new file mode 100644 index 00000000000000..e5f3125bd365f9 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-udoo-7lvds.dts @@ -0,0 +1,53 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + * Author: Ettore Chimenti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-udoo.dtsi" + +/ { + model = "Udoo i.MX6 Quad Board"; + compatible = "udoo,imx6q-udoo", "fsl,imx6q"; + + mxcfb2: fb@1 { + compatible = "fsl,mxc_sdc_fb"; + disp_dev = "ldb"; + interface_pix_fmt = "RGB666"; + mode_str = "800x480M@60"; + default_bpp = <32>; + int_clk = <0>; + late_init = <0>; + status = "okay"; + }; + + regulators { + reg_lcd0_pwr: regulator@1 { + status = "okay"; + }; + + reg_lcd0_backlight: regulator@2 { + status = "okay"; + }; + }; +}; + +&sata { + status = "okay"; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + status = "okay"; + }; +}; diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index 2f6ec9a45adb70..7dca6db8b12f8a 100755 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -254,9 +254,10 @@ vsync-len = <2>; }; - timing2: 1366x768 { // 15.6" display + // IPU needs X and Y by modulo 8 + timing2: 1360x768 { // 15.6" display clock-frequency = <76000000>; - hactive = <1366>; + hactive = <1360>; vactive = <768>; hback-porch = <220>; hfront-porch = <40>;