diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-24 09:12:21 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-24 09:12:21 +0000 |
commit | e379071788f8be5b2ac9ca1b4399753899bd018f (patch) | |
tree | dabcc812a5e621937e471b74977839f23a3a5450 /target/linux/ramips/dts | |
parent | 3735516838d6b2d4cad8fbce3818b7681b212b5a (diff) | |
download | master-187ad058-e379071788f8be5b2ac9ca1b4399753899bd018f.tar.gz master-187ad058-e379071788f8be5b2ac9ca1b4399753899bd018f.tar.bz2 master-187ad058-e379071788f8be5b2ac9ca1b4399753899bd018f.zip |
ramips: add additional uarts to mt7628.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46477 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 65 |
1 files changed, 63 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index 8d799af3c3..754e04fcd5 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -135,6 +135,46 @@ pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; }; + + uart1@d00 { + compatible = "ns16550a"; + reg = <0xd00 0x100>; + + reg-shift = <2>; + reg-io-width = <4>; + no-loopback-test; + + resets = <&rstctrl 19>; + reset-names = "uart1"; + + interrupt-parent = <&intc>; + interrupts = <21>; + + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; + + status = "disabled"; + }; + + uart2@e00 { + compatible = "ns16550a"; + reg = <0xe00 0x100>; + + reg-shift = <2>; + reg-io-width = <4>; + no-loopback-test; + + resets = <&rstctrl 20>; + reset-names = "uart2"; + + interrupt-parent = <&intc>; + interrupts = <22>; + + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + + status = "disabled"; + }; }; pinctrl { @@ -150,9 +190,27 @@ }; }; uart0_pins: uartlite { - uart { + uartlite { ralink,group = "uart0"; - ralink,function = "uart"; + ralink,function = "uart0"; + }; + }; + uart1_pins: uart1 { + uart1 { + ralink,group = "uart1"; + ralink,function = "uart1"; + }; + }; + uart2_pins: uart2 { + uart2 { + ralink,group = "uart2"; + ralink,function = "uart2"; + }; + }; + sdxc_pins: sdxc { + sdxc { + ralink,group = "sdmode"; + ralink,function = "sdxc"; }; }; }; @@ -177,6 +235,9 @@ interrupt-parent = <&intc>; interrupts = <14>; + pinctrl-names = "default"; + pinctrl-0 = <&sdxc_pins>; + status = "disabled"; }; |