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"; |
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 { |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 33 | internal-regs { |
| 34 | serial@12000 { |
| 35 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 36 | status = "okay"; |
| 37 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 38 | serial@12100 { |
| 39 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 40 | status = "okay"; |
| 41 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 42 | serial@12200 { |
| 43 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 44 | status = "okay"; |
| 45 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 46 | serial@12300 { |
| 47 | clock-frequency = <250000000>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 48 | status = "okay"; |
| 49 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 50 | |
| 51 | sata@a0000 { |
| 52 | nr-ports = <2>; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 53 | status = "okay"; |
| 54 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 55 | |
| 56 | mdio { |
| 57 | phy0: ethernet-phy@0 { |
| 58 | reg = <0>; |
| 59 | }; |
| 60 | |
| 61 | phy1: ethernet-phy@1 { |
| 62 | reg = <1>; |
| 63 | }; |
| 64 | |
| 65 | phy2: ethernet-phy@2 { |
| 66 | reg = <25>; |
| 67 | }; |
| 68 | |
| 69 | phy3: ethernet-phy@3 { |
| 70 | reg = <27>; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | ethernet@70000 { |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 75 | status = "okay"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 76 | phy = <&phy0>; |
| 77 | phy-mode = "rgmii-id"; |
| 78 | }; |
| 79 | ethernet@74000 { |
| 80 | status = "okay"; |
| 81 | phy = <&phy1>; |
| 82 | phy-mode = "rgmii-id"; |
| 83 | }; |
| 84 | ethernet@30000 { |
| 85 | status = "okay"; |
| 86 | phy = <&phy2>; |
| 87 | phy-mode = "sgmii"; |
| 88 | }; |
| 89 | ethernet@34000 { |
| 90 | status = "okay"; |
| 91 | phy = <&phy3>; |
| 92 | phy-mode = "sgmii"; |
| 93 | }; |
| 94 | |
| 95 | mvsdio@d4000 { |
| 96 | pinctrl-0 = <&sdio_pins>; |
| 97 | pinctrl-names = "default"; |
| 98 | status = "okay"; |
| 99 | /* No CD or WP GPIOs */ |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame^] | 100 | broken-cd; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | usb@50000 { |
| 104 | status = "okay"; |
| 105 | }; |
| 106 | |
| 107 | usb@51000 { |
| 108 | status = "okay"; |
| 109 | }; |
| 110 | |
| 111 | usb@52000 { |
| 112 | status = "okay"; |
| 113 | }; |
| 114 | |
| 115 | spi0: spi@10600 { |
| 116 | status = "okay"; |
| 117 | |
| 118 | spi-flash@0 { |
| 119 | #address-cells = <1>; |
| 120 | #size-cells = <1>; |
| 121 | compatible = "m25p64"; |
| 122 | reg = <0>; /* Chip select 0 */ |
| 123 | spi-max-frequency = <20000000>; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | pcie-controller { |
| 128 | status = "okay"; |
| 129 | |
| 130 | /* |
| 131 | * All 6 slots are physically present as |
| 132 | * standard PCIe slots on the board. |
| 133 | */ |
| 134 | pcie@1,0 { |
| 135 | /* Port 0, Lane 0 */ |
| 136 | status = "okay"; |
| 137 | }; |
| 138 | pcie@2,0 { |
| 139 | /* Port 0, Lane 1 */ |
| 140 | status = "okay"; |
| 141 | }; |
| 142 | pcie@3,0 { |
| 143 | /* Port 0, Lane 2 */ |
| 144 | status = "okay"; |
| 145 | }; |
| 146 | pcie@4,0 { |
| 147 | /* Port 0, Lane 3 */ |
| 148 | status = "okay"; |
| 149 | }; |
| 150 | pcie@9,0 { |
| 151 | /* Port 2, Lane 0 */ |
| 152 | status = "okay"; |
| 153 | }; |
| 154 | pcie@10,0 { |
| 155 | /* Port 3, Lane 0 */ |
| 156 | status = "okay"; |
| 157 | }; |
Thomas Petazzoni | bf4f9c6 | 2013-04-09 23:06:36 +0200 | [diff] [blame] | 158 | }; |
| 159 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 160 | }; |
| 161 | }; |