ramips: fix MT7621 dtsi
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Tue, 25 Dec 2018 15:03:24 +0000 (23:03 +0800)
committerMathias Kresin <dev@kresin.me>
Sat, 29 Dec 2018 15:03:30 +0000 (16:03 +0100)
Fix SysTick reg
Add uartlite2 and uartlite3 nodes

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
target/linux/ramips/dts/mt7621.dtsi

index be4d8ee..77841a6 100644 (file)
                        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";
                        no-loopback-test;
                };
 
+               uartlite2: uartlite2@d00 {
+                       compatible = "ns16550a";
+                       reg = <0xd00 0x100>;
+
+                       clock-frequency = <50000000>;
+
+                       interrupt-parent = <&gic>;
+                       interrupts = <GIC_SHARED 27 IRQ_TYPE_LEVEL_HIGH>;
+
+                       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 = <GIC_SHARED 28 IRQ_TYPE_LEVEL_HIGH>;
+
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart3_pins>;
+
+                       status = "disabled";
+               };
+
                spi0: spi@b00 {
                        status = "disabled";