summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleopatre/Config.bundle-av2
-rw-r--r--cleopatre/buildroot/Makefile1
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/Config.in8
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/common/defconfig.base1
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/common/linux26.config.base1
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/response_file.mk4
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/defconfig.part4
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/desc18
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/linux26.config.part19
-rw-r--r--cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/target_skeleton_add/etc/network/interfaces24
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig8
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Makefile1
12 files changed, 88 insertions, 3 deletions
diff --git a/cleopatre/Config.bundle-av b/cleopatre/Config.bundle-av
index e5fcf8b69a..6b7b3f29f3 100644
--- a/cleopatre/Config.bundle-av
+++ b/cleopatre/Config.bundle-av
@@ -1,5 +1,5 @@
include Config.bundle-common
-BOARDS=spk300g spk300 spr300 scr310 spk310 spr310 mcr500 mcr510 mpr520 msk500
+BOARDS=spk300g spk300 spr300 scr310 spk310 spr310 mcr500 mcr510 mpr520 mpr520e msk500
CHIPS=spc300 mse500
spc300_REF_BOARD=spk300g
mse500_REF_BOARD=msk500
diff --git a/cleopatre/buildroot/Makefile b/cleopatre/buildroot/Makefile
index 59c394b429..d5a4752334 100644
--- a/cleopatre/buildroot/Makefile
+++ b/cleopatre/buildroot/Makefile
@@ -515,6 +515,7 @@ help:
@echo ' mcr500_defconfig - default HPAV configuration for MCR500 boards'
@echo ' mcr510_defconfig - default HPAV configuration for MCR510 boards'
@echo ' mpr520_defconfig - default HPAV configuration for MPR520 boards'
+ @echo ' mpr520e_defconfig - default HPAV configuration for MPR520e boards'
@echo ' mse500dini_300_defconfig - default HPAV configuration for MSE500 DINI 300 boards'
@echo ' msk500_defconfig - default HPAV configuration for MSK500 300 boards'
@echo ' scr300_defconfig - default HPAV configuration for SCR300 boards'
diff --git a/cleopatre/buildroot/target/device/Spidcom/Config.in b/cleopatre/buildroot/target/device/Spidcom/Config.in
index 287a4d4a6b..eb62c9b775 100644
--- a/cleopatre/buildroot/target/device/Spidcom/Config.in
+++ b/cleopatre/buildroot/target/device/Spidcom/Config.in
@@ -38,6 +38,13 @@ config BR2_TARGET_SPIDCOM_MPR520
help
Support for the MPR520 AV reference design
+config BR2_TARGET_SPIDCOM_MPR520E
+ bool "MPR520E development board"
+ depends on BR2_arm
+ select BR2_TARGET_SPIDCOM_ARCH_MSE500
+ help
+ Support for the MPR520E AV reference design
+
config BR2_TARGET_SPIDCOM_MSE500DINI_300
bool "MSE500DINI_300 development board"
depends on BR2_arm
@@ -125,6 +132,7 @@ config BR2_TARGET_SPIDCOM_BOARD
default "mcr500" if BR2_TARGET_SPIDCOM_MCR500
default "mcr510" if BR2_TARGET_SPIDCOM_MCR510
default "mpr520" if BR2_TARGET_SPIDCOM_MPR520
+ default "mpr520e" if BR2_TARGET_SPIDCOM_MPR520E
default "mse500dini_300" if BR2_TARGET_SPIDCOM_MSE500DINI_300
default "msk500" if BR2_TARGET_SPIDCOM_MSK500
default "scr300" if BR2_TARGET_SPIDCOM_SCR300
diff --git a/cleopatre/buildroot/target/device/Spidcom/common/defconfig.base b/cleopatre/buildroot/target/device/Spidcom/common/defconfig.base
index 1c7bd7a9e0..8edc1eb64f 100644
--- a/cleopatre/buildroot/target/device/Spidcom/common/defconfig.base
+++ b/cleopatre/buildroot/target/device/Spidcom/common/defconfig.base
@@ -60,6 +60,7 @@ BR2_TARGET_SPIDCOM=y
# BR2_TARGET_SPIDCOM_MCR500 is not set
# BR2_TARGET_SPIDCOM_MCR510 is not set
# BR2_TARGET_SPIDCOM_MPR520 is not set
+# BR2_TARGET_SPIDCOM_MPR520E is not set
# BR2_TARGET_SPIDCOM_MSE500DINI_300 is not set
# BR2_TARGET_SPIDCOM_MSK500 is not set
# BR2_TARGET_SPIDCOM_SCR300 is not set
diff --git a/cleopatre/buildroot/target/device/Spidcom/common/linux26.config.base b/cleopatre/buildroot/target/device/Spidcom/common/linux26.config.base
index f39e8ac2e8..62c578b2ee 100644
--- a/cleopatre/buildroot/target/device/Spidcom/common/linux26.config.base
+++ b/cleopatre/buildroot/target/device/Spidcom/common/linux26.config.base
@@ -128,6 +128,7 @@ CONFIG_ARCH_SPC300=y
# CONFIG_MACH_MCR500 is not set
# CONFIG_MACH_MCR510 is not set
# CONFIG_MACH_MPR520 is not set
+# CONFIG_MACH_MPR520E is not set
# CONFIG_MACH_MSE500DINI_300 is not set
# CONFIG_MACH_MSK500 is not set
# CONFIG_MACH_SCR300 is not set
diff --git a/cleopatre/buildroot/target/device/Spidcom/response_file.mk b/cleopatre/buildroot/target/device/Spidcom/response_file.mk
index cf4f55a709..68ded9ecab 100644
--- a/cleopatre/buildroot/target/device/Spidcom/response_file.mk
+++ b/cleopatre/buildroot/target/device/Spidcom/response_file.mk
@@ -43,8 +43,8 @@ FLAGS:=
# MSE500 specific
ifeq ($(BR2_TARGET_SPIDCOM_ARCH_MSE500),y)
FLAGS:=$(FLAGS) -DCONFIG_CHIP_FEATURE_EXTRA_NVRAM_FIELDS
- FLAGS:=$(call conditional_define,$(BR2_TARGET_SPIDCOM_MPR520),CONFIG_HAVE_POWER_LED)
- FLAGS:=$(call conditional_value,$(BR2_TARGET_SPIDCOM_MPR520),LED_ATTACHMENT_GPIO_NUM,4)
+ FLAGS:=$(call conditional_define,$(BR2_TARGET_SPIDCOM_MPR520)$(BR2_TARGET_SPIDCOM_MPR520E),CONFIG_HAVE_POWER_LED)
+ FLAGS:=$(call conditional_value,$(BR2_TARGET_SPIDCOM_MPR520)$(BR2_TARGET_SPIDCOM_MPR520E),LED_ATTACHMENT_GPIO_NUM,4)
endif
# SPC300 specific
diff --git a/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/defconfig.part b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/defconfig.part
new file mode 100644
index 0000000000..1af490175f
--- /dev/null
+++ b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/defconfig.part
@@ -0,0 +1,4 @@
+BR2_PROJECT="mpr520e"
+BR2_HOSTNAME="mpr520e"
+BR2_TARGET_SPIDCOM_MPR520E=y
+BR2_PACKAGE_PMD=y
diff --git a/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/desc b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/desc
new file mode 100644
index 0000000000..b8c9980e97
--- /dev/null
+++ b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/desc
@@ -0,0 +1,18 @@
+busybox.config
+ common/busybox.config.base
+
+defconfig
+ common/defconfig.base
+ local/defconfig.part
+
+device_table.txt
+ common/device_table.txt
+
+linux26.config
+ common/linux26.config.base
+ common/linux26.config.chip_mse500
+ local/linux26.config.part
+
+target_skeleton
+ common/target_skeleton_base
+ local/target_skeleton_add
diff --git a/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/linux26.config.part b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/linux26.config.part
new file mode 100644
index 0000000000..83fff557ae
--- /dev/null
+++ b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/linux26.config.part
@@ -0,0 +1,19 @@
+CONFIG_MACH_MPR520E=y
+
+CONFIG_LOW_POWER_LED_NUM=3
+
+#
+# Power management options
+#
+CONFIG_PM=y
+# CONFIG_PM_LEGACY is not set
+# CONFIG_PM_DEBUG is not set
+CONFIG_PM_SLEEP=y
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y
+# CONFIG_APM_EMULATION is not set
+
+# CONFIG_ICPLUS_PHY is not set
+CONFIG_REALTEK_PHY=y
+
+CONFIG_NETDEV_1000=y
diff --git a/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/target_skeleton_add/etc/network/interfaces b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/target_skeleton_add/etc/network/interfaces
new file mode 100644
index 0000000000..79f7cd431b
--- /dev/null
+++ b/cleopatre/buildroot/target/device/Spidcom/targets/mpr520e/target_skeleton_add/etc/network/interfaces
@@ -0,0 +1,24 @@
+auto lo eth0 plc0 br0
+
+# Configure Loopback
+iface lo inet loopback
+
+# Configure Ethernet interface
+iface eth0 inet static
+ address 0.0.0.0
+ netmask 255.255.255.255
+
+iface plc0 inet static
+ address 0.0.0.0
+ netmask 255.255.255.255
+
+iface br0 inet static
+ address 10.3.18.1
+ netmask 255.255.0.0
+ pre-up brctl addbr br0
+ pre-up brctl addif br0 eth0
+ pre-up brctl addif br0 plc0
+ pre-up brctl setfd br0 1
+ post-down brctl delif br0 eth0
+ post-down brctl delif br0 plc0
+ post-down brctl delbr br0
diff --git a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig
index 4d34d8bd80..7a9e777879 100644
--- a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig
+++ b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig
@@ -38,6 +38,14 @@ config MACH_MPR520
select HAVE_POWER_LED
help
Include support for SPiDCOM mpr520 reference design boards.
+
+config MACH_MPR520E
+ bool "Support MPR520E platform"
+ select CHIP_MSE500
+ select HAVE_SPC300_GPIO_USABLE_ALL
+ select HAVE_POWER_LED
+ help
+ Include support for SPiDCOM mpr520e reference design boards.
config MACH_MSE500DINI_300
bool "Support SPC300 Dini platform"
diff --git a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Makefile b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Makefile
index d93b953e18..cc36f1c46b 100644
--- a/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Makefile
+++ b/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Makefile
@@ -16,6 +16,7 @@ obj-$(CONFIG_MACH_ARIZONA) += board-arizona.o
obj-$(CONFIG_MACH_MCR500) += board-mse500.o
obj-$(CONFIG_MACH_MCR510) += board-mse500.o
obj-$(CONFIG_MACH_MPR520) += board-mse500.o
+obj-$(CONFIG_MACH_MPR520E) += board-mse500.o
obj-$(CONFIG_MACH_MSE500DINI_300) += board-mse500dini_300.o
obj-$(CONFIG_MACH_MSK500) += board-mse500.o
obj-$(CONFIG_MACH_SCR300) += board-scr300.o