Skip to content

Commit

Permalink
ARM: mxs: Add support for the eukrea-cpuimx28.
Browse files Browse the repository at this point in the history
The following devices/functionalities were tested:
 * Main UART.
 * Ethernet0.
 * Ethernet1.
 * SD.
 * USB host.
 * USB otg.
 * Display(and its backlight).
 * Touchscreen.
 * Audio.
 * nand.
 * i2c and the pcf8563 device.
 * The gpio buttons.
 * The gpio leds.
 * Watchdog

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: [email protected]
Cc: [email protected]
Signed-off-by: Eric Bénard <[email protected]>
Signed-off-by: Denis Carikli <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
Eric Bénard authored and shawnguo2 committed Feb 9, 2014
1 parent bb89b8d commit 9a4cc05
Show file tree
Hide file tree
Showing 5 changed files with 456 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
imx28-cfa10057.dtb \
imx28-cfa10058.dtb \
imx28-duckbill.dtb \
imx28-eukrea-mbmx283lc.dtb \
imx28-eukrea-mbmx287lc.dtb \
imx28-evk.dtb \
imx28-m28cu3.dtb \
imx28-m28evk.dtb \
Expand Down
71 changes: 71 additions & 0 deletions arch/arm/boot/dts/imx28-eukrea-mbmx283lc.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Copyright 2013 Eukréa Electromatique <[email protected]>
* 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.
*/

/*
* Module contains : i.MX282 + 64MB DDR2 + NAND + Ethernet PHY + RTC
*/

/dts-v1/;
#include "imx28-eukrea-mbmx28lc.dtsi"

/ {
model = "Eukrea Electromatique MBMX283LC";
compatible = "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";

memory {
reg = <0x40000000 0x04000000>;
};
};

&gpmi {
pinctrl-names = "default";
pinctrl-0 = <&gpmi_pins_a>;
status = "okay";
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;
status = "okay";

pcf8563: rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
};
};


&mac0 {
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>;
phy-reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
status = "okay";
};

&pinctrl{
pinctrl-names = "default";
pinctrl-0 = <&hog_pins_cpuimx283>;

hog_pins_cpuimx283: hog-cpuimx283@0 {
reg = <0>;
fsl,pinmux-ids = <
MX28_PAD_ENET0_RX_CLK__GPIO_4_13
MX28_PAD_ENET0_TX_CLK__GPIO_4_5
>;
fsl,drive-strength = <MXS_DRIVE_4mA>;
fsl,voltage = <MXS_VOLTAGE_HIGH>;
fsl,pull-up = <MXS_PULL_ENABLE>;
};
};
50 changes: 50 additions & 0 deletions arch/arm/boot/dts/imx28-eukrea-mbmx287lc.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2013 Eukréa Electromatique <[email protected]>
* 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.
*/

/*
* Module contains : i.MX287 + 128MB DDR2 + NAND + 2 x Ethernet PHY + RTC
*/

#include "imx28-eukrea-mbmx283lc.dts"

/ {
model = "Eukrea Electromatique MBMX287LC";
compatible = "eukrea,mbmx287lc", "eukrea,mbmx283lc", "eukrea,mbmx28lc", "fsl,imx28";

memory {
reg = <0x40000000 0x08000000>;
};
};

&mac1 {
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&mac1_pins_a>;
phy-reset-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
status = "okay";
};

&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&hog_pins_cpuimx283 &hog_pins_cpuimx287>;
hog_pins_cpuimx287: hog-cpuimx287@0 {
reg = <0>;
fsl,pinmux-ids = <
MX28_PAD_SPDIF__GPIO_3_27
>;
fsl,drive-strength = <MXS_DRIVE_4mA>;
fsl,voltage = <MXS_VOLTAGE_HIGH>;
fsl,pull-up = <MXS_PULL_ENABLE>;
};
};
Loading

0 comments on commit 9a4cc05

Please sign in to comment.