ARM: dts: Add support for the cpuimx25 board from Eukrea and its baseboard.
Subsystems (2)
PATCH v13 1/1 ARM: dts: Add support for the cpuimx25 board from Eukrea and its baseboard.
The following devices/functionalities were added:
* Main and secondary UARTs.
* i2c and the pcf8563 device.
* Ethernet.
* NAND.
* The BP1 button.
* The LED.
* Watchdog
* SD.
---
ChangeLog v10->v13:
- The display part was splitted out because it depends on other patches that are not applied yet, the commit message was updated accordingly.
- The new GPIO and input defines are now used in the dts(i).
ChangeLog v9->v10:
- Adapted to the new pingrp patches.
ChangeLog v8->v9:
- Licenses were shortened.
--- arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 60 ++++++++++ .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 119 ++++++++++++++++++++ 2 files changed, 179 insertions(+) create mode 100644 arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi create mode 100644 arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts
arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi new file +60 -0
@@ -0,0 +1,60 @@ +/* + * Copyright 2013 Eukr?a Electromatique <[email protected]> + * + * 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 "imx25.dtsi" + +/ { + model = "Eukrea CPUIMX25"; + compatible = "eukrea,cpuimx25", "fsl,imx25"; + + memory { + reg = <0x80000000 0x4000000>; /* 64M */ + }; +}; + +&fec { + phy-mode = "rmii"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pcf8563 at 51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; +}; + +&iomuxc { + imx25-eukrea-cpuimx25 { + pinctrl_fec: fecgrp { + fsl,pins = <MX25_FEC_PINGRP1>; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins = <MX25_I2C1_PINGRP1>; + }; + }; +}; + +&nfc { + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + nand-on-flash-bbt; + status = "okay"; +};
arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts new file +119 -0
119 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v13 1/1 ARM: dts: Add support for the cpuimx25 board from Eukrea and its baseboard.
Quoted 29 lines · Denis Carikli
The following devices/functionalities were added:
* Main and secondary UARTs.
* i2c and the pcf8563 device.
* Ethernet.
* NAND.
* The BP1 button.
* The LED.
* Watchdog
* SD.Cc Rob Herring <[email protected]>Cc Pawel Moll <[email protected]>Cc Mark Rutland <[email protected]>Cc Stephen Warren <[email protected]>Cc Ian Campbell <[email protected]>Cc devicetree at vger.kernel.orgCc Sascha Hauer <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc Eric B?nard <[email protected]>Signed-off-by Denis Carikli <[email protected]>---
ChangeLogv10->v13:
- The display part was splitted out because it depends on other patches that are not applied yet, the commit message was updated accordingly.
- The new GPIO and input defines are now used in the dts(i).ChangeLog
v9->v10:
- Adapted to the new pingrp patches.
Quoted 8 lines
ChangeLog
v8->v9:
- Licenses were shortened.--- arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 60 ++++++++++ .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 119 ++++++++++++++++++++ 2 files changed, 179 insertions(+) create mode 100644 arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi create mode 100644 arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts
Added the dtb target into arch/arm/boot/dts/Makefile, and applied the patch.
Shawn