Gregory CLEMENT | a8a921d | 2014-03-06 16:17:55 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for Marvell Armada 385 Reference Design board |
| 3 | * (RD-88F6820-AP) |
| 4 | * |
| 5 | * Copyright (C) 2014 Marvell |
| 6 | * |
| 7 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 8 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 9 | * |
| 10 | * This file is licensed under the terms of the GNU General Public |
| 11 | * License version 2. This program is licensed "as is" without any |
| 12 | * warranty of any kind, whether express or implied. |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | #include "armada-385.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Marvell Armada 385 Reference Design"; |
Gregory CLEMENT | 8dbdb8e | 2014-06-23 16:16:51 +0200 | [diff] [blame] | 20 | compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380"; |
Gregory CLEMENT | a8a921d | 2014-03-06 16:17:55 +0100 | [diff] [blame] | 21 | |
| 22 | chosen { |
| 23 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 24 | }; |
| 25 | |
| 26 | memory { |
| 27 | device_type = "memory"; |
| 28 | reg = <0x00000000 0x10000000>; /* 256 MB */ |
| 29 | }; |
| 30 | |
| 31 | soc { |
| 32 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 |
| 33 | MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; |
| 34 | |
| 35 | internal-regs { |
| 36 | spi@10600 { |
| 37 | status = "okay"; |
| 38 | |
| 39 | spi-flash@0 { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <1>; |
| 42 | compatible = "st,m25p128"; |
| 43 | reg = <0>; /* Chip select 0 */ |
| 44 | spi-max-frequency = <108000000>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | i2c@11000 { |
| 49 | status = "okay"; |
| 50 | clock-frequency = <100000>; |
| 51 | }; |
| 52 | |
| 53 | serial@12000 { |
Gregory CLEMENT | a8a921d | 2014-03-06 16:17:55 +0100 | [diff] [blame] | 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | ethernet@30000 { |
| 58 | status = "okay"; |
| 59 | phy = <&phy0>; |
| 60 | phy-mode = "rgmii-id"; |
| 61 | }; |
| 62 | |
| 63 | ethernet@70000 { |
| 64 | status = "okay"; |
| 65 | phy = <&phy1>; |
| 66 | phy-mode = "rgmii-id"; |
| 67 | }; |
| 68 | |
| 69 | |
| 70 | mdio { |
| 71 | phy0: ethernet-phy@0 { |
| 72 | reg = <0>; |
| 73 | }; |
| 74 | |
| 75 | phy1: ethernet-phy@1 { |
| 76 | reg = <1>; |
| 77 | }; |
| 78 | }; |
Gregory CLEMENT | 87e2fc3 | 2014-05-15 12:17:39 +0200 | [diff] [blame] | 79 | |
| 80 | usb3@f0000 { |
| 81 | status = "okay"; |
| 82 | }; |
Gregory CLEMENT | a8a921d | 2014-03-06 16:17:55 +0100 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | pcie-controller { |
| 86 | status = "okay"; |
| 87 | /* |
| 88 | * One PCIe units is accessible through |
| 89 | * standard PCIe slot on the board. |
| 90 | */ |
| 91 | pcie@1,0 { |
| 92 | /* Port 0, Lane 0 */ |
| 93 | status = "okay"; |
| 94 | }; |
| 95 | }; |
| 96 | }; |
| 97 | }; |