[PATCH 2/2] ARM i.MX53: add dts for the TQ tqma53 module

Sascha Hauer s.hauer at pengutronix.de
Tue Jan 8 05:00:23 EST 2013


Please Cc linux arm kernel list next time.

On Mon, Jan 07, 2013 at 04:16:00PM +0100, Steffen Trumtrar wrote:
> From: Sascha Hauer <s.hauer at pengutronix.de>
> 
> The tqma53 is an embedded module that has some features on board (e.g. emmc),
> but mostly just provides access to them on its interface.
> Going along with the imx53.dtsi, the tqma53.dtsi specifies the existing
> devices and their pinctrl for this module. All devices that are not on the
> module are disabled by default and need to be enabled in a baseboard DT.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
>  arch/arm/boot/dts/imx53-tqma53.dtsi |  207 +++++++++++++++++++++++++++++++++++
>  1 file changed, 207 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx53-tqma53.dtsi
> 
> diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi
> new file mode 100644
> index 0000000..41a6277
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx53-tqma53.dtsi
> @@ -0,0 +1,207 @@
> +/*
> + * Copyright 2012 Sascha Hauer <s.hauer at pengutronix.de>, Pengutronix
> + * Copyright 2012 Steffen Trumtrar <s.trumtrar at pengutronix.de>, Pengutronix
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/include/ "imx53.dtsi"
> +
> +/ {
> +	model = "TQ TQMa53";
> +	compatible = "tq,tqma53", "fsl,imx53";
> +
> +	memory {
> +		reg = <0x70000000 0x40000000>; /* Up to 1GiB */
> +	};
> +
> +	soc {
> +		aips at 50000000 {
> +			spba at 50000000 {
> +				esdhc2: esdhc at 50008000 {
> +					pinctrl-names = "default";
> +					pinctrl-0 = <&pinctrl_esdhc2_1>;
> +					wp-gpios = <&gpio1 2 0>;
> +					cd-gpios = <&gpio1 4 0>;
> +					status = "disabled";
> +				};

Please convert all these to:

&esdhc2 {
	pinctrl-names = "default";
	...
};

(see arch/arm/boot/dts/omap3-beagle.dts for an example)

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the devicetree-discuss mailing list