From 026ffde092e92e427eb28aaba69b41ecfb3ad151 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Tue, 2 May 2017 08:22:50 +0200 Subject: [PATCH] Use same DT naming scheme as on mainline kernel. --- ...oo_name_compatiblity_with_new_kernel.patch | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 patch/kernel/udoo-default/udoo_name_compatiblity_with_new_kernel.patch diff --git a/patch/kernel/udoo-default/udoo_name_compatiblity_with_new_kernel.patch b/patch/kernel/udoo-default/udoo_name_compatiblity_with_new_kernel.patch new file mode 100644 index 000000000..a9e027429 --- /dev/null +++ b/patch/kernel/udoo-default/udoo_name_compatiblity_with_new_kernel.patch @@ -0,0 +1,102 @@ +diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile +old mode 100644 +new mode 100755 +index 078a678..78b5a36 +--- a/arch/arm/boot/dts/Makefile ++++ b/arch/arm/boot/dts/Makefile +@@ -170,6 +170,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ + imx6dl-seco_A62-lvds7hdmi.dtb \ + imx6dl-seco_A62.dtb \ + imx6dl-wandboard.dtb \ ++ imx6dl-udoo.dtb \ + imx6dl-udoo-hdmi.dtb \ + imx6dl-udoo-lvds7.dtb \ + imx6dl-udoo-lvds15.dtb \ +@@ -193,6 +194,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ + imx6q-seco_A62-lvds7.dtb \ + imx6q-seco_A62-lvds15.dtb \ + imx6q-seco_A62-lvds7hdmi.dtb \ ++ imx6q-udoo.dtb \ + imx6q-udoo-hdmi.dtb \ + imx6q-udoo-lvds7.dtb \ + imx6q-udoo-lvds15.dtb \ +diff --git a/arch/arm/boot/dts/imx6dl-udoo.dts b/arch/arm/boot/dts/imx6dl-udoo.dts +new file mode 100755 +index 0000000..4af97ed +--- /dev/null ++++ b/arch/arm/boot/dts/imx6dl-udoo.dts +@@ -0,0 +1,32 @@ ++/* ++ * 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" ++#include "imx6qdl-udoo-externalpins.dtsi" ++ ++/ { ++ model = "UDOO Dual-lite Board"; ++ compatible = "udoo,imx6dl-udoo", "fsl,imx6dl"; ++ ++ mxcfb1: fb@0 { ++ compatible = "fsl,mxc_sdc_fb"; ++ disp_dev = "hdmi"; ++ interface_pix_fmt = "RGB24"; ++ mode_str ="1920x1080M@60"; ++ default_bpp = <32>; ++ int_clk = <0>; ++ late_init = <0>; ++ status = "okay"; ++ }; ++ ++}; +diff --git a/arch/arm/boot/dts/imx6q-udoo.dts b/arch/arm/boot/dts/imx6q-udoo.dts +new file mode 100755 +index 0000000..9c6021d +--- /dev/null ++++ b/arch/arm/boot/dts/imx6q-udoo.dts +@@ -0,0 +1,36 @@ ++/* ++ * 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" ++#include "imx6qdl-udoo-externalpins.dtsi" ++ ++/ { ++ model = "UDOO Quad Board"; ++ compatible = "udoo,imx6q-udoo", "fsl,imx6q"; ++ ++ mxcfb1: fb@0 { ++ compatible = "fsl,mxc_sdc_fb"; ++ disp_dev = "hdmi"; ++ interface_pix_fmt = "RGB24"; ++ mode_str ="1920x1080M@60"; ++ default_bpp = <32>; ++ int_clk = <0>; ++ late_init = <0>; ++ status = "okay"; ++ }; ++}; ++ ++&sata { ++ status = "okay"; ++};