1208561Sraj/* 2208561Sraj * Copyright (c) 2010 The FreeBSD Foundation 3208561Sraj * All rights reserved. 4208561Sraj * 5208561Sraj * This software was developed by Semihalf under sponsorship from 6208561Sraj * the FreeBSD Foundation. 7208561Sraj * 8208561Sraj * Redistribution and use in source and binary forms, with or without 9208561Sraj * modification, are permitted provided that the following conditions 10208561Sraj * are met: 11208561Sraj * 1. Redistributions of source code must retain the above copyright 12208561Sraj * notice, this list of conditions and the following disclaimer. 13208561Sraj * 2. Redistributions in binary form must reproduce the above copyright 14208561Sraj * notice, this list of conditions and the following disclaimer in the 15208561Sraj * documentation and/or other materials provided with the distribution. 16208561Sraj * 17208561Sraj * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18208561Sraj * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19208561Sraj * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20208561Sraj * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21208561Sraj * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22208561Sraj * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23208561Sraj * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24208561Sraj * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25208561Sraj * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26208561Sraj * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27208561Sraj * SUCH DAMAGE. 28208561Sraj * 29208561Sraj * Marvell DB-88F5281 Device Tree Source. 30208561Sraj * 31208561Sraj * $FreeBSD: releng/10.2/sys/boot/fdt/dts/arm/db88f5281.dts 262614 2014-02-28 18:29:09Z imp $ 32208561Sraj */ 33208561Sraj 34208561Sraj/dts-v1/; 35208561Sraj 36208561Sraj/ { 37208561Sraj model = "mrvl,DB-88F5281"; 38208561Sraj compatible = "DB-88F5281-BP", "DB-88F5281-BP-A"; 39208561Sraj #address-cells = <1>; 40208561Sraj #size-cells = <1>; 41208561Sraj 42208561Sraj aliases { 43208561Sraj ethernet0 = &enet0; 44208561Sraj serial0 = &serial0; 45208561Sraj serial1 = &serial1; 46208561Sraj mpp = &MPP; 47208561Sraj }; 48208561Sraj 49208561Sraj cpus { 50208561Sraj #address-cells = <1>; 51208561Sraj #size-cells = <0>; 52208561Sraj 53208561Sraj cpu@0 { 54208561Sraj device_type = "cpu"; 55208561Sraj compatible = "ARM,88FR531"; 56208561Sraj reg = <0x0>; 57208561Sraj d-cache-line-size = <32>; // 32 bytes 58208561Sraj i-cache-line-size = <32>; // 32 bytes 59208561Sraj d-cache-size = <0x8000>; // L1, 32K 60208561Sraj i-cache-size = <0x8000>; // L1, 32K 61208561Sraj timebase-frequency = <0>; 62208561Sraj bus-frequency = <0>; 63208561Sraj clock-frequency = <0>; 64208561Sraj }; 65208561Sraj }; 66208561Sraj 67208561Sraj memory { 68208561Sraj device_type = "memory"; 69208561Sraj reg = <0x0 0x08000000>; // 128M at 0x0 70208561Sraj }; 71208561Sraj 72208561Sraj localbus@f1000000 { 73208561Sraj #address-cells = <2>; 74208561Sraj #size-cells = <1>; 75208561Sraj compatible = "mrvl,lbc"; 76208561Sraj 77208561Sraj /* This reflects CPU decode windows setup. */ 78208561Sraj ranges = <0x0 0x0f 0xf9300000 0x00100000 79208561Sraj 0x1 0x1e 0xfa000000 0x00100000 80208561Sraj 0x2 0x1d 0xfa100000 0x02000000>; 81208561Sraj 82208561Sraj nor@0,0 { 83208561Sraj #address-cells = <1>; 84208561Sraj #size-cells = <1>; 85208561Sraj compatible = "cfi-flash"; 86208561Sraj reg = <0x0 0x0 0x00100000>; 87208561Sraj bank-width = <2>; 88208561Sraj device-width = <1>; 89208561Sraj }; 90208561Sraj 91208561Sraj led@1,0 { 92208561Sraj #address-cells = <1>; 93208561Sraj #size-cells = <1>; 94208561Sraj compatible = "led"; 95208561Sraj reg = <0x1 0x0 0x00100000>; 96208561Sraj }; 97208561Sraj 98208561Sraj nor@2,0 { 99208561Sraj #address-cells = <1>; 100208561Sraj #size-cells = <1>; 101208561Sraj compatible = "cfi-flash"; 102208561Sraj reg = <0x2 0x0 0x02000000>; 103208561Sraj bank-width = <2>; 104208561Sraj device-width = <1>; 105208561Sraj }; 106208561Sraj }; 107208561Sraj 108208561Sraj soc88f5281@f1000000 { 109208561Sraj #address-cells = <1>; 110208561Sraj #size-cells = <1>; 111208561Sraj compatible = "simple-bus"; 112208561Sraj ranges = <0x0 0xf1000000 0x00100000>; 113208561Sraj bus-frequency = <0>; 114208561Sraj 115208561Sraj PIC: pic@20200 { 116208561Sraj interrupt-controller; 117208561Sraj #address-cells = <0>; 118208561Sraj #interrupt-cells = <1>; 119208561Sraj reg = <0x20200 0x3c>; 120208561Sraj compatible = "mrvl,pic"; 121208561Sraj }; 122208561Sraj 123208561Sraj timer@20300 { 124208561Sraj compatible = "mrvl,timer"; 125208561Sraj reg = <0x20300 0x30>; 126208561Sraj interrupts = <0>; 127208561Sraj interrupt-parent = <&PIC>; 128208561Sraj mrvl,has-wdt; 129208561Sraj }; 130208561Sraj 131208561Sraj MPP: mpp@10000 { 132208561Sraj #pin-cells = <2>; 133208561Sraj compatible = "mrvl,mpp"; 134208561Sraj reg = <0x10000 0x54>; 135208561Sraj pin-count = <20>; 136208561Sraj pin-map = < 137208561Sraj 0 3 /* MPP[0]: GPIO[0] */ 138208561Sraj 2 2 /* MPP[2]: PCI_REQn[3] */ 139208561Sraj 3 2 /* MPP[3]: PCI_GNTn[3] */ 140208561Sraj 4 2 /* MPP[4]: PCI_REQn[4] */ 141208561Sraj 5 2 /* MPP[5]: PCI_GNTn[4] */ 142208561Sraj 6 3 /* MPP[6]: <UNKNOWN> */ 143208561Sraj 7 3 /* MPP[7]: <UNKNOWN> */ 144208561Sraj 8 3 /* MPP[8]: <UNKNOWN> */ 145208561Sraj 9 3 /* MPP[9]: <UNKNOWN> */ 146208561Sraj 14 4 /* MPP[14]: NAND Flash REn[2] */ 147208561Sraj 15 4 /* MPP[15]: NAND Flash WEn[2] */ 148208561Sraj 16 0 /* MPP[16]: UA1_RXD */ 149208561Sraj 17 0 /* MPP[17]: UA1_TXD */ 150208561Sraj 18 0 /* MPP[18]: UA1_CTS */ 151208561Sraj 19 0 >; /* MPP[19]: UA1_RTS */ 152208561Sraj }; 153208561Sraj 154208561Sraj GPIO: gpio@10100 { 155208561Sraj #gpio-cells = <3>; 156208561Sraj compatible = "mrvl,gpio"; 157208561Sraj reg = <0x10100 0x20>; 158208561Sraj gpio-controller; 159208561Sraj interrupts = <6 7 8 9>; 160208561Sraj interrupt-parent = <&PIC>; 161208561Sraj }; 162208561Sraj 163208561Sraj twsi@11000 { 164208561Sraj #address-cells = <1>; 165208561Sraj #size-cells = <0>; 166208561Sraj compatible = "mrvl,twsi"; 167208561Sraj reg = <0x11000 0x20>; 168208561Sraj interrupts = <43>; 169208561Sraj interrupt-parent = <&PIC>; 170208561Sraj }; 171208561Sraj 172208561Sraj enet0: ethernet@72000 { 173208561Sraj #address-cells = <1>; 174208561Sraj #size-cells = <1>; 175208561Sraj model = "V1"; 176208561Sraj compatible = "mrvl,ge"; 177208561Sraj reg = <0x72000 0x2000>; 178208561Sraj ranges = <0x0 0x72000 0x2000>; 179208561Sraj local-mac-address = [ 00 00 00 00 00 00 ]; 180208561Sraj interrupts = <18 19 20 21 22>; 181208561Sraj interrupt-parent = <&PIC>; 182208561Sraj phy-handle = <&phy0>; 183208561Sraj 184208561Sraj mdio@0 { 185208561Sraj #address-cells = <1>; 186208561Sraj #size-cells = <0>; 187208561Sraj compatible = "mrvl,mdio"; 188208561Sraj 189208561Sraj phy0: ethernet-phy@0 { 190208561Sraj reg = <0x8>; 191208561Sraj }; 192208561Sraj }; 193208561Sraj }; 194208561Sraj 195208561Sraj serial0: serial@12000 { 196208561Sraj compatible = "ns16550"; 197208561Sraj reg = <0x12000 0x20>; 198208561Sraj reg-shift = <2>; 199208561Sraj clock-frequency = <0>; 200208561Sraj interrupts = <3>; 201208561Sraj interrupt-parent = <&PIC>; 202208561Sraj }; 203208561Sraj 204208561Sraj serial1: serial@12100 { 205208561Sraj compatible = "ns16550"; 206208561Sraj reg = <0x12100 0x20>; 207208561Sraj reg-shift = <2>; 208208561Sraj clock-frequency = <0>; 209208561Sraj interrupts = <4>; 210208561Sraj interrupt-parent = <&PIC>; 211208561Sraj }; 212208561Sraj 213208561Sraj usb@50000 { 214208561Sraj compatible = "mrvl,usb-ehci", "usb-ehci"; 215208561Sraj reg = <0x50000 0x1000>; 216208561Sraj interrupts = <17 16>; 217208561Sraj interrupt-parent = <&PIC>; 218208561Sraj }; 219208561Sraj 220208561Sraj idma@60000 { 221208561Sraj compatible = "mrvl,idma"; 222208561Sraj reg = <0x60000 0x1000>; 223208561Sraj interrupts = <24 25 26 27 23>; 224208561Sraj interrupt-parent = <&PIC>; 225208561Sraj }; 226208561Sraj }; 227208561Sraj}; 228