diff options
author | John Crispin <john@openwrt.org> | 2015-01-22 09:35:12 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-22 09:35:12 +0000 |
commit | deb66a555e8856d253a5feb6620ae4d50f404e69 (patch) | |
tree | eb6efc148ec701d85c816c92ea98510cabdc8480 /target/linux/ramips/dts/M2M.dts | |
parent | ac5ede7116143af70b03be4624b26081574054d8 (diff) | |
download | upstream-deb66a555e8856d253a5feb6620ae4d50f404e69.tar.gz upstream-deb66a555e8856d253a5feb6620ae4d50f404e69.tar.bz2 upstream-deb66a555e8856d253a5feb6620ae4d50f404e69.zip |
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
Diffstat (limited to 'target/linux/ramips/dts/M2M.dts')
-rw-r--r-- | target/linux/ramips/dts/M2M.dts | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/target/linux/ramips/dts/M2M.dts b/target/linux/ramips/dts/M2M.dts index aa98991ae1..41910374c9 100644 --- a/target/linux/ramips/dts/M2M.dts +++ b/target/linux/ramips/dts/M2M.dts @@ -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"; }; }; @@ -73,21 +69,19 @@ }; gpio-keys-polled { - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; - power { - label = "power"; - gpios = <&gpio0 1 1>; - linux,code = <0x116>; - }; - reset { - label = "reset"; - gpios = <&gpio0 10 1>; - linux,code = <0x198>; - }; + power { + label = "power"; + gpios = <&gpio0 1 1>; + linux,code = <0x116>; + }; + reset { + label = "reset"; + gpios = <&gpio0 10 1>; + linux,code = <0x198>; }; }; |