Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for Marvell Armada XP evaluation board |
| 3 | * (DB-78460-BP) |
| 4 | * |
| 5 | * Copyright (C) 2012 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" |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "Marvell Armada XP Evaluation Board"; |
Thomas Petazzoni | 0bec30a | 2012-09-13 17:41:50 +0200 | [diff] [blame] | 21 | compatible = "marvell,axp-db", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 22 | |
| 23 | chosen { |
| 24 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 25 | }; |
| 26 | |
| 27 | memory { |
| 28 | device_type = "memory"; |
Gregory CLEMENT | 7489836 | 2013-04-12 16:29:10 +0200 | [diff] [blame] | 29 | reg = <0 0x00000000 0 0x80000000>; /* 2 GB */ |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | soc { |
Ezequiel Garcia | 0cd3754 | 2013-07-26 10:17:58 -0300 | [diff] [blame] | 33 | ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000 |
Ezequiel Garcia | de1af8d | 2013-07-26 10:17:59 -0300 | [diff] [blame^] | 34 | MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 |
| 35 | MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000>; |
| 36 | |
| 37 | devbus-bootcs { |
| 38 | status = "okay"; |
| 39 | |
| 40 | /* Device Bus parameters are required */ |
| 41 | |
| 42 | /* Read parameters */ |
| 43 | devbus,bus-width = <8>; |
| 44 | devbus,turn-off-ps = <60000>; |
| 45 | devbus,badr-skew-ps = <0>; |
| 46 | devbus,acc-first-ps = <124000>; |
| 47 | devbus,acc-next-ps = <248000>; |
| 48 | devbus,rd-setup-ps = <0>; |
| 49 | devbus,rd-hold-ps = <0>; |
| 50 | |
| 51 | /* Write parameters */ |
| 52 | devbus,sync-enable = <0>; |
| 53 | devbus,wr-high-ps = <60000>; |
| 54 | devbus,wr-low-ps = <60000>; |
| 55 | devbus,ale-wr-ps = <60000>; |
| 56 | |
| 57 | /* NOR 16 MiB */ |
| 58 | nor@0 { |
| 59 | compatible = "cfi-flash"; |
| 60 | reg = <0 0x1000000>; |
| 61 | bank-width = <2>; |
| 62 | }; |
| 63 | }; |
Ezequiel Garcia | b484ff4 | 2013-05-17 08:09:58 -0300 | [diff] [blame] | 64 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 65 | internal-regs { |
| 66 | serial@12000 { |
| 67 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 68 | status = "okay"; |
| 69 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 70 | serial@12100 { |
| 71 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 72 | status = "okay"; |
| 73 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 74 | serial@12200 { |
| 75 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 76 | status = "okay"; |
| 77 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 78 | serial@12300 { |
| 79 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 80 | status = "okay"; |
| 81 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 82 | |
| 83 | sata@a0000 { |
| 84 | nr-ports = <2>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 85 | status = "okay"; |
| 86 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 87 | |
| 88 | mdio { |
| 89 | phy0: ethernet-phy@0 { |
| 90 | reg = <0>; |
| 91 | }; |
| 92 | |
| 93 | phy1: ethernet-phy@1 { |
| 94 | reg = <1>; |
| 95 | }; |
| 96 | |
| 97 | phy2: ethernet-phy@2 { |
| 98 | reg = <25>; |
| 99 | }; |
| 100 | |
| 101 | phy3: ethernet-phy@3 { |
| 102 | reg = <27>; |
| 103 | }; |
| 104 | }; |
| 105 | |
| 106 | ethernet@70000 { |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 107 | status = "okay"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 108 | phy = <&phy0>; |
| 109 | phy-mode = "rgmii-id"; |
| 110 | }; |
| 111 | ethernet@74000 { |
| 112 | status = "okay"; |
| 113 | phy = <&phy1>; |
| 114 | phy-mode = "rgmii-id"; |
| 115 | }; |
| 116 | ethernet@30000 { |
| 117 | status = "okay"; |
| 118 | phy = <&phy2>; |
| 119 | phy-mode = "sgmii"; |
| 120 | }; |
| 121 | ethernet@34000 { |
| 122 | status = "okay"; |
| 123 | phy = <&phy3>; |
| 124 | phy-mode = "sgmii"; |
| 125 | }; |
| 126 | |
| 127 | mvsdio@d4000 { |
| 128 | pinctrl-0 = <&sdio_pins>; |
| 129 | pinctrl-names = "default"; |
| 130 | status = "okay"; |
| 131 | /* No CD or WP GPIOs */ |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 132 | broken-cd; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 133 | }; |
| 134 | |
| 135 | usb@50000 { |
| 136 | status = "okay"; |
| 137 | }; |
| 138 | |
| 139 | usb@51000 { |
| 140 | status = "okay"; |
| 141 | }; |
| 142 | |
| 143 | usb@52000 { |
| 144 | status = "okay"; |
| 145 | }; |
| 146 | |
| 147 | spi0: spi@10600 { |
| 148 | status = "okay"; |
| 149 | |
| 150 | spi-flash@0 { |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <1>; |
| 153 | compatible = "m25p64"; |
| 154 | reg = <0>; /* Chip select 0 */ |
| 155 | spi-max-frequency = <20000000>; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | pcie-controller { |
| 160 | status = "okay"; |
| 161 | |
| 162 | /* |
| 163 | * All 6 slots are physically present as |
| 164 | * standard PCIe slots on the board. |
| 165 | */ |
| 166 | pcie@1,0 { |
| 167 | /* Port 0, Lane 0 */ |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | pcie@2,0 { |
| 171 | /* Port 0, Lane 1 */ |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | pcie@3,0 { |
| 175 | /* Port 0, Lane 2 */ |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | pcie@4,0 { |
| 179 | /* Port 0, Lane 3 */ |
| 180 | status = "okay"; |
| 181 | }; |
| 182 | pcie@9,0 { |
| 183 | /* Port 2, Lane 0 */ |
| 184 | status = "okay"; |
| 185 | }; |
| 186 | pcie@10,0 { |
| 187 | /* Port 3, Lane 0 */ |
| 188 | status = "okay"; |
| 189 | }; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 190 | }; |
Ezequiel Garcia | b484ff4 | 2013-05-17 08:09:58 -0300 | [diff] [blame] | 191 | |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 192 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 193 | }; |
| 194 | }; |