199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2012-2013 Robert N. M. Watson
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2013 SRI International
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2013-2014 Bjoern A. Zeeb
199767f8919635c4928607450d9e0abb932109ceToomas Soome * All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * This software was developed by SRI International and the University of
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ("CTSRD"), as part of the DARPA CRASH research programme.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * This software was developed by SRI International and the University of
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-11-C-0249)
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ("MRC2"), as part of the DARPA MRC research programme.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Redistribution and use in source and binary forms, with or without
199767f8919635c4928607450d9e0abb932109ceToomas Soome * modification, are permitted provided that the following conditions
199767f8919635c4928607450d9e0abb932109ceToomas Soome * 1. Redistributions of source code must retain the above copyright
199767f8919635c4928607450d9e0abb932109ceToomas Soome * notice, this list of conditions and the following disclaimer.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * 2. Redistributions in binary form must reproduce the above copyright
199767f8919635c4928607450d9e0abb932109ceToomas Soome * notice, this list of conditions and the following disclaimer in the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * documentation and/or other materials provided with the distribution.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
199767f8919635c4928607450d9e0abb932109ceToomas Soome * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
199767f8919635c4928607450d9e0abb932109ceToomas Soome * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
199767f8919635c4928607450d9e0abb932109ceToomas Soome * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
199767f8919635c4928607450d9e0abb932109ceToomas Soome * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
199767f8919635c4928607450d9e0abb932109ceToomas Soome * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
199767f8919635c4928607450d9e0abb932109ceToomas Soome * SUCH DAMAGE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Device names here have been largely made up on the spot, especially for the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * "compatible" strings, and might want to be revised.
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Secondary CPUs all start disabled and use the
199767f8919635c4928607450d9e0abb932109ceToomas Soome * spin-table enable method. cpu-release-addr must be
199767f8919635c4928607450d9e0abb932109ceToomas Soome * specified for each cpu other than cpu@0. Values of
199767f8919635c4928607450d9e0abb932109ceToomas Soome * cpu-release-addr grow down from 0x100000 (kernel).
199767f8919635c4928607450d9e0abb932109ceToomas Soome device-type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "sri-cambridge,beri";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <1 1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome // XXX: should we need cached prefix?
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu-release-addr = <0xffffffff 0x800fffe0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Declare mips,mips4k since BERI doesn't (yet) have a PIC, so
199767f8919635c4928607450d9e0abb932109ceToomas Soome * we use mips4k coprocessor 0 interrupt management directly.
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&beripic>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0: serial@7f002100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x7f002100 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <100000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&beripic>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome // LOOP, TX, RX, INTR