summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2017-07-22 11:15:55 +0200
committerMathias Kresin <dev@kresin.me>2017-07-25 21:02:53 +0200
commitc51c976db8591b60defad728de383193e4b808ee (patch)
treed41f37cfe03db811ad24dd509234c72662be2452
parentf683385e73f09c13fd08c3d352f3f1739c1944c4 (diff)
downloadmtk-20170518-c51c976db8591b60defad728de383193e4b808ee.zip
mtk-20170518-c51c976db8591b60defad728de383193e4b808ee.tar.gz
mtk-20170518-c51c976db8591b60defad728de383193e4b808ee.tar.bz2
ramips: DTS: VoCore2 improvements/fixes
The VoCore2 features 128MB of RAM, therefore set memory in DTS to 128*1024*1024 = 0x8000000 The board's LED is connected to GND, set it to ACTIVE_HIGH here. Make serial console working again on kernel 4.9 by change of pinmux configuration. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
-rw-r--r--target/linux/ramips/dts/VOCORE2.dts25
1 files changed, 3 insertions, 22 deletions
diff --git a/target/linux/ramips/dts/VOCORE2.dts b/target/linux/ramips/dts/VOCORE2.dts
index 297cd1b..9173951 100644
--- a/target/linux/ramips/dts/VOCORE2.dts
+++ b/target/linux/ramips/dts/VOCORE2.dts
@@ -15,7 +15,7 @@
memory@0 {
device_type = "memory";
- reg = <0x0 0x4000000>;
+ reg = <0x0 0x8000000>;
};
gpio-leds {
@@ -23,7 +23,7 @@
status {
label = "vocore2:fuchsia:status";
- gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
};
};
};
@@ -31,28 +31,9 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "refclk", "gpio";
+ ralink,group = "wled_an", "perst", "wdt";
ralink,function = "gpio";
};
-
- agpio {
- ralink,group = "agpio";
- ralink,function = "uart2";
- };
- };
-
- uart1_pins: uart1 {
- uart1 {
- ralink,group = "uart1";
- ralink,function = "uart1";
- };
- };
-
- uart2_pins: uart2 {
- uart2 {
- ralink,group = "spis";
- ralink,function = "pwm";
- };
};
};