ramips: improve and fix Memory 2 Move support

This patch is a follow up for my previous patch:
"ramips: add support for Intenso Memory 2 Move USB 3.0".

It fixes a couple of errors in the DTS (one of which broke
the gpio-buttons). The kmod-leds-gpio dependency has been
dropped as it is already part of the ramips target.

Furthermore the ramdisk/uImage image is generated by default
for the rt3050 subtarget. This image is needed to flash
OpenWrt for the first time onto the device via TFTP.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44072
This commit is contained in:
John Crispin 2015-01-22 09:35:12 +00:00
parent ac5ede7116
commit deb66a555e
3 changed files with 13 additions and 19 deletions

View file

@ -7,14 +7,10 @@
model = "Intenso Memory 2 Move";
chosen {
bootargs = "console=ttyS1,57600n8 root=/dev/mtdblock5";
bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
};
palmbus@10000000 {
uart@500 {
status = "okay";
};
spi@b00 {
status = "okay";
m25p80@0 {
@ -54,7 +50,7 @@
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "uartf";
ralink,function = "gpio";
};
};
@ -72,7 +68,6 @@
};
};
gpio-keys-polled {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@ -89,7 +84,6 @@
linux,code = <0x198>;
};
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x28>;

View file

@ -8,7 +8,7 @@
define Profile/M2M
NAME:=Intenso Memory 2 Move
PACKAGES:=\
kmod-ledtrig-netdev kmod-ledtrig-timer kmod-leds-gpio \
kmod-ledtrig-netdev kmod-ledtrig-timer \
kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
kmod-fs-ext4 kmod-fs-vfat block-mount
endef

View file

@ -5,7 +5,7 @@
SUBTARGET:=rt305x
BOARDNAME:=RT3x5x/RT5350 based boards
ARCH_PACKAGES:=ramips_24kec
FEATURES+=usb
FEATURES+=usb ramdisk
CPU_TYPE:=24kec
CPU_SUBTYPE:=dsp