From: Deng Qingfang Date: Tue, 25 Dec 2018 15:03:24 +0000 (+0800) Subject: ramips: fix MT7621 dtsi X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0599cd90e185860bbddd7dea8899f29b82368050;p=openwrt%2Fstaging%2Faparcar.git ramips: fix MT7621 dtsi Fix SysTick reg Add uartlite2 and uartlite3 nodes Signed-off-by: Deng Qingfang --- diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index be4d8eeff9..77841a61d2 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -138,9 +138,9 @@ status = "disabled"; }; - systick: systick@d00 { + systick: systick@500 { compatible = "ralink,mt7621-systick", "ralink,cevt-systick"; - reg = <0xd00 0x10>; + reg = <0x500 0x10>; resets = <&rstctrl 28>; reset-names = "intc"; @@ -178,6 +178,42 @@ no-loopback-test; }; + uartlite2: uartlite2@d00 { + compatible = "ns16550a"; + reg = <0xd00 0x100>; + + clock-frequency = <50000000>; + + interrupt-parent = <&gic>; + interrupts = ; + + reg-shift = <2>; + reg-io-width = <4>; + + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + + status = "disabled"; + }; + + uartlite3: uartlite3@e00 { + compatible = "ns16550a"; + reg = <0xe00 0x100>; + + clock-frequency = <50000000>; + + interrupt-parent = <&gic>; + interrupts = ; + + reg-shift = <2>; + reg-io-width = <4>; + + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pins>; + + status = "disabled"; + }; + spi0: spi@b00 { status = "disabled";