Commit 7ad45878 authored by Vineet Gupta's avatar Vineet Gupta Committed by Jiri Slaby

ARC: [nsimosci] move peripherals to match model to FPGA

commit e8ef060b upstream.

This allows the sdplite/Zebu images to run on OSCI simulation platform
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
Cc: <stable@vger.kernel.org> #3.10, 3.12, 3.14, 3.16
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 644d1071
...@@ -20,7 +20,7 @@ chosen { ...@@ -20,7 +20,7 @@ chosen {
/* this is for console on PGU */ /* this is for console on PGU */
/* bootargs = "console=tty0 consoleblank=0"; */ /* bootargs = "console=tty0 consoleblank=0"; */
/* this is for console on serial */ /* this is for console on serial */
bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug"; bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
}; };
aliases { aliases {
...@@ -46,9 +46,9 @@ intc: interrupt-controller { ...@@ -46,9 +46,9 @@ intc: interrupt-controller {
#interrupt-cells = <1>; #interrupt-cells = <1>;
}; };
uart0: serial@c0000000 { uart0: serial@f0000000 {
compatible = "ns8250"; compatible = "ns8250";
reg = <0xc0000000 0x2000>; reg = <0xf0000000 0x2000>;
interrupts = <11>; interrupts = <11>;
clock-frequency = <3686400>; clock-frequency = <3686400>;
baud = <115200>; baud = <115200>;
...@@ -57,21 +57,21 @@ uart0: serial@c0000000 { ...@@ -57,21 +57,21 @@ uart0: serial@c0000000 {
no-loopback-test = <1>; no-loopback-test = <1>;
}; };
pgu0: pgu@c9000000 { pgu0: pgu@f9000000 {
compatible = "snps,arcpgufb"; compatible = "snps,arcpgufb";
reg = <0xc9000000 0x400>; reg = <0xf9000000 0x400>;
}; };
ps2: ps2@c9001000 { ps2: ps2@f9001000 {
compatible = "snps,arc_ps2"; compatible = "snps,arc_ps2";
reg = <0xc9000400 0x14>; reg = <0xf9000400 0x14>;
interrupts = <13>; interrupts = <13>;
interrupt-names = "arc_ps2_irq"; interrupt-names = "arc_ps2_irq";
}; };
eth0: ethernet@c0003000 { eth0: ethernet@f0003000 {
compatible = "snps,oscilan"; compatible = "snps,oscilan";
reg = <0xc0003000 0x44>; reg = <0xf0003000 0x44>;
interrupts = <7>, <8>; interrupts = <7>, <8>;
interrupt-names = "rx", "tx"; interrupt-names = "rx", "tx";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment