Skip to content
Snippets Groups Projects
Commit 186163cc authored by blogic's avatar blogic
Browse files

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: default avatarChristian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44072 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent e8f67108
No related branches found
No related tags found
No related merge requests found
...@@ -7,14 +7,10 @@ ...@@ -7,14 +7,10 @@
model = "Intenso Memory 2 Move"; model = "Intenso Memory 2 Move";
chosen { chosen {
bootargs = "console=ttyS1,57600n8 root=/dev/mtdblock5"; bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
}; };
palmbus@10000000 { palmbus@10000000 {
uart@500 {
status = "okay";
};
spi@b00 { spi@b00 {
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
...@@ -54,7 +50,7 @@ ...@@ -54,7 +50,7 @@
pinctrl { pinctrl {
state_default: pinctrl0 { state_default: pinctrl0 {
gpio { gpio {
ralink,group = "i2c", "jtag", "uartf"; ralink,group = "i2c", "uartf";
ralink,function = "gpio"; ralink,function = "gpio";
}; };
}; };
...@@ -73,21 +69,19 @@ ...@@ -73,21 +69,19 @@
}; };
gpio-keys-polled { gpio-keys-polled {
gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
power { power {
label = "power"; label = "power";
gpios = <&gpio0 1 1>; gpios = <&gpio0 1 1>;
linux,code = <0x116>; linux,code = <0x116>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 10 1>; gpios = <&gpio0 10 1>;
linux,code = <0x198>; linux,code = <0x198>;
};
}; };
}; };
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
define Profile/M2M define Profile/M2M
NAME:=Intenso Memory 2 Move NAME:=Intenso Memory 2 Move
PACKAGES:=\ 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-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
kmod-fs-ext4 kmod-fs-vfat block-mount kmod-fs-ext4 kmod-fs-vfat block-mount
endef endef
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
SUBTARGET:=rt305x SUBTARGET:=rt305x
BOARDNAME:=RT3x5x/RT5350 based boards BOARDNAME:=RT3x5x/RT5350 based boards
ARCH_PACKAGES:=ramips_24kec ARCH_PACKAGES:=ramips_24kec
FEATURES+=usb FEATURES+=usb ramdisk
CPU_TYPE:=24kec CPU_TYPE:=24kec
CPU_SUBTYPE:=dsp CPU_SUBTYPE:=dsp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment