ARM: dts: Add initial support for Wandboard Dual-Lite
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: Add initial support for Wandboard Dual-Lite
From: Fabio Estevam <[email protected]>
Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo.
For more details about Wandboard, please refer to: http://www.wandboard.org/
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-wandboard.dtsp | 40 +++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6dl.dtsip | 11 +++++++++ 3 files changed, 52 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-wandboard.dtsp
arch/arm/boot/dts/Makefile +1 -0
@@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx53-smd.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabresd.dtb \ + imx6dl-wandboard.dtb \ imx6q-arm2.dtb \ imx6q-sabreauto.dtb \ imx6q-sabrelite.dtb \
arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +40 -0
@@ -0,0 +1,40 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam <[email protected]> + * + * 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.dtsip" + +/ { + model = "Wandboard i.MX6 Dual Lite Board"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6q"; + + memory { + reg = <0x10000000 0x40000000>; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet_1>; + phy-mode = "rgmii"; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_1>; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3_4pin>; + status = "okay"; +};
arch/arm/boot/dts/imx6dl.dtsip +11 -0
@@ -136,6 +136,17 @@ MX6DL_PAD_SD3_DAT7__SD3_DATA7 0x17059 >; }; + + pinctrl_usdhc3_4pin: usdhc3grp-4pin { + fsl,pins = < + MX6DL_PAD_SD3_CMD__SD3_CMD 0x17059 + MX6DL_PAD_SD3_CLK__SD3_CLK 0x10059 + MX6DL_PAD_SD3_DAT0__SD3_DATA0 0x17059 + MX6DL_PAD_SD3_DAT1__SD3_DATA1 0x17059 + MX6DL_PAD_SD3_DAT2__SD3_DATA2 0x17059 + MX6DL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + >; + }; };
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: dts: Add initial support for Wandboard Dual-Lite
Quoted 39 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo.
For more details about Wandboard, please refer to: http://www.wandboard.org/
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-wandboard.dtsp | 40 +++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6dl.dtsip | 11 +++++++++ 3 files changed, 52 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-wandboard.dtsparch/arm/boot/dts/Makefile +1
-0@@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx53-smd.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabresd.dtb \ + imx6dl-wandboard.dtb \ imx6q-arm2.dtb \ imx6q-sabreauto.dtb \ imx6q-sabrelite.dtb \arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +6
-0@@ -0,0 +1,40 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam <[email protected]> + * + * This program is free software; you can redistribute it and/or modify
arch/arm/boot/dts/imx6dl-wandboard.dtsp line 16
Quoted 10 lines
arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +10
-0+ * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +/dts-v1/; +#include "imx6dl.dtsip" + +/ { + model = "Wandboard i.MX6 Dual Lite Board"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6q";
"fsl,imx6dl" please.
Quoted 12 lines
arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +12
-0+ + memory { + reg = <0x10000000 0x40000000>; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet_1>; + phy-mode = "rgmii"; + status = "okay"; +};
arch/arm/boot/dts/imx6dl-wandboard.dtsp line 38
Quoted 10 lines
arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +10
-0+ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_1>; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3_4pin>;
Unlike mxs that pin groups are defined per function, imx simply defines pin groups per controller. So please just follow the pattern to use something like pinctrl_usdhc3_2.
Shawn
Quoted 27 lines
arch/arm/boot/dts/imx6dl-wandboard.dtsp new file +2
-0+ status = "okay"; +};arch/arm/boot/dts/imx6dl.dtsip +11
-0@@ -136,6 +136,17 @@ MX6DL_PAD_SD3_DAT7__SD3_DATA7 0x17059 >; }; + + pinctrl_usdhc3_4pin: usdhc3grp-4pin { + fsl,pins = < + MX6DL_PAD_SD3_CMD__SD3_CMD 0x17059 + MX6DL_PAD_SD3_CLK__SD3_CLK 0x10059 + MX6DL_PAD_SD3_DAT0__SD3_DATA0 0x17059 + MX6DL_PAD_SD3_DAT1__SD3_DATA1 0x17059 + MX6DL_PAD_SD3_DAT2__SD3_DATA2 0x17059 + MX6DL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + >; + }; };Signature · 1 line
1.7.9.5