From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Carikli Subject: [PATCH] ARM: dts: Add support for the cpuimx53 board from Eukrea and its baseboard. Date: Wed, 27 Nov 2013 16:27:44 +0100 Message-ID: <1385566064-30761-1-git-send-email-denis@eukrea.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shawn Guo Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Denis Carikli , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Grant Likely , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sascha Hauer , =?UTF-8?q?Eric=20B=C3=A9nard?= List-Id: devicetree@vger.kernel.org The following devices/functionalities were added: * Main and secondary UARTs. * i2c and the pcf8563 device. * Ethernet. * NAND. * The BP1 button. * The LED. * Watchdog. * SD. * USB host. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Stephen Warren Cc: Ian Campbell Cc: Grant Likely Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Sascha Hauer Cc: Shawn Guo Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Eric B=C3=A9nard Signed-off-by: Denis Carikli --- arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi | 81 ++++++++++++= +++ .../boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts | 106 ++++++++++++= ++++++++ 2 files changed, 187 insertions(+) create mode 100644 arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi create mode 100644 arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.= dts diff --git a/arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi b/arch/arm/bo= ot/dts/imx53-eukrea-cpuimx53.dtsi new file mode 100644 index 0000000..cb40cf3 --- /dev/null +++ b/arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi @@ -0,0 +1,81 @@ +/* + * Copyright 2013 Eukr=C3=A9a Electromatique + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * This program 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. + */ + +#include "imx53.dtsi" + +/ { + model =3D "Eukrea CPUIMX53"; + compatible =3D "eukrea,cpuimx53", "fsl,imx53"; + + memory { + reg =3D <0x70000000 0x20000000>; /* 512M */ + }; +}; + +&fec { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_fec>; + phy-reset-gpios =3D <&gpio2 30 1>; + phy-mode =3D "rmii"; + status =3D "okay"; +}; + +&i2c1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_i2c1>; + status =3D "okay"; + + pcf8563@51 { + compatible =3D "nxp,pcf8563"; + reg =3D <0x51>; + }; +}; + +&iomuxc { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_hog>; + + imx53-eukrea { + pinctrl_hog: hoggrp { + fsl,pins =3D < + MX53_PAD_EIM_EB2__GPIO2_30 0x1e4 + >; + }; + + pinctrl_fec: fecgrp { + fsl,pins =3D ; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins =3D ; + }; + + pinctrl_nand: nandgrp { + fsl,pins =3D ; + + }; + }; +}; + +&nfc { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_nand>; + nand-bus-width =3D <8>; + nand-ecc-mode =3D "hw"; + status =3D "okay"; +}; + +&usbh1 { + phy_type =3D "utmi"; + status =3D "okay"; +}; diff --git a/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts b/a= rch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file mode 100644 index 0000000..95929aa --- /dev/null +++ b/arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts @@ -0,0 +1,106 @@ +/* + * Copyright 2013 Eukr=C3=A9a Electromatique + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * This program 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. + */ + +/dts-v1/; +#include "imx53-eukrea-cpuimx53.dtsi" + +/ { + model =3D "Eukrea MBIMX53SD"; + compatible =3D "eukrea,mbimxsd53","eukrea,cpuimx53", "fsl,imx53"; + + gpio_keys { + compatible =3D "gpio-keys"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpiokeys>; + + button-1 { + label =3D "BP1"; + gpios =3D <&gpio4 14 1>; + linux,code =3D <256>; + gpio-key,wakeup; + linux,input-type =3D <1>; + }; + }; + + leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpioled>; + + led1 { + label =3D "led1"; + gpios =3D <&gpio4 15 1>; + linux,default-trigger =3D "heartbeat"; + }; + }; + + reg_3p3v: 3p3v { + compatible =3D "regulator-fixed"; + regulator-name =3D "3P3V"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + }; +}; + + +&esdhc1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>; + cd-gpios =3D <&gpio5 17 1>; + vqmmc-supply =3D <®_3p3v>; + vmmc-supply =3D <®_3p3v>; + status =3D "okay"; +}; + +&iomuxc { + imx53-eukrea { + pinctrl_esdhc1: esdhc1 { + fsl,pins =3D ; + }; + + pinctrl_esdhc1_cd: esdhc1_cd { + fsl,pins =3D ; + }; + + pinctrl_gpiokeys: gpiokeysgrp { + fsl,pins =3D ; + }; + + pinctrl_gpioled: gpioledgrp { + fsl,pins =3D ; + }; + + pinctrl_uart1: uart1grp { + fsl,pins =3D ; + }; + + pinctrl_uart2: uart2grp { + fsl,pins =3D ; + }; + }; +}; + +&uart1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart1>; + fsl,uart-has-rtscts; + status =3D "okay"; +}; + +&uart2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart2>; + fsl,uart-has-rtscts; + status =3D "okay"; +}; --=20 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html