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 * Marvell DB-88F5281 Device Tree Source.
199767f8919635c4928607450d9e0abb932109ceToomas Soome *
199767f8919635c4928607450d9e0abb932109ceToomas Soome * $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome */
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/dts-v1/;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome/ {
199767f8919635c4928607450d9e0abb932109ceToomas Soome model = "mrvl,DB-88F5281";
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "DB-88F5281-BP", "DB-88F5281-BP-A";
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome aliases {
199767f8919635c4928607450d9e0abb932109ceToomas Soome ethernet0 = &enet0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial0 = &serial0;
199767f8919635c4928607450d9e0abb932109ceToomas Soome serial1 = &serial1;
199767f8919635c4928607450d9e0abb932109ceToomas Soome mpp = &MPP;
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,88FR531";
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 = <0x8000>; // L1, 32K
199767f8919635c4928607450d9e0abb932109ceToomas Soome i-cache-size = <0x8000>; // L1, 32K
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 0x08000000>; // 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. */
199767f8919635c4928607450d9e0abb932109ceToomas Soome ranges = <0x0 0x0f 0xf9300000 0x00100000
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x1 0x1e 0xfa000000 0x00100000
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0x2 0x1d 0xfa100000 0x02000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome nor@0,0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "cfi-flash";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x0 0x0 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bank-width = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome device-width = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome led@1,0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "led";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x1 0x0 0x00100000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome nor@2,0 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome #address-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome #size-cells = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "cfi-flash";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x2 0x0 0x02000000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome bank-width = <2>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome device-width = <1>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome soc88f5281@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 = <0>;
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 0x54>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pin-count = <20>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome pin-map = <
199767f8919635c4928607450d9e0abb932109ceToomas Soome 0 3 /* MPP[0]: GPIO[0] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 2 2 /* MPP[2]: PCI_REQn[3] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 3 2 /* MPP[3]: PCI_GNTn[3] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 4 2 /* MPP[4]: PCI_REQn[4] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 5 2 /* MPP[5]: PCI_GNTn[4] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 6 3 /* MPP[6]: <UNKNOWN> */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 7 3 /* MPP[7]: <UNKNOWN> */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 8 3 /* MPP[8]: <UNKNOWN> */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 9 3 /* MPP[9]: <UNKNOWN> */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 14 4 /* MPP[14]: NAND Flash REn[2] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 15 4 /* MPP[15]: NAND Flash WEn[2] */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 16 0 /* MPP[16]: UA1_RXD */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 17 0 /* MPP[17]: UA1_TXD */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 18 0 /* MPP[18]: UA1_CTS */
199767f8919635c4928607450d9e0abb932109ceToomas Soome 19 0 >; /* MPP[19]: UA1_RTS */
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 = <6 7 8 9>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
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 = "V1";
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 = <18 19 20 21 22>;
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 = <0x8>;
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 = <3>;
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 = <4>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome usb@50000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,usb-ehci", "usb-ehci";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x50000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <17 16>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome idma@60000 {
199767f8919635c4928607450d9e0abb932109ceToomas Soome compatible = "mrvl,idma";
199767f8919635c4928607450d9e0abb932109ceToomas Soome reg = <0x60000 0x1000>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupts = <24 25 26 27 23>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome interrupt-parent = <&PIC>;
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome };
199767f8919635c4928607450d9e0abb932109ceToomas Soome};