Florian Fainelli | 4912214 | 2013-01-09 20:56:07 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for Marvell Armada 370 Reference Design board |
| 3 | * (RD-88F6710-A1) |
| 4 | * |
| 5 | * Copied from arch/arm/boot/dts/armada-370-db.dts |
| 6 | * |
| 7 | * Copyright (C) 2013 Florian Fainelli <florian@openwrt.org> |
| 8 | * |
| 9 | * This file is licensed under the terms of the GNU General Public |
| 10 | * License version 2. This program is licensed "as is" without any |
| 11 | * warranty of any kind, whether express or implied. |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
Ezequiel Garcia | 3814988 | 2013-07-26 10:17:56 -0300 | [diff] [blame] | 15 | #include "armada-370.dtsi" |
Florian Fainelli | 4912214 | 2013-01-09 20:56:07 +0100 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | model = "Marvell Armada 370 Reference Design"; |
| 19 | compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; |
| 20 | |
| 21 | chosen { |
| 22 | bootargs = "console=ttyS0,115200 earlyprintk"; |
| 23 | }; |
| 24 | |
| 25 | memory { |
| 26 | device_type = "memory"; |
| 27 | reg = <0x00000000 0x20000000>; /* 512 MB */ |
| 28 | }; |
| 29 | |
| 30 | soc { |
Ezequiel Garcia | 0cd3754 | 2013-07-26 10:17:58 -0300 | [diff] [blame] | 31 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 |
| 32 | MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; |
Ezequiel Garcia | 5e12a61 | 2013-07-26 10:17:57 -0300 | [diff] [blame] | 33 | |
Ezequiel Garcia | 0af8330 | 2013-08-08 18:03:09 -0300 | [diff] [blame] | 34 | pcie-controller { |
| 35 | status = "okay"; |
| 36 | |
| 37 | /* Internal mini-PCIe connector */ |
| 38 | pcie@1,0 { |
| 39 | /* Port 0, Lane 0 */ |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | /* Internal mini-PCIe connector */ |
| 44 | pcie@2,0 { |
| 45 | /* Port 1, Lane 0 */ |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | }; |
| 49 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 50 | internal-regs { |
| 51 | serial@12000 { |
| 52 | clock-frequency = <200000000>; |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | sata@a0000 { |
| 56 | nr-ports = <2>; |
| 57 | status = "okay"; |
Florian Fainelli | 4912214 | 2013-01-09 20:56:07 +0100 | [diff] [blame] | 58 | }; |
| 59 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 60 | mdio { |
| 61 | phy0: ethernet-phy@0 { |
| 62 | reg = <0>; |
| 63 | }; |
| 64 | |
| 65 | phy1: ethernet-phy@1 { |
| 66 | reg = <1>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | ethernet@70000 { |
| 71 | status = "okay"; |
| 72 | phy = <&phy0>; |
| 73 | phy-mode = "sgmii"; |
| 74 | }; |
| 75 | ethernet@74000 { |
| 76 | status = "okay"; |
| 77 | phy = <&phy1>; |
| 78 | phy-mode = "rgmii-id"; |
| 79 | }; |
| 80 | |
| 81 | mvsdio@d4000 { |
| 82 | pinctrl-0 = <&sdio_pins1>; |
| 83 | pinctrl-names = "default"; |
| 84 | status = "okay"; |
| 85 | /* No CD or WP GPIOs */ |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 86 | broken-cd; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 87 | }; |
| 88 | |
| 89 | usb@50000 { |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
| 93 | usb@51000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | gpio-keys { |
| 98 | compatible = "gpio-keys"; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <0>; |
| 101 | button@1 { |
| 102 | label = "Software Button"; |
| 103 | linux,code = <116>; |
| 104 | gpios = <&gpio0 6 1>; |
| 105 | }; |
Florian Fainelli | 4912214 | 2013-01-09 20:56:07 +0100 | [diff] [blame] | 106 | }; |
| 107 | }; |
Florian Fainelli | 4912214 | 2013-01-09 20:56:07 +0100 | [diff] [blame] | 108 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 109 | }; |