199767f8919635c4928607450d9e0abb932109ceToomas Soome/*-
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2011 The FreeBSD Foundation
199767f8919635c4928607450d9e0abb932109ceToomas Soome * All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Developed by Damjan Marion <damjan.marion@gmail.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
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 * are met:
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 *
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 *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/dts-v1/;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "CompuLab TrimSlice";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "compulab,trimslice", "nvidia,tegra20";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome aliases {
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0 = &serial0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome soc = &SOC;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome memory {
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "memory";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = < 0x00000000 0x40000000 >; /* 1GB RAM at 0x0 */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome SOC: tegra20@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bus-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome GIC: interrupt-controller@50041000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,gic";
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = < 0x50041000 0x1000 >, /* Distributor Registers */
199767f8919635c4928607450d9e0abb932109ceToomas Soome < 0x50040100 0x0100 >; /* CPU Interface Registers */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome mp_tmr@50040200 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "arm,mpcore-timers";
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = < 50040200 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = < 0x50040200 0x100 >, /* Global Timer Registers */
199767f8919635c4928607450d9e0abb932109ceToomas Soome < 0x50040600 0x100 >; /* Private Timer Registers */
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 27 29 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = < &GIC >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome tmr1@60005000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "nvidia,tegra2-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60005000 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 32 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome tmr2@60005008 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "nvidia,tegra2-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60005008 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 33 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome tmrus@60005010 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "nvidia,tegra2-timestamp";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60005010 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome tmr3@60005050 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "nvidia,tegra2-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60005050 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 73 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome tmr4@60005058 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "nvidia,tegra2-timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60005058 0x8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 74 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0: serial@70006000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x70006000 0x40>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 68 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = < 215654400 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial1: serial@70006040 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x70006040 0x40>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 69 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = < 215654400 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial2: serial@70006200 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x70006200 0x100>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = < 78 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&GIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = < 215654400 >;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome chosen {
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdin = "serial0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdout = "serial0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome};