From 0599cd90e185860bbddd7dea8899f29b82368050 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Tue, 25 Dec 2018 23:03:24 +0800 Subject: [PATCH] ramips: fix MT7621 dtsi Fix SysTick reg Add uartlite2 and uartlite3 nodes Signed-off-by: Deng Qingfang --- target/linux/ramips/dts/mt7621.dtsi | 40 +++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) 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"; -- 2.25.1