1*2e36db14SWarner Losh/*- 2*2e36db14SWarner Losh * Copyright (c) 2011 The FreeBSD Foundation 3*2e36db14SWarner Losh * Copyright (c) 2012 Andrew Turner 4*2e36db14SWarner Losh * All rights reserved. 5*2e36db14SWarner Losh * 6*2e36db14SWarner Losh * Developed by Damjan Marion <damjan.marion@gmail.com> 7*2e36db14SWarner Losh * 8*2e36db14SWarner Losh * Redistribution and use in source and binary forms, with or without 9*2e36db14SWarner Losh * modification, are permitted provided that the following conditions 10*2e36db14SWarner Losh * are met: 11*2e36db14SWarner Losh * 1. Redistributions of source code must retain the above copyright 12*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer. 13*2e36db14SWarner Losh * 2. Redistributions in binary form must reproduce the above copyright 14*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer in the 15*2e36db14SWarner Losh * documentation and/or other materials provided with the distribution. 16*2e36db14SWarner Losh * 17*2e36db14SWarner Losh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18*2e36db14SWarner Losh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19*2e36db14SWarner Losh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20*2e36db14SWarner Losh * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21*2e36db14SWarner Losh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22*2e36db14SWarner Losh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23*2e36db14SWarner Losh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24*2e36db14SWarner Losh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25*2e36db14SWarner Losh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26*2e36db14SWarner Losh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27*2e36db14SWarner Losh * SUCH DAMAGE. 28*2e36db14SWarner Losh * 29*2e36db14SWarner Losh */ 30*2e36db14SWarner Losh 31*2e36db14SWarner Losh/ { 32*2e36db14SWarner Losh compatible = "compal,paz00", "nvidia,tegra20"; 33*2e36db14SWarner Losh #address-cells = <1>; 34*2e36db14SWarner Losh #size-cells = <1>; 35*2e36db14SWarner Losh interrupt-parent = <&GIC>; 36*2e36db14SWarner Losh 37*2e36db14SWarner Losh SOC: tegra20@0 { 38*2e36db14SWarner Losh #address-cells = <1>; 39*2e36db14SWarner Losh #size-cells = <1>; 40*2e36db14SWarner Losh compatible = "simple-bus"; 41*2e36db14SWarner Losh ranges; 42*2e36db14SWarner Losh bus-frequency = <0>; 43*2e36db14SWarner Losh 44*2e36db14SWarner Losh GIC: interrupt-controller@50041000 { 45*2e36db14SWarner Losh compatible = "arm,gic"; 46*2e36db14SWarner Losh reg = < 0x50041000 0x1000 >, /* Distributor Registers */ 47*2e36db14SWarner Losh < 0x50040100 0x0100 >; /* CPU Interface Registers */ 48*2e36db14SWarner Losh interrupt-controller; 49*2e36db14SWarner Losh #interrupt-cells = <1>; 50*2e36db14SWarner Losh }; 51*2e36db14SWarner Losh 52*2e36db14SWarner Losh mp_tmr@50040200 { 53*2e36db14SWarner Losh compatible = "arm,mpcore-timers"; 54*2e36db14SWarner Losh clock-frequency = < 50040200 >; 55*2e36db14SWarner Losh #address-cells = <1>; 56*2e36db14SWarner Losh #size-cells = <0>; 57*2e36db14SWarner Losh reg = < 0x50040200 0x100 >, /* Global Timer Registers */ 58*2e36db14SWarner Losh < 0x50040600 0x100 >; /* Private Timer Registers */ 59*2e36db14SWarner Losh interrupts = < 27 29 >; 60*2e36db14SWarner Losh interrupt-parent = <&GIC>; 61*2e36db14SWarner Losh }; 62*2e36db14SWarner Losh 63*2e36db14SWarner Losh serial@70006000 { 64*2e36db14SWarner Losh compatible = "ns16550"; 65*2e36db14SWarner Losh reg = <0x70006000 0x40>; 66*2e36db14SWarner Losh reg-shift = <2>; 67*2e36db14SWarner Losh interrupts = < 68 >; 68*2e36db14SWarner Losh interrupt-parent = <&GIC>; 69*2e36db14SWarner Losh clock-frequency = < 215654400 >; 70*2e36db14SWarner Losh }; 71*2e36db14SWarner Losh }; 72*2e36db14SWarner Losh}; 73*2e36db14SWarner Losh 74