Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
On Wed, Sep 21, 2016 at 04:54:38PM +0530, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan MaityApplied, thanks.
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
On Wed, Sep 21, 2016 at 04:54:38PM +0530, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity Applied, thanks.
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
Hello, Ping? - Sanchayan. On 16-09-21 16:54:38, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity> --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names = "default"; > + pinctrl-0 = <_ipu1_lcdif>; > +
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
Hello, Ping? - Sanchayan. On 16-09-21 16:54:38, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names = "default"; > + pinctrl-0 = <_ipu1_lcdif>; > + status = "okay"; > + > +
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
On Wed, 2016-09-21 at 16:54 +0530, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan MaityAcked-by: Marcel Ziswiler > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this > dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty > of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated > documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom > the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall > be > + * included in all copies or substantial portions of the > Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE > WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation > Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", > "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* > SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names =
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
On Wed, 2016-09-21 at 16:54 +0530, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity Acked-by: Marcel Ziswiler > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this > dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty > of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated > documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom > the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall > be > + * included in all copies or substantial portions of the > Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE > WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation > Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", > "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* > SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names = "default"; > + pinctrl-0 = <_ipu1_lcdif>; > +
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
Hello, Ping? - Sanchayan. On 16-09-21 16:54:38, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity> --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names = "default"; > + pinctrl-0 = <_ipu1_lcdif>; > +
Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module
Hello, Ping? - Sanchayan. On 16-09-21 16:54:38, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 253 > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 890 > +++ > 3 files changed, 1144 insertions(+) > create mode 100644 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > create mode 100644 arch/arm/boot/dts/imx6qdl-colibri.dtsi > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f79cac2..44ff380 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -323,6 +323,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ > imx6dl-aristainetos_7.dtb \ > imx6dl-aristainetos2_4.dtb \ > imx6dl-aristainetos2_7.dtb \ > + imx6dl-colibri-eval-v3.dtb \ > imx6dl-cubox-i.dtb \ > imx6dl-dfi-fs700-m60.dtb \ > imx6dl-gw51xx.dtb \ > diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > new file mode 100644 > index 000..e0c2172 > --- /dev/null > +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts > @@ -0,0 +1,253 @@ > +/* > + * Copyright 2014-2016 Toradex AG > + * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2011 Linaro Ltd. > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file 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. > + * > + * This file is distributed in the hope that it will be useful > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include "imx6dl.dtsi" > +#include "imx6qdl-colibri.dtsi" > + > +/ { > + model = "Toradex Colibri iMX6DL/S on Colibri Evaluation Board V3"; > + compatible = "toradex,colibri_imx6dl-eval-v3", "toradex,colibri_imx6dl", > + "fsl,imx6dl"; > + > + aliases { > + i2c0 = > + i2c1 = > + }; > + > + aliases { > + rtc0 = _i2c; > + rtc1 = _rtc; > + }; > + > + clocks { > + /* Fixed crystal dedicated to mcp251x */ > + clk16m: clk@1 { > + compatible = "fixed-clock"; > + reg = <1>; > + #clock-cells = <0>; > + clock-frequency = <1600>; > + clock-output-names = "clk16m"; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_keys>; > + > + wakeup { > + label = "Wake-Up"; > + gpios = < 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ > + linux,code = ; > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + lcd_display: display@di0 { > + compatible = "fsl,imx-parallel-display"; > + #address-cells = <1>; > + #size-cells = <0>; > + interface-pix-fmt = "bgr666"; > + pinctrl-names = "default"; > + pinctrl-0 = <_ipu1_lcdif>; > + status = "okay"; > + > +