linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: monstr@monstr.eu
To: linux-kernel@vger.kernel.org
Cc: monstr@seznam.cz, arnd@arndb.de, linux-arch@vger.kernel.org,
	stephen.neuendorffer@xilinx.com, John.Linn@xilinx.com,
	john.williams@petalogix.com, matthew@wil.cx,
	will.newton@gmail.com, drepper@redhat.com,
	microblaze-uclinux@itee.uq.edu.au, grant.likely@secretlab.ca,
	vapier.adi@gmail.com, alan@lxorguk.ukuu.org.uk, hpa@zytor.com,
	lethal@linux-sh.org, florian@openwrt.org,
	Michal Simek <monstr@monstr.eu>
Subject: [PATCH 11/58] microblaze_v5: Generic dts file for platforms
Date: Tue,  8 Jul 2008 13:59:11 +0200	[thread overview]
Message-ID: <dbd9df742cdd9eb3355d7bc8e39f9dfef6c545e4.1215517976.git.monstr@monstr.eu> (raw)
In-Reply-To: <f7458acb0252f72b5620d19c76104408ecc2e451.1215517976.git.monstr@monstr.eu>
In-Reply-To: <80a2e46f2fb93812ab12bf79c703e8e2d6b0faa0.1215517976.git.monstr@monstr.eu>

From: Michal Simek <monstr@monstr.eu>

Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/platform/generic/system.dts |  269 +++++++++++++++++++++++++++
 1 files changed, 269 insertions(+), 0 deletions(-)
 create mode 100644 arch/microblaze/platform/generic/system.dts

diff --git a/arch/microblaze/platform/generic/system.dts b/arch/microblaze/platform/generic/system.dts
new file mode 100644
index 0000000..91b21c7
--- /dev/null
+++ b/arch/microblaze/platform/generic/system.dts
@@ -0,0 +1,269 @@
+/dts-v1/;
+
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	compatible = "xlnx,microblaze";
+	model = "testing";
+	memory: memory@20000000 {
+		device_type = "memory";
+		reg = < 0x20000000 0x2000000 >;
+	} ;
+	chosen {
+		bootargs = "console=ttyUL0,115200";
+	} ;
+	cpus {
+		#address-cells = <1>;
+		#cpus = <1>;
+		#size-cells = <0>;
+		microblaze_0: cpu@0 {
+			clock-frequency = <50000000>;
+			compatible = "xlnx,microblaze-7.00.b";
+			d-cache-baseaddr = <0x20000000>;
+			d-cache-highaddr = <0x21ffffff>;
+			d-cache-line-size = <0x10>;
+			d-cache-size = <0x4000>;
+			device_type = "cpu";
+			i-cache-baseaddr = <0x20000000>;
+			i-cache-highaddr = <0x21ffffff>;
+			i-cache-line-size = <0x10>;
+			i-cache-size = <0x4000>;
+			model = "microblaze,7.00.b";
+			reg = <0>;
+			timebase-frequency = <50000000>;
+			xlnx,addr-tag-bits = <0xb>;
+			xlnx,allow-dcache-wr = <0x1>;
+			xlnx,allow-icache-wr = <0x1>;
+			xlnx,area-optimized = <0x0>;
+			xlnx,cache-byte-size = <0x4000>;
+			xlnx,d-lmb = <0x1>;
+			xlnx,d-opb = <0x0>;
+			xlnx,d-plb = <0x1>;
+			xlnx,data-size = <0x20>;
+			xlnx,dcache-addr-tag = <0xb>;
+			xlnx,dcache-byte-size = <0x4000>;
+			xlnx,dcache-line-len = <0x4>;
+			xlnx,dcache-use-fsl = <0x1>;
+			xlnx,debug-enabled = <0x1>;
+			xlnx,div-zero-exception = <0x1>;
+			xlnx,dopb-bus-exception = <0x0>;
+			xlnx,dynamic-bus-sizing = <0x1>;
+			xlnx,edge-is-positive = <0x1>;
+			xlnx,family = "spartan3e";
+			xlnx,fpu-exception = <0x1>;
+			xlnx,fsl-data-size = <0x20>;
+			xlnx,fsl-exception = <0x0>;
+			xlnx,fsl-links = <0x1>;
+			xlnx,i-lmb = <0x1>;
+			xlnx,i-opb = <0x0>;
+			xlnx,i-plb = <0x1>;
+			xlnx,icache-line-len = <0x4>;
+			xlnx,icache-use-fsl = <0x1>;
+			xlnx,ill-opcode-exception = <0x1>;
+			xlnx,instance = "microblaze_0";
+			xlnx,interconnect = <0x1>;
+			xlnx,interrupt-is-edge = <0x0>;
+			xlnx,iopb-bus-exception = <0x0>;
+			xlnx,mmu-dtlb-size = <0x4>;
+			xlnx,mmu-itlb-size = <0x2>;
+			xlnx,mmu-tlb-access = <0x3>;
+			xlnx,mmu-zones = <0x2>;
+			xlnx,number-of-pc-brk = <0x3>;
+			xlnx,number-of-rd-addr-brk = <0x3>;
+			xlnx,number-of-wr-addr-brk = <0x3>;
+			xlnx,opcode-0x0-illegal = <0x1>;
+			xlnx,pvr = <0x2>;
+			xlnx,pvr-user1 = <0x12>;
+			xlnx,pvr-user2 = <0x12345678>;
+			xlnx,reset-msr = <0x0>;
+			xlnx,sco = <0x0>;
+			xlnx,unaligned-exceptions = <0x1>;
+			xlnx,use-barrel = <0x1>;
+			xlnx,use-dcache = <0x1>;
+			xlnx,use-div = <0x1>;
+			xlnx,use-extended-fsl-instr = <0x0>;
+			xlnx,use-fpu = <0x2>;
+			xlnx,use-hw-mul = <0x2>;
+			xlnx,use-icache = <0x1>;
+			xlnx,use-mmu = <0x3>;
+			xlnx,use-msr-instr = <0x1>;
+			xlnx,use-pcmp-instr = <0x1>;
+		} ;
+	} ;
+	mb_plb: plb@0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "xlnx,plb-v46-1.00.a", "simple-bus";
+		ranges ;
+		gpio_0: gpio@40800000 {
+			compatible = "xlnx,xps-gpio-1.00.a";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 6 0x2 >;
+			reg = < 0x40800000 0x100000 >;
+			xlnx,all-inputs = <0x1>;
+			xlnx,all-inputs-2 = <0x0>;
+			xlnx,dout-default = <0x0>;
+			xlnx,dout-default-2 = <0x0>;
+			xlnx,family = "spartan3e";
+			xlnx,gpio-width = <0x3>;
+			xlnx,interrupt-present = <0x1>;
+			xlnx,is-bidir = <0x0>;
+			xlnx,is-bidir-2 = <0x1>;
+			xlnx,is-dual = <0x0>;
+			xlnx,tri-default = <0xffffffff>;
+			xlnx,tri-default-2 = <0xffffffff>;
+		} ;
+		gpio_1: gpio@40900000 {
+			compatible = "xlnx,xps-gpio-1.00.a";
+			reg = < 0x40900000 0x100000 >;
+			xlnx,all-inputs = <0x0>;
+			xlnx,all-inputs-2 = <0x0>;
+			xlnx,dout-default = <0x0>;
+			xlnx,dout-default-2 = <0x0>;
+			xlnx,family = "spartan3e";
+			xlnx,gpio-width = <0x7>;
+			xlnx,interrupt-present = <0x0>;
+			xlnx,is-bidir = <0x1>;
+			xlnx,is-bidir-2 = <0x1>;
+			xlnx,is-dual = <0x0>;
+			xlnx,tri-default = <0xffffffff>;
+			xlnx,tri-default-2 = <0xffffffff>;
+		} ;
+		gpio_2: gpio@40700000 {
+			compatible = "xlnx,xps-gpio-1.00.a";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 7 0x2 >;
+			reg = < 0x40700000 0x100000 >;
+			xlnx,all-inputs = <0x1>;
+			xlnx,all-inputs-2 = <0x0>;
+			xlnx,dout-default = <0x0>;
+			xlnx,dout-default-2 = <0x0>;
+			xlnx,family = "spartan3e";
+			xlnx,gpio-width = <0x4>;
+			xlnx,interrupt-present = <0x1>;
+			xlnx,is-bidir = <0x0>;
+			xlnx,is-bidir-2 = <0x1>;
+			xlnx,is-dual = <0x0>;
+			xlnx,tri-default = <0xffffffff>;
+			xlnx,tri-default-2 = <0xffffffff>;
+		} ;
+		gpio_3: gpio@40600000 {
+			compatible = "xlnx,xps-gpio-1.00.a";
+			reg = < 0x40600000 0x100000 >;
+			xlnx,all-inputs = <0x0>;
+			xlnx,all-inputs-2 = <0x0>;
+			xlnx,dout-default = <0x0>;
+			xlnx,dout-default-2 = <0x0>;
+			xlnx,family = "spartan3e";
+			xlnx,gpio-width = <0x8>;
+			xlnx,interrupt-present = <0x0>;
+			xlnx,is-bidir = <0x0>;
+			xlnx,is-bidir-2 = <0x1>;
+			xlnx,is-dual = <0x0>;
+			xlnx,tri-default = <0xffffffff>;
+			xlnx,tri-default-2 = <0xffffffff>;
+		} ;
+		emaclite: ethernet@40c00000 {
+			compatible = "xlnx,xps-ethernetlite-1.00.a";
+			device_type = "network";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 2 0x0 >;
+			local-mac-address = [ 02 00 00 00 00 00 ];
+			reg = < 0x40c00000 0x100000 >;
+			xlnx,duplex = <0x1>;
+			xlnx,family = "spartan3e";
+			xlnx,rx-ping-pong = <0x0>;
+			xlnx,tx-ping-pong = <0x0>;
+		} ;
+		uart16550: serial@40200000 {
+			clock-frequency = <50000000>;
+			compatible = "xlnx,xps-uart16550-1.00.a", "ns16550";
+			current-speed = <9600>;
+			device_type = "serial";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 4 0x2 >;
+			reg = < 0x40200000 0x100000 >;
+			reg-offset = <3>;
+			reg-shift = <2>;
+			xlnx,family = "spartan3e";
+			xlnx,has-external-rclk = <0x0>;
+			xlnx,has-external-xin = <0x0>;
+			xlnx,is-a-16550 = <0x1>;
+		} ;
+		uartlite: serial@40100000 {
+			clock-frequency = <50000000>;
+			compatible = "xlnx,xps-uartlite-1.00.a";
+			device_type = "serial";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 3 0x0 >;
+			port-number = <0>;
+			reg = < 0x40100000 0x100000 >;
+			xlnx,baudrate = <0x1c200>;
+			xlnx,data-bits = <0x8>;
+			xlnx,family = "spartan3e";
+			xlnx,odd-parity = <0x0>;
+			xlnx,use-parity = <0x0>;
+		} ;
+		spi: xps-spi@40a00000 {
+			compatible = "xlnx,xps-spi-1.00.a";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 5 0x2 >;
+			reg = < 0x40a00000 0x100000 >;
+			xlnx,family = "spartan3e";
+			xlnx,fifo-exist = <0x1>;
+			xlnx,num-offchip-ss-bits = <0x4>;
+			xlnx,num-ss-bits = <0x4>;
+			xlnx,sck-ratio = <0x20>;
+		} ;
+		mdm: debug@40300000 {
+			compatible = "xlnx,mdm-1.00.a";
+			reg = < 0x40300000 0x100000 >;
+			xlnx,family = "spartan3e";
+			xlnx,interconnect = <0x1>;
+			xlnx,jtag-chain = <0x2>;
+			xlnx,mb-dbg-ports = <0x1>;
+			xlnx,uart-width = <0x8>;
+			xlnx,use-uart = <0x1>;
+			xlnx,write-fsl-ports = <0x1>;
+		} ;
+		mpmc@20000000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "xlnx,mpmc-3.00.a";
+		} ;
+		intc_0: interrupt-controller@40000000 {
+			#interrupt-cells = <2>;
+			compatible = "xlnx,xps-intc-1.00.a";
+			interrupt-controller ;
+			reg = < 0x40000000 0x100000 >;
+			xlnx,kind-of-edge = <0>;
+			xlnx,num-intr-inputs = <0x8>;
+		} ;
+		timer_0: timer@40400000 {
+			compatible = "xlnx,xps-timer-1.00.a";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 0 0x2 >;
+			reg = < 0x40400000 0x100000 >;
+			xlnx,count-width = <0x20>;
+			xlnx,family = "spartan3e";
+			xlnx,gen0-assert = <0x1>;
+			xlnx,gen1-assert = <0x1>;
+			xlnx,one-timer-only = <0x0>;
+			xlnx,trig0-assert = <0x1>;
+			xlnx,trig1-assert = <0x1>;
+		} ;
+		timer_1: timer@40500000 {
+			compatible = "xlnx,xps-timer-1.00.a";
+			interrupt-parent = <&xps_intc_0>;
+			interrupts = < 1 0x2 >;
+			reg = < 0x40500000 0x100000 >;
+			xlnx,count-width = <0x20>;
+			xlnx,family = "spartan3e";
+			xlnx,gen0-assert = <0x1>;
+			xlnx,gen1-assert = <0x1>;
+			xlnx,one-timer-only = <0x1>;
+			xlnx,trig0-assert = <0x1>;
+			xlnx,trig1-assert = <0x1>;
+		} ;
+	} ;
+}  ;
-- 
1.5.4.GIT

  parent reply	other threads:[~2008-07-08 12:09 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 11:59 microblaze_v5: Status message monstr
2008-07-08 11:59 ` [PATCH 01/58] microblaze_v5: Kconfig patches monstr
2008-07-08 11:59   ` [PATCH 02/58] microblaze_v5: Makefiles for Microblaze cpu monstr
2008-07-08 11:59     ` [PATCH 03/58] microblaze_v5: Cpuinfo handling monstr
2008-07-08 11:59       ` [PATCH 04/58] microblaze_v5: Open firmware files1 monstr
2008-07-08 11:59         ` [PATCH 05/58] microblaze_v5: Open firmware files2 monstr
2008-07-08 11:59           ` [PATCH 06/58] microblaze_v5: Open firmware common files monstr
2008-07-08 11:59             ` [PATCH 07/58] microblaze_v5: exception handling monstr
2008-07-08 11:59               ` [PATCH 08/58] microblaze_v5: Signal support monstr
2008-07-08 11:59                 ` [PATCH 09/58] microblaze_v5: Interrupt handling, timer support, supported function monstr
2008-07-08 11:59                   ` [PATCH 10/58] microblaze_v5: cache support monstr
2008-07-08 11:59                     ` monstr
2008-07-08 11:59                     ` monstr [this message]
2008-07-08 11:59                       ` [PATCH 12/58] microblaze_v5: kernel modules support monstr
2008-07-08 11:59                         ` [PATCH 13/58] microblaze_v5: lmb support monstr
2008-07-08 11:59                           ` [PATCH 14/58] microblaze_v5: PVR support, cpuinfo support monstr
2008-07-08 11:59                             ` [PATCH 15/58] microblaze_v5: defconfig file monstr
2008-07-08 11:59                               ` [PATCH 16/58] microblaze_v5: head.S + linker script monstr
2008-07-08 11:59                                 ` [PATCH 17/58] microblaze_v5: supported function for memory - kernel/lib monstr
2008-07-08 11:59                                   ` [PATCH 18/58] microblaze_v5: checksum support monstr
2008-07-08 11:59                                     ` [PATCH 19/58] microblaze_v5: early_printk support monstr
2008-07-08 11:59                                       ` [PATCH 20/58] microblaze_v5: uaccess files monstr
2008-07-08 11:59                                         ` [PATCH 21/58] microblaze_v5: heartbeat file monstr
2008-07-08 11:59                                           ` [PATCH 22/58] microblaze_v5: setup.c - system setting monstr
2008-07-08 11:59                                             ` [PATCH 23/58] microblaze_v5: asm-offsets monstr
2008-07-08 11:59                                               ` [PATCH 24/58] microblaze_v5: process and init task function monstr
2008-07-08 11:59                                                 ` [PATCH 25/58] microblaze_v5: time support monstr
2008-07-08 11:59                                                   ` [PATCH 26/58] microblaze_v5: virtualization monstr
2008-07-08 11:59                                                     ` [PATCH 27/58] microblaze_v5: ptrace support monstr
2008-07-08 11:59                                                       ` [PATCH 28/58] microblaze_v5: traps support monstr
2008-07-08 11:59                                                         ` [PATCH 29/58] microblaze_v5: memory inicialization, MMU, TLB monstr
2008-07-08 11:59                                                           ` [PATCH 30/58] microblaze_v5: page.h, segment.h, unaligned.h monstr
2008-07-08 11:59                                                             ` [PATCH 31/58] microblaze_v5: includes SHM*, msgbuf monstr
2008-07-08 11:59                                                               ` [PATCH 32/58] microblaze_v5: bug headers files monstr
2008-07-08 11:59                                                                 ` [PATCH 33/58] microblaze_v5: definitions of types monstr
2008-07-08 11:59                                                                   ` [PATCH 34/58] microblaze_v5: ioctl support monstr
2008-07-08 11:59                                                                     ` [PATCH 35/58] microblaze_v5: io.h IO operations monstr
2008-07-08 11:59                                                                       ` [PATCH 36/58] microblaze_v5: headers for executables format FLAT, ELF monstr
2008-07-08 11:59                                                                         ` [PATCH 37/58] microblaze_v5: dma support monstr
2008-07-08 11:59                                                                           ` [PATCH 38/58] microblaze_v5: headers for irq monstr
2008-07-08 11:59                                                                             ` [PATCH 39/58] microblaze_v5: atomic.h bitops.h byteorder.h monstr
2008-07-08 11:59                                                                               ` [PATCH 40/58] microblaze_v5: headers pgalloc.h pgtable.h monstr
2008-07-08 11:59                                                                                 ` [PATCH 41/58] microblaze_v5: system.h pvr.h processor.h monstr
2008-07-08 11:59                                                                                   ` [PATCH 42/58] microblaze_v5: clinkage.h linkage.h sections.h kmap_types.h monstr
2008-07-08 11:59                                                                                     ` [PATCH 43/58] microblaze_v5: stats headers monstr
2008-07-08 11:59                                                                                       ` [PATCH 44/58] microblaze_v5: termbits.h termios.h monstr
2008-07-08 11:59                                                                                         ` [PATCH 45/58] microblaze_v5: sigcontext.h siginfo.h monstr
2008-07-08 11:59                                                                                           ` [PATCH 46/58] microblaze_v5: headers simple files - empty or redirect to asm-generic monstr
2008-07-08 11:59                                                                                             ` [PATCH 47/58] microblaze_v5: headers files entry.h current.h mman.h registers.h sembuf.h monstr
2008-07-08 11:59                                                                                               ` [PATCH 48/58] microblaze_v5: device.h param.h topology.h monstr
2008-07-08 11:59                                                                                                 ` [PATCH 49/58] microblaze_v5: pool.h socket.h monstr
2008-07-08 11:59                                                                                                   ` [PATCH 50/58] microblaze_v5: generic files sockios.h ucontext.h monstr
2008-07-08 11:59                                                                                                     ` [PATCH 51/58] microblaze_v5: setup.h string.h thread_info.h monstr
2008-07-08 11:59                                                                                                       ` [PATCH 52/58] microblaze_v5: Kbuild file monstr
2008-07-08 11:59                                                                                                         ` [PATCH 53/58] microblaze_v5: pci headers monstr
2008-07-08 11:59                                                                                                           ` [PATCH 54/58] microblaze_v5: IPC headers monstr
2008-07-08 11:59                                                                                                             ` [PATCH 55/58] microblaze_v5: entry.S monstr
2008-07-08 11:59                                                                                                               ` [PATCH 56/58] microblaze_v5: sys_microblaze.c monstr
2008-07-08 11:59                                                                                                                 ` [PATCH 57/58] microblaze_v5: syscall_table.S and unistd.h monstr
2008-07-08 11:59                                                                                                                   ` [PATCH 58/58] microblaze_v5: Enable drivers for Microblaze monstr
2008-07-08 23:47                                       ` [PATCH 19/58] microblaze_v5: early_printk support John Williams
2008-07-08 19:43 ` microblaze_v5: Status message Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbd9df742cdd9eb3355d7bc8e39f9dfef6c545e4.1215517976.git.monstr@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=John.Linn@xilinx.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arnd@arndb.de \
    --cc=drepper@redhat.com \
    --cc=florian@openwrt.org \
    --cc=grant.likely@secretlab.ca \
    --cc=hpa@zytor.com \
    --cc=john.williams@petalogix.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=monstr@seznam.cz \
    --cc=stephen.neuendorffer@xilinx.com \
    --cc=vapier.adi@gmail.com \
    --cc=will.newton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).