199767f8919635c4928607450d9e0abb932109ceToomas Soome/*
199767f8919635c4928607450d9e0abb932109ceToomas Soome * Copyright (c) 2010 The FreeBSD Foundation
199767f8919635c4928607450d9e0abb932109ceToomas Soome * All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * This software was developed by Semihalf under sponsorship from
199767f8919635c4928607450d9e0abb932109ceToomas Soome * the FreeBSD Foundation.
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 * Seagate DockStar (Marvell SheevaPlug based) Device Tree Source.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/dts-v1/;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "seagate,DockStar";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "DockStar";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome aliases {
199767f8919635c4928607450d9e0abb932109ceToomas Soome ethernet0 = &enet0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome mpp = &MPP;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0 = &serial0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial1 = &serial1;
199767f8919635c4928607450d9e0abb932109ceToomas Soome soc = &SOC;
199767f8919635c4928607450d9e0abb932109ceToomas Soome sram = &SRAM;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpus {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome cpu@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "cpu";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ARM,88FR131";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome d-cache-line-size = <32>; // 32 bytes
199767f8919635c4928607450d9e0abb932109ceToomas Soome i-cache-line-size = <32>; // 32 bytes
199767f8919635c4928607450d9e0abb932109ceToomas Soome d-cache-size = <0x4000>; // L1, 16K
199767f8919635c4928607450d9e0abb932109ceToomas Soome i-cache-size = <0x4000>; // L1, 16K
199767f8919635c4928607450d9e0abb932109ceToomas Soome timebase-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bus-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome memory {
199767f8919635c4928607450d9e0abb932109ceToomas Soome device_type = "memory";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x0 0x8000000>; // 128M at 0x0
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome localbus@f1000000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,lbc";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome /* This reflects CPU decode windows setup for NAND access. */
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x0 0x2f 0xf9300000 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome nand@0,0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,nfc";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x0 0x0 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bank-width = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome device-width = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome SOC: soc88f6281@f1000000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "simple-bus";
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x0 0xf1000000 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bus-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome PIC: pic@20200 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #interrupt-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20200 0x3c>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,pic";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome timer@20300 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,timer";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x20300 0x30>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome mrvl,has-wdt;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome MPP: mpp@10000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #pin-cells = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,mpp";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x10000 0x34>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pin-count = <50>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pin-map = <
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0 1 /* MPP[0]: NF_IO[2] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 1 1 /* MPP[1]: NF_IO[3] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 2 1 /* MPP[2]: NF_IO[4] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 3 1 /* MPP[3]: NF_IO[5] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 4 1 /* MPP[4]: NF_IO[6] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 5 1 /* MPP[5]: NF_IO[7] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 6 1 /* MPP[6]: SYSRST_OUTn */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 8 2 /* MPP[8]: UA0_RTS */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 9 2 /* MPP[9]: UA0_CTS */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 10 3 /* MPP[10]: UA0_TXD */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 11 3 /* MPP[11]: UA0_RXD */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 12 1 /* MPP[12]: SD_CLK */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 13 1 /* MPP[13]: SD_CMD */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 14 1 /* MPP[14]: SD_D[0] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 15 1 /* MPP[15]: SD_D[1] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 16 1 /* MPP[16]: SD_D[2] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 17 1 /* MPP[17]: SD_D[3] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 18 1 /* MPP[18]: NF_IO[0] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 19 1 /* MPP[19]: NF_IO[1] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 29 1 >; /* MPP[29]: TSMP[9] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome GPIO: gpio@10100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #gpio-cells = <3>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,gpio";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x10100 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome gpio-controller;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <35 36 37 38 39 40 41>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome rtc@10300 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,rtc";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x10300 0x08>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome twsi@11000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,twsi";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x11000 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <43>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome enet0: ethernet@72000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "V2";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,ge";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x72000 0x2000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x0 0x72000 0x2000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome local-mac-address = [ 00 00 00 00 00 00 ];
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <12 13 14 11 46>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome phy-handle = <&phy0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome mdio@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,mdio";
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome phy0: ethernet-phy@0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0: serial@12000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x12000 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <33>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial1: serial@12100 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "ns16550";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x12100 0x20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg-shift = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome clock-frequency = <0>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <34>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome crypto@30000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,cesa";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x30000 0x10000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <22>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome sram-handle = <&SRAM>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb@50000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,usb-ehci", "usb-ehci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x50000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <48 19>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome xor@60000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,xor";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <5 6 7 8>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome SRAM: sram@fd000000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,cesa-sram";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0xfd000000 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome chosen {
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdin = "serial0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome stdout = "serial0";
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome};