Skip to contentSkip to conversation

mpc83xx: add support for the MPC8360E-RDK

PATCH New Anton Vorontsov 2 participants 3 messages Dec 25, 2007 – Dec 26, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx: add support for the MPC8360E-RDK

This is MPC8360E based board with:
- 256MB fixed SDRAM, 8MB NOR flash;
- StMICRO 64MiB NAND flash;
- two 10/100/1000 ethernet ports connected via Broadcom BCM5481 PHYs;
- two 10/100 ethernet ports connected via National DP83848 PHYs;
- one PCI and one miniPCI slots;
- four serial ports (two NS16550-compatible, two UCCs);
- four USB ports working through MPC8360E "FHCI" USB controller;
- Fujitsu MB86277 graphics controller;
- Analog to Digital Converter/Touchscreen controller, AD7843 connected to SPI.

Features not supported in this patch are:
- LBC configuration for the graphics controller;
- Fetching production information from the EEPROM via I2C;
- FHCI USB;
- Two slow UCCs used as RS-485 UARTs.

---
 Makefile                        |   11 +
 board/mpc8360erdk/Makefile      |   50 ++++
 board/mpc8360erdk/config.mk     |   28 ++
 board/mpc8360erdk/mpc8360erdk.c |  316 ++++++++++++++++++++++
 board/mpc8360erdk/nand.c        |  201 ++++++++++++++
 include/configs/MPC8360ERDK.h   |  559 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 1165 insertions(+), 0 deletions(-)
 create mode 100644 board/mpc8360erdk/Makefile
 create mode 100644 board/mpc8360erdk/config.mk
 create mode 100644 board/mpc8360erdk/mpc8360erdk.c
 create mode 100644 board/mpc8360erdk/nand.c
 create mode 100644 include/configs/MPC8360ERDK.h
Makefile +11 -0
index edba1ae..b0895fe 100644
@@ -1909,6 +1909,17 @@ MPC837XEMDS_HOST_config:	unconfig
 	fi ;
 	@$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
 
+MPC8360ERDK_33MHZ_config \
+MPC8360ERDK_66MHZ_config \
+MPC8360ERDK_config:
+	@mkdir -p $(obj)include
+	@echo "" >$(obj)include/config.h ; \
+	if [ "$(findstring _33MHZ_,$@)" ] ; then \
+		echo -n "... CLKIN 33MHz " ; \
+		echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
+	fi ;
+	@$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk
+
 sbc8349_config:		unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
 
board/mpc8360erdk/Makefile new file +50 -0

50 lines not on this page · raw message

board/mpc8360erdk/config.mk new file +28 -0
new file mode 100644
index 0000000..87dd746
@@ -0,0 +1,28 @@
+#
+# (C) Copyright 2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# 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.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+#
+# MPC8360ERDK
+#
+
+TEXT_BASE = 0xFF800000
board/mpc8360erdk/mpc8360erdk.c new file +316 -0

316 lines not on this page · raw message

board/mpc8360erdk/nand.c new file +201 -0

201 lines not on this page · raw message

include/configs/MPC8360ERDK.h new file +559 -0

559 lines not on this page · raw message

Signature · 1 line
1.5.2.2
#1 lore raw

PATCH 1/1 mpc83xx: add support for the MPC8360E-RDK

Quoted 5 lines · Anton Vorontsov

Features not supported in this patch are:
- LBC configuration for the graphics controller;
- Fetching production information from the EEPROM via I2C;
- FHCI USB;
- Two slow UCCs used as RS-485 UARTs.

Does the board have the QE connected to the serial ports?

Quoted 8 lines
---
 Makefile                        |   11 +
 board/mpc8360erdk/Makefile      |   50 ++++
 board/mpc8360erdk/config.mk     |   28 ++
 board/mpc8360erdk/mpc8360erdk.c |  316 ++++++++++++++++++++++
 board/mpc8360erdk/nand.c        |  201 ++++++++++++++

These files belong in board/freescale/mpc8360erdk

#2 lore raw

PATCH 1/1 mpc83xx: add support for the MPC8360E-RDK

Quoted 9 lines · Timur Tabi
Quoted 5 lines · Anton Vorontsov

Features not supported in this patch are:
- LBC configuration for the graphics controller;
- Fetching production information from the EEPROM via I2C;
- FHCI USB;
- Two slow UCCs used as RS-485 UARTs.

Does the board have the QE connected to the serial ports?

Yes.

Quoted 12 lines
Quoted 8 lines

---

Makefile                        |   11 +
board/mpc8360erdk/Makefile      |   50 ++++
board/mpc8360erdk/config.mk     |   28 ++
board/mpc8360erdk/mpc8360erdk.c |  316 ++++++++++++++++++++++
board/mpc8360erdk/nand.c        |  201 ++++++++++++++

These files belong in board/freescale/mpc8360erdk

Signature · 4 lines
Anton Vorontsov
email: cbou at mail.ru
backup email: ya-cbou at yandex.ru
irc://irc.freenode.net/bd2