sheevaplug.dts revision 208561
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 SheevaPlug Device Tree Source. 30208561Sraj * 31208561Sraj * $FreeBSD: head/sys/boot/fdt/dts/sheevaplug.dts 208561 2010-05-26 09:50:09Z raj $ 32208561Sraj */ 33208561Sraj 34208561Sraj/dts-v1/; 35208561Sraj 36208561Sraj/ { 37208561Sraj model = "mrvl,SheevaPlug"; 38208561Sraj compatible = "SheevaPlug"; 39208561Sraj #address-cells = <1>; 40208561Sraj #size-cells = <1>; 41208561Sraj 42208561Sraj aliases { 43208561Sraj ethernet0 = &enet0; 44208561Sraj mpp = &MPP; 45208561Sraj serial0 = &serial0; 46208561Sraj serial1 = &serial1; 47208561Sraj soc = &SOC; 48208561Sraj sram = &SRAM; 49208561Sraj }; 50208561Sraj 51208561Sraj cpus { 52208561Sraj #address-cells = <1>; 53208561Sraj #size-cells = <0>; 54208561Sraj 55208561Sraj cpu@0 { 56208561Sraj device_type = "cpu"; 57208561Sraj compatible = "ARM,88FR131"; 58208561Sraj reg = <0x0>; 59208561Sraj d-cache-line-size = <32>; // 32 bytes 60208561Sraj i-cache-line-size = <32>; // 32 bytes 61208561Sraj d-cache-size = <0x4000>; // L1, 16K 62208561Sraj i-cache-size = <0x4000>; // L1, 16K 63208561Sraj timebase-frequency = <0>; 64208561Sraj bus-frequency = <0>; 65208561Sraj clock-frequency = <0>; 66208561Sraj }; 67208561Sraj }; 68208561Sraj 69208561Sraj memory { 70208561Sraj device_type = "memory"; 71208561Sraj reg = <0x0 0x20000000>; // 512M at 0x0 72208561Sraj }; 73208561Sraj 74208561Sraj localbus@f1000000 { 75208561Sraj #address-cells = <2>; 76208561Sraj #size-cells = <1>; 77208561Sraj compatible = "mrvl,lbc"; 78208561Sraj 79208561Sraj /* This reflects CPU decode windows setup. */ 80208561Sraj ranges = <0x0 0x0f 0xf9300000 0x00100000 81208561Sraj 0x1 0x1e 0xfa000000 0x00100000 82208561Sraj 0x2 0x1d 0xfa100000 0x02000000 83208561Sraj 0x3 0x1b 0xfc100000 0x00000400>; 84208561Sraj 85208561Sraj nor@0,0 { 86208561Sraj #address-cells = <1>; 87208561Sraj #size-cells = <1>; 88208561Sraj compatible = "cfi-flash"; 89208561Sraj reg = <0x0 0x0 0x00100000>; 90208561Sraj bank-width = <2>; 91208561Sraj device-width = <1>; 92208561Sraj }; 93208561Sraj 94208561Sraj led@1,0 { 95208561Sraj #address-cells = <1>; 96208561Sraj #size-cells = <1>; 97208561Sraj compatible = "led"; 98208561Sraj reg = <0x1 0x0 0x00100000>; 99208561Sraj }; 100208561Sraj 101208561Sraj nor@2,0 { 102208561Sraj #address-cells = <1>; 103208561Sraj #size-cells = <1>; 104208561Sraj compatible = "cfi-flash"; 105208561Sraj reg = <0x2 0x0 0x02000000>; 106208561Sraj bank-width = <2>; 107208561Sraj device-width = <1>; 108208561Sraj }; 109208561Sraj 110208561Sraj nand@3,0 { 111208561Sraj #address-cells = <1>; 112208561Sraj #size-cells = <1>; 113208561Sraj reg = <0x3 0x0 0x00100000>; 114208561Sraj bank-width = <2>; 115208561Sraj device-width = <1>; 116208561Sraj }; 117208561Sraj }; 118208561Sraj 119208561Sraj SOC: soc88f6281@f1000000 { 120208561Sraj #address-cells = <1>; 121208561Sraj #size-cells = <1>; 122208561Sraj compatible = "simple-bus"; 123208561Sraj ranges = <0x0 0xf1000000 0x00100000>; 124208561Sraj bus-frequency = <0>; 125208561Sraj 126208561Sraj PIC: pic@20200 { 127208561Sraj interrupt-controller; 128208561Sraj #address-cells = <0>; 129208561Sraj #interrupt-cells = <1>; 130208561Sraj reg = <0x20200 0x3c>; 131208561Sraj compatible = "mrvl,pic"; 132208561Sraj }; 133208561Sraj 134208561Sraj timer@20300 { 135208561Sraj compatible = "mrvl,timer"; 136208561Sraj reg = <0x20300 0x30>; 137208561Sraj interrupts = <1>; 138208561Sraj interrupt-parent = <&PIC>; 139208561Sraj mrvl,has-wdt; 140208561Sraj }; 141208561Sraj 142208561Sraj MPP: mpp@10000 { 143208561Sraj #pin-cells = <2>; 144208561Sraj compatible = "mrvl,mpp"; 145208561Sraj reg = <0x10000 0x34>; 146208561Sraj pin-count = <50>; 147208561Sraj pin-map = < 148208561Sraj 0 1 /* MPP[0]: NF_IO[2] */ 149208561Sraj 1 1 /* MPP[1]: NF_IO[3] */ 150208561Sraj 2 1 /* MPP[2]: NF_IO[4] */ 151208561Sraj 3 1 /* MPP[3]: NF_IO[5] */ 152208561Sraj 4 1 /* MPP[4]: NF_IO[6] */ 153208561Sraj 5 1 /* MPP[5]: NF_IO[7] */ 154208561Sraj 6 1 /* MPP[6]: SYSRST_OUTn */ 155208561Sraj 8 2 /* MPP[8]: UA0_RTS */ 156208561Sraj 9 2 /* MPP[9]: UA0_CTS */ 157208561Sraj 10 3 /* MPP[10]: UA0_TXD */ 158208561Sraj 11 3 /* MPP[11]: UA0_RXD */ 159208561Sraj 12 1 /* MPP[12]: SD_CLK */ 160208561Sraj 13 1 /* MPP[13]: SD_CMD */ 161208561Sraj 14 1 /* MPP[14]: SD_D[0] */ 162208561Sraj 15 1 /* MPP[15]: SD_D[1] */ 163208561Sraj 16 1 /* MPP[16]: SD_D[2] */ 164208561Sraj 17 1 /* MPP[17]: SD_D[3] */ 165208561Sraj 18 1 /* MPP[18]: NF_IO[0] */ 166208561Sraj 19 1 /* MPP[19]: NF_IO[1] */ 167208561Sraj 29 1 >; /* MPP[29]: TSMP[9] */ 168208561Sraj }; 169208561Sraj 170208561Sraj GPIO: gpio@10100 { 171208561Sraj #gpio-cells = <3>; 172208561Sraj compatible = "mrvl,gpio"; 173208561Sraj reg = <0x10100 0x20>; 174208561Sraj gpio-controller; 175208561Sraj interrupts = <35 36 37 38 39 40 41>; 176208561Sraj interrupt-parent = <&PIC>; 177208561Sraj }; 178208561Sraj 179208561Sraj rtc@10300 { 180208561Sraj compatible = "mrvl,rtc"; 181208561Sraj reg = <0x10300 0x08>; 182208561Sraj }; 183208561Sraj 184208561Sraj twsi@11000 { 185208561Sraj #address-cells = <1>; 186208561Sraj #size-cells = <0>; 187208561Sraj compatible = "mrvl,twsi"; 188208561Sraj reg = <0x11000 0x20>; 189208561Sraj interrupts = <43>; 190208561Sraj interrupt-parent = <&PIC>; 191208561Sraj }; 192208561Sraj 193208561Sraj enet0: ethernet@72000 { 194208561Sraj #address-cells = <1>; 195208561Sraj #size-cells = <1>; 196208561Sraj model = "V2"; 197208561Sraj compatible = "mrvl,ge"; 198208561Sraj reg = <0x72000 0x2000>; 199208561Sraj ranges = <0x0 0x72000 0x2000>; 200208561Sraj local-mac-address = [ 00 00 00 00 00 00 ]; 201208561Sraj interrupts = <12 13 14 11 46>; 202208561Sraj interrupt-parent = <&PIC>; 203208561Sraj phy-handle = <&phy0>; 204208561Sraj 205208561Sraj mdio@0 { 206208561Sraj #address-cells = <1>; 207208561Sraj #size-cells = <0>; 208208561Sraj compatible = "mrvl,mdio"; 209208561Sraj 210208561Sraj phy0: ethernet-phy@0 { 211208561Sraj reg = <0x0>; 212208561Sraj }; 213208561Sraj }; 214208561Sraj }; 215208561Sraj 216208561Sraj serial0: serial@12000 { 217208561Sraj compatible = "ns16550"; 218208561Sraj reg = <0x12000 0x20>; 219208561Sraj reg-shift = <2>; 220208561Sraj clock-frequency = <0>; 221208561Sraj interrupts = <33>; 222208561Sraj interrupt-parent = <&PIC>; 223208561Sraj }; 224208561Sraj 225208561Sraj serial1: serial@12100 { 226208561Sraj compatible = "ns16550"; 227208561Sraj reg = <0x12100 0x20>; 228208561Sraj reg-shift = <2>; 229208561Sraj clock-frequency = <0>; 230208561Sraj interrupts = <34>; 231208561Sraj interrupt-parent = <&PIC>; 232208561Sraj }; 233208561Sraj 234208561Sraj crypto@30000 { 235208561Sraj compatible = "mrvl,cesa"; 236208561Sraj reg = <0x30000 0x10000>; 237208561Sraj interrupts = <22>; 238208561Sraj interrupt-parent = <&PIC>; 239208561Sraj }; 240208561Sraj 241208561Sraj usb@50000 { 242208561Sraj compatible = "mrvl,usb-ehci", "usb-ehci"; 243208561Sraj reg = <0x50000 0x1000>; 244208561Sraj interrupts = <48 19>; 245208561Sraj interrupt-parent = <&PIC>; 246208561Sraj }; 247208561Sraj 248208561Sraj xor@60000 { 249208561Sraj compatible = "mrvl,xor"; 250208561Sraj reg = <0x60000 0x1000>; 251208561Sraj interrupts = <5 6 7 8>; 252208561Sraj interrupt-parent = <&PIC>; 253208561Sraj }; 254208561Sraj }; 255208561Sraj 256208561Sraj SRAM: sram@fd000000 { 257208561Sraj compatible = "mrvl,cesa-sram"; 258208561Sraj reg = <0xfd000000 0x00100000>; 259208561Sraj }; 260208561Sraj 261208561Sraj chosen { 262208561Sraj stdin = "serial0"; 263208561Sraj stdout = "serial0"; 264208561Sraj }; 265208561Sraj}; 266