diff options
author | Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> | 2017-09-19 23:59:56 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-09-28 09:20:36 +0200 |
commit | 6a5b62f50354833f0f4ad8ac18f9813902b6d8d3 (patch) | |
tree | c1ef77c3256720985e198822ba84287807a3457f /target/linux/ramips/dts | |
parent | 9d8d3d450120a398248c6892774e57dee7216638 (diff) | |
download | upstream-6a5b62f50354833f0f4ad8ac18f9813902b6d8d3.tar.gz upstream-6a5b62f50354833f0f4ad8ac18f9813902b6d8d3.tar.bz2 upstream-6a5b62f50354833f0f4ad8ac18f9813902b6d8d3.zip |
ramips: RT5350F-OLINUXINO: enable ttyS1
The RT5350F's second UART pins are available on the base module and on
the EVB as well, so enable it in the device tree.
In order to keep the origian serial port numbering (ttyS0 is the serial
console), aliases added for the UART devices.
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi b/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi index 955a13cddd..629dab8934 100644 --- a/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi +++ b/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi @@ -2,8 +2,14 @@ / { compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc"; + + aliases { + serial0 = &uartlite; + serial1 = &uart; + }; }; + &spi0 { status = "okay"; @@ -46,9 +52,13 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "jtag", "rgmii", "mdio", "uartf"; + ralink,group = "jtag", "rgmii", "mdio"; ralink,function = "gpio"; }; + uartf_gpio { + ralink,group = "uartf"; + ralink,function = "gpio uartf"; + }; }; }; @@ -77,3 +87,8 @@ &i2c { status = "okay"; }; + +&uart { + status = "okay"; +}; + |