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/; |
Thomas Petazzoni | 0bec30a | 2012-09-13 17:41:50 +0200 | [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"; |
| 29 | reg = <0x00000000 0x80000000>; /* 2 GB */ |
| 30 | }; |
| 31 | |
| 32 | soc { |
| 33 | serial@d0012000 { |
| 34 | clock-frequency = <250000000>; |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | serial@d0012100 { |
| 38 | clock-frequency = <250000000>; |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | serial@d0012200 { |
| 42 | clock-frequency = <250000000>; |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | serial@d0012300 { |
| 46 | clock-frequency = <250000000>; |
| 47 | status = "okay"; |
| 48 | }; |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 49 | |
Gregory CLEMENT | 3d82daa | 2012-10-26 14:30:49 +0200 | [diff] [blame] | 50 | sata@d00a0000 { |
| 51 | nr-ports = <2>; |
| 52 | status = "okay"; |
| 53 | }; |
Thomas Petazzoni | 089c38e | 2012-11-20 23:35:16 +0100 | [diff] [blame] | 54 | |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 55 | mdio { |
| 56 | phy0: ethernet-phy@0 { |
| 57 | reg = <0>; |
| 58 | }; |
| 59 | |
| 60 | phy1: ethernet-phy@1 { |
| 61 | reg = <1>; |
| 62 | }; |
| 63 | |
| 64 | phy2: ethernet-phy@2 { |
| 65 | reg = <25>; |
| 66 | }; |
| 67 | |
| 68 | phy3: ethernet-phy@3 { |
| 69 | reg = <27>; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | ethernet@d0070000 { |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 74 | status = "okay"; |
| 75 | phy = <&phy0>; |
| 76 | phy-mode = "rgmii-id"; |
| 77 | }; |
| 78 | ethernet@d0074000 { |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 79 | status = "okay"; |
| 80 | phy = <&phy1>; |
| 81 | phy-mode = "rgmii-id"; |
| 82 | }; |
| 83 | ethernet@d0030000 { |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 84 | status = "okay"; |
| 85 | phy = <&phy2>; |
| 86 | phy-mode = "sgmii"; |
| 87 | }; |
| 88 | ethernet@d0034000 { |
Thomas Petazzoni | f01959a | 2012-09-04 15:06:44 +0200 | [diff] [blame] | 89 | status = "okay"; |
| 90 | phy = <&phy3>; |
| 91 | phy-mode = "sgmii"; |
| 92 | }; |
Thomas Petazzoni | d64c129b | 2012-12-21 15:49:07 +0100 | [diff] [blame] | 93 | |
| 94 | mvsdio@d00d4000 { |
| 95 | pinctrl-0 = <&sdio_pins>; |
| 96 | pinctrl-names = "default"; |
| 97 | status = "okay"; |
| 98 | /* No CD or WP GPIOs */ |
| 99 | }; |
Ezequiel Garcia | 200506b | 2013-01-23 12:26:31 -0300 | [diff] [blame] | 100 | |
| 101 | usb@d0050000 { |
| 102 | status = "okay"; |
| 103 | }; |
| 104 | |
| 105 | usb@d0051000 { |
| 106 | status = "okay"; |
| 107 | }; |
| 108 | |
| 109 | usb@d0052000 { |
| 110 | status = "okay"; |
| 111 | }; |
Gregory CLEMENT | 1f24a21 | 2013-02-05 21:54:54 +0100 | [diff] [blame] | 112 | |
| 113 | spi0: spi@d0010600 { |
| 114 | status = "okay"; |
| 115 | |
| 116 | spi-flash@0 { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
| 119 | compatible = "m25p64"; |
| 120 | reg = <0>; /* Chip select 0 */ |
| 121 | spi-max-frequency = <20000000>; |
| 122 | }; |
| 123 | }; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame^] | 124 | |
| 125 | pcie-controller { |
| 126 | status = "okay"; |
| 127 | |
| 128 | /* |
| 129 | * All 6 slots are physically present as |
| 130 | * standard PCIe slots on the board. |
| 131 | */ |
| 132 | pcie@1,0 { |
| 133 | /* Port 0, Lane 0 */ |
| 134 | status = "okay"; |
| 135 | }; |
| 136 | pcie@2,0 { |
| 137 | /* Port 0, Lane 1 */ |
| 138 | status = "okay"; |
| 139 | }; |
| 140 | pcie@3,0 { |
| 141 | /* Port 0, Lane 2 */ |
| 142 | status = "okay"; |
| 143 | }; |
| 144 | pcie@4,0 { |
| 145 | /* Port 0, Lane 3 */ |
| 146 | status = "okay"; |
| 147 | }; |
| 148 | pcie@9,0 { |
| 149 | /* Port 2, Lane 0 */ |
| 150 | status = "okay"; |
| 151 | }; |
| 152 | pcie@10,0 { |
| 153 | /* Port 3, Lane 0 */ |
| 154 | status = "okay"; |
| 155 | }; |
| 156 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 157 | }; |
| 158 | }; |