Skip to content
Permalink
Browse files

ramips: fix MT7621 dtsi

Fix SysTick reg
Add uartlite2 and uartlite3 nodes

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
  • Loading branch information...
dengqf6 authored and mkresin committed Dec 25, 2018
1 parent 9f0e233 commit 0599cd90e185860bbddd7dea8899f29b82368050
Showing with 38 additions and 2 deletions.
  1. +38 −2 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 = <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";

0 comments on commit 0599cd9

Please sign in to comment.
You can’t perform that action at this time.