Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for Marvell Armada 370 evaluation board |
| 3 | * (DB-88F6710-BP-DDR3) |
| 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/; |
| 17 | /include/ "armada-370.dtsi" |
| 18 | |
| 19 | / { |
| 20 | model = "Marvell Armada 370 Evaluation Board"; |
| 21 | compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; |
| 22 | |
| 23 | chosen { |
| 24 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 25 | }; |
| 26 | |
| 27 | memory { |
| 28 | device_type = "memory"; |
Gregory CLEMENT | 11d5993 | 2013-01-10 13:15:14 +0100 | [diff] [blame] | 29 | reg = <0x00000000 0x40000000>; /* 1 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 = <200000000>; |
Thomas Petazzoni | 3b723ae | 2013-04-09 23:06:38 +0200 | [diff] [blame] | 36 | status = "okay"; |
| 37 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 38 | sata@a0000 { |
| 39 | nr-ports = <2>; |
Thomas Petazzoni | 3b723ae | 2013-04-09 23:06:38 +0200 | [diff] [blame] | 40 | status = "okay"; |
| 41 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 42 | |
| 43 | mdio { |
| 44 | phy0: ethernet-phy@0 { |
| 45 | reg = <0>; |
| 46 | }; |
| 47 | |
| 48 | phy1: ethernet-phy@1 { |
| 49 | reg = <1>; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | ethernet@70000 { |
| 54 | status = "okay"; |
| 55 | phy = <&phy0>; |
| 56 | phy-mode = "rgmii-id"; |
| 57 | }; |
| 58 | ethernet@74000 { |
| 59 | status = "okay"; |
| 60 | phy = <&phy1>; |
| 61 | phy-mode = "rgmii-id"; |
| 62 | }; |
| 63 | |
| 64 | mvsdio@d4000 { |
| 65 | pinctrl-0 = <&sdio_pins1>; |
| 66 | pinctrl-names = "default"; |
| 67 | /* |
| 68 | * This device is disabled by default, because |
| 69 | * using the SD card connector requires |
| 70 | * changing the default CON40 connector |
| 71 | * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a |
| 72 | * different connector |
| 73 | * "DB-88F6710_MPP_RGMII_SD_Jumper". |
| 74 | */ |
| 75 | status = "disabled"; |
| 76 | /* No CD or WP GPIOs */ |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 77 | broken-cd; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | usb@50000 { |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | usb@51000 { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | spi0: spi@10600 { |
| 89 | status = "okay"; |
| 90 | |
| 91 | spi-flash@0 { |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <1>; |
| 94 | compatible = "mx25l25635e"; |
| 95 | reg = <0>; /* Chip select 0 */ |
| 96 | spi-max-frequency = <50000000>; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | pcie-controller { |
| 101 | status = "okay"; |
| 102 | /* |
| 103 | * The two PCIe units are accessible through |
| 104 | * both standard PCIe slots and mini-PCIe |
| 105 | * slots on the board. |
| 106 | */ |
| 107 | pcie@1,0 { |
| 108 | /* Port 0, Lane 0 */ |
| 109 | status = "okay"; |
| 110 | }; |
| 111 | pcie@2,0 { |
| 112 | /* Port 1, Lane 0 */ |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | }; |
Thomas Petazzoni | 3b723ae | 2013-04-09 23:06:38 +0200 | [diff] [blame] | 116 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 117 | }; |
| 118 | }; |