Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for Marvell Armada XP development board |
| 3 | * (DB-MV784MP-GP) |
| 4 | * |
| 5 | * Copyright (C) 2013 Marvell |
| 6 | * |
| 7 | * Lior Amsalem <alior@marvell.com> |
| 8 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 9 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 10 | * |
| 11 | * This file is licensed under the terms of the GNU General Public |
| 12 | * License version 2. This program is licensed "as is" without any |
| 13 | * warranty of any kind, whether express or implied. |
| 14 | */ |
| 15 | |
| 16 | /dts-v1/; |
Ezequiel Garcia | 3814988 | 2013-07-26 10:17:56 -0300 | [diff] [blame] | 17 | #include "armada-xp-mv78460.dtsi" |
Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "Marvell Armada XP Development Board DB-MV784MP-GP"; |
| 21 | compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; |
| 22 | |
| 23 | chosen { |
| 24 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 25 | }; |
| 26 | |
| 27 | memory { |
| 28 | device_type = "memory"; |
Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 29 | /* |
Gregory CLEMENT | 7489836 | 2013-04-12 16:29:10 +0200 | [diff] [blame] | 30 | * 8 GB of plug-in RAM modules by default.The amount |
| 31 | * of memory available can be changed by the |
| 32 | * bootloader according the size of the module |
| 33 | * actually plugged. Only 7GB are usable because |
| 34 | * addresses from 0xC0000000 to 0xffffffff are used by |
| 35 | * the internal registers of the SoC. |
Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 36 | */ |
Gregory CLEMENT | 7489836 | 2013-04-12 16:29:10 +0200 | [diff] [blame] | 37 | reg = <0x00000000 0x00000000 0x00000000 0xC0000000>, |
| 38 | <0x00000001 0x00000000 0x00000001 0x00000000>; |
Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | soc { |
Ezequiel Garcia | 0cd3754 | 2013-07-26 10:17:58 -0300 | [diff] [blame] | 42 | ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000 |
Ezequiel Garcia | de1af8d | 2013-07-26 10:17:59 -0300 | [diff] [blame] | 43 | MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 |
| 44 | MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>; |
| 45 | |
| 46 | devbus-bootcs { |
| 47 | status = "okay"; |
| 48 | |
| 49 | /* Device Bus parameters are required */ |
| 50 | |
| 51 | /* Read parameters */ |
| 52 | devbus,bus-width = <8>; |
| 53 | devbus,turn-off-ps = <60000>; |
| 54 | devbus,badr-skew-ps = <0>; |
| 55 | devbus,acc-first-ps = <124000>; |
| 56 | devbus,acc-next-ps = <248000>; |
| 57 | devbus,rd-setup-ps = <0>; |
| 58 | devbus,rd-hold-ps = <0>; |
| 59 | |
| 60 | /* Write parameters */ |
| 61 | devbus,sync-enable = <0>; |
| 62 | devbus,wr-high-ps = <60000>; |
| 63 | devbus,wr-low-ps = <60000>; |
| 64 | devbus,ale-wr-ps = <60000>; |
| 65 | |
| 66 | /* NOR 16 MiB */ |
| 67 | nor@0 { |
| 68 | compatible = "cfi-flash"; |
| 69 | reg = <0 0x1000000>; |
| 70 | bank-width = <2>; |
| 71 | }; |
| 72 | }; |
Ezequiel Garcia | c6c003a | 2013-05-17 08:09:57 -0300 | [diff] [blame] | 73 | |
Ezequiel Garcia | 14fd8ed | 2013-07-26 10:18:00 -0300 | [diff] [blame] | 74 | pcie-controller { |
| 75 | status = "okay"; |
| 76 | |
| 77 | /* |
| 78 | * The 3 slots are physically present as |
| 79 | * standard PCIe slots on the board. |
| 80 | */ |
| 81 | pcie@1,0 { |
| 82 | /* Port 0, Lane 0 */ |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | pcie@9,0 { |
| 86 | /* Port 2, Lane 0 */ |
| 87 | status = "okay"; |
| 88 | }; |
| 89 | pcie@10,0 { |
| 90 | /* Port 3, Lane 0 */ |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | }; |
| 94 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 95 | internal-regs { |
| 96 | serial@12000 { |
| 97 | clock-frequency = <250000000>; |
Thomas Petazzoni | 513a791 | 2013-04-09 23:06:39 +0200 | [diff] [blame] | 98 | status = "okay"; |
| 99 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 100 | serial@12100 { |
| 101 | clock-frequency = <250000000>; |
Thomas Petazzoni | 513a791 | 2013-04-09 23:06:39 +0200 | [diff] [blame] | 102 | status = "okay"; |
| 103 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 104 | serial@12200 { |
| 105 | clock-frequency = <250000000>; |
Thomas Petazzoni | 513a791 | 2013-04-09 23:06:39 +0200 | [diff] [blame] | 106 | status = "okay"; |
| 107 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 108 | serial@12300 { |
| 109 | clock-frequency = <250000000>; |
| 110 | status = "okay"; |
| 111 | }; |
| 112 | |
| 113 | sata@a0000 { |
| 114 | nr-ports = <2>; |
| 115 | status = "okay"; |
| 116 | }; |
| 117 | |
| 118 | mdio { |
| 119 | phy0: ethernet-phy@0 { |
| 120 | reg = <16>; |
| 121 | }; |
| 122 | |
| 123 | phy1: ethernet-phy@1 { |
| 124 | reg = <17>; |
| 125 | }; |
| 126 | |
| 127 | phy2: ethernet-phy@2 { |
| 128 | reg = <18>; |
| 129 | }; |
| 130 | |
| 131 | phy3: ethernet-phy@3 { |
| 132 | reg = <19>; |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | ethernet@70000 { |
| 137 | status = "okay"; |
| 138 | phy = <&phy0>; |
| 139 | phy-mode = "rgmii-id"; |
| 140 | }; |
| 141 | ethernet@74000 { |
| 142 | status = "okay"; |
| 143 | phy = <&phy1>; |
| 144 | phy-mode = "rgmii-id"; |
| 145 | }; |
| 146 | ethernet@30000 { |
| 147 | status = "okay"; |
| 148 | phy = <&phy2>; |
| 149 | phy-mode = "rgmii-id"; |
| 150 | }; |
| 151 | ethernet@34000 { |
| 152 | status = "okay"; |
| 153 | phy = <&phy3>; |
| 154 | phy-mode = "rgmii-id"; |
| 155 | }; |
| 156 | |
Thomas Petazzoni | 0e99b15 | 2013-05-21 19:53:09 +0200 | [diff] [blame] | 157 | /* Front-side USB slot */ |
| 158 | usb@50000 { |
| 159 | status = "okay"; |
| 160 | }; |
| 161 | |
| 162 | /* Back-side USB slot */ |
| 163 | usb@51000 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 167 | spi0: spi@10600 { |
| 168 | status = "okay"; |
| 169 | |
| 170 | spi-flash@0 { |
| 171 | #address-cells = <1>; |
| 172 | #size-cells = <1>; |
| 173 | compatible = "n25q128a13"; |
| 174 | reg = <0>; /* Chip select 0 */ |
| 175 | spi-max-frequency = <108000000>; |
| 176 | }; |
| 177 | }; |
Ezequiel Garcia | 2be2bc3 | 2013-11-07 12:17:34 -0300 | [diff] [blame^] | 178 | |
| 179 | nand@d0000 { |
| 180 | status = "okay"; |
| 181 | num-cs = <1>; |
| 182 | marvell,nand-keep-config; |
| 183 | marvell,nand-enable-arbiter; |
| 184 | nand-on-flash-bbt; |
| 185 | }; |
Thomas Petazzoni | 513a791 | 2013-04-09 23:06:39 +0200 | [diff] [blame] | 186 | }; |
Gregory CLEMENT | 568fc0a | 2013-01-31 15:50:12 +0100 | [diff] [blame] | 187 | }; |
| 188 | }; |