1adbc3695SGregory CLEMENT/* 2adbc3695SGregory CLEMENT * Device Tree file for Marvell Armada 3720 development board 3adbc3695SGregory CLEMENT * (DB-88F3720-DDR3) 4adbc3695SGregory CLEMENT * Copyright (C) 2016 Marvell 5adbc3695SGregory CLEMENT * 6adbc3695SGregory CLEMENT * Gregory CLEMENT <gregory.clement@free-electrons.com> 7adbc3695SGregory CLEMENT * 8adbc3695SGregory CLEMENT * This file is dual-licensed: you can use it either under the terms 9adbc3695SGregory CLEMENT * of the GPL or the X11 license, at your option. Note that this dual 10adbc3695SGregory CLEMENT * licensing only applies to this file, and not this project as a 11adbc3695SGregory CLEMENT * whole. 12adbc3695SGregory CLEMENT * 13adbc3695SGregory CLEMENT * a) This file is free software; you can redistribute it and/or 14adbc3695SGregory CLEMENT * modify it under the terms of the GNU General Public License as 15adbc3695SGregory CLEMENT * published by the Free Software Foundation; either version 2 of the 16adbc3695SGregory CLEMENT * License, or (at your option) any later version. 17adbc3695SGregory CLEMENT * 1858a748f7SAlexandre Belloni * This file is distributed in the hope that it will be useful, 19adbc3695SGregory CLEMENT * but WITHOUT ANY WARRANTY; without even the implied warranty of 20adbc3695SGregory CLEMENT * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21adbc3695SGregory CLEMENT * GNU General Public License for more details. 22adbc3695SGregory CLEMENT * 2358a748f7SAlexandre Belloni * Or, alternatively, 24adbc3695SGregory CLEMENT * 25adbc3695SGregory CLEMENT * b) Permission is hereby granted, free of charge, to any person 26adbc3695SGregory CLEMENT * obtaining a copy of this software and associated documentation 27adbc3695SGregory CLEMENT * files (the "Software"), to deal in the Software without 2858a748f7SAlexandre Belloni * restriction, including without limitation the rights to use, 29adbc3695SGregory CLEMENT * copy, modify, merge, publish, distribute, sublicense, and/or 30adbc3695SGregory CLEMENT * sell copies of the Software, and to permit persons to whom the 31adbc3695SGregory CLEMENT * Software is furnished to do so, subject to the following 32adbc3695SGregory CLEMENT * conditions: 33adbc3695SGregory CLEMENT * 34adbc3695SGregory CLEMENT * The above copyright notice and this permission notice shall be 35adbc3695SGregory CLEMENT * included in all copies or substantial portions of the Software. 36adbc3695SGregory CLEMENT * 3758a748f7SAlexandre Belloni * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 38adbc3695SGregory CLEMENT * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 39adbc3695SGregory CLEMENT * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 40adbc3695SGregory CLEMENT * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 4158a748f7SAlexandre Belloni * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 42adbc3695SGregory CLEMENT * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 43adbc3695SGregory CLEMENT * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44adbc3695SGregory CLEMENT * OTHER DEALINGS IN THE SOFTWARE. 45adbc3695SGregory CLEMENT */ 46adbc3695SGregory CLEMENT 47adbc3695SGregory CLEMENT/dts-v1/; 48adbc3695SGregory CLEMENT 49adbc3695SGregory CLEMENT#include "armada-372x.dtsi" 50adbc3695SGregory CLEMENT 51adbc3695SGregory CLEMENT/ { 52adbc3695SGregory CLEMENT model = "Marvell Armada 3720 Development Board DB-88F3720-DDR3"; 53adbc3695SGregory CLEMENT compatible = "marvell,armada-3720-db", "marvell,armada3720", "marvell,armada3710"; 54adbc3695SGregory CLEMENT 55adbc3695SGregory CLEMENT chosen { 56adbc3695SGregory CLEMENT stdout-path = "serial0:115200n8"; 57adbc3695SGregory CLEMENT }; 58adbc3695SGregory CLEMENT 5936845345SGregory CLEMENT memory@0 { 60adbc3695SGregory CLEMENT device_type = "memory"; 61adbc3695SGregory CLEMENT reg = <0x00000000 0x00000000 0x00000000 0x20000000>; 62adbc3695SGregory CLEMENT }; 637b01cff5SAndreas Färber}; 64adbc3695SGregory CLEMENT 65c7d7ea67SRomain Perier&i2c0 { 66c7d7ea67SRomain Perier status = "okay"; 67c7d7ea67SRomain Perier}; 68c7d7ea67SRomain Perier 697b01cff5SAndreas Färber/* CON3 */ 707b01cff5SAndreas Färber&sata { 717b01cff5SAndreas Färber status = "okay"; 727b01cff5SAndreas Färber}; 737b01cff5SAndreas Färber 74bc357393SRomain Perier&spi0 { 75bc357393SRomain Perier status = "okay"; 76bc357393SRomain Perier 77bc357393SRomain Perier m25p80@0 { 78bc357393SRomain Perier compatible = "jedec,spi-nor"; 79bc357393SRomain Perier reg = <0>; 80bc357393SRomain Perier spi-max-frequency = <108000000>; 81bc357393SRomain Perier spi-rx-bus-width = <4>; 82bc357393SRomain Perier spi-tx-bus-width = <4>; 83bc357393SRomain Perier 84bc357393SRomain Perier partitions { 85bc357393SRomain Perier compatible = "fixed-partitions"; 86bc357393SRomain Perier #address-cells = <1>; 87bc357393SRomain Perier #size-cells = <1>; 88bc357393SRomain Perier partition@0 { 89bc357393SRomain Perier label = "bootloader"; 90bc357393SRomain Perier reg = <0x0 0x200000>; 91bc357393SRomain Perier }; 92bc357393SRomain Perier partition@200000 { 93bc357393SRomain Perier label = "U-boot Env"; 94bc357393SRomain Perier reg = <0x200000 0x10000>; 95bc357393SRomain Perier }; 96bc357393SRomain Perier partition@210000 { 97bc357393SRomain Perier label = "Linux"; 98bc357393SRomain Perier reg = <0x210000 0xDF0000>; 99bc357393SRomain Perier }; 100bc357393SRomain Perier }; 101bc357393SRomain Perier }; 102bc357393SRomain Perier}; 103bc357393SRomain Perier 1047b01cff5SAndreas Färber/* Exported on the micro USB connector CON32 through an FTDI */ 1057b01cff5SAndreas Färber&uart0 { 106adbc3695SGregory CLEMENT status = "okay"; 107adbc3695SGregory CLEMENT}; 108adbc3695SGregory CLEMENT 109adbc3695SGregory CLEMENT/* CON31 */ 1107b01cff5SAndreas Färber&usb3 { 111adbc3695SGregory CLEMENT status = "okay"; 112adbc3695SGregory CLEMENT}; 11376f6386bSThomas Petazzoni 11476f6386bSThomas Petazzoni/* CON17 (PCIe) / CON12 (mini-PCIe) */ 11576f6386bSThomas Petazzoni&pcie0 { 11676f6386bSThomas Petazzoni status = "okay"; 11776f6386bSThomas Petazzoni}; 118ea7ae885SGregory CLEMENT 119ea7ae885SGregory CLEMENT&mdio { 120ea7ae885SGregory CLEMENT status = "okay"; 121ea7ae885SGregory CLEMENT phy0: ethernet-phy@0 { 122ea7ae885SGregory CLEMENT reg = <0>; 123ea7ae885SGregory CLEMENT }; 124ea7ae885SGregory CLEMENT 125ea7ae885SGregory CLEMENT phy1: ethernet-phy@1 { 126ea7ae885SGregory CLEMENT reg = <1>; 127ea7ae885SGregory CLEMENT }; 128ea7ae885SGregory CLEMENT}; 129ea7ae885SGregory CLEMENT 130ea7ae885SGregory CLEMENTð0 { 131ea7ae885SGregory CLEMENT phy-mode = "rgmii-id"; 132ea7ae885SGregory CLEMENT phy = <&phy0>; 133ea7ae885SGregory CLEMENT status = "okay"; 134ea7ae885SGregory CLEMENT}; 135ea7ae885SGregory CLEMENT 136ea7ae885SGregory CLEMENTð1 { 137ea7ae885SGregory CLEMENT phy-mode = "sgmii"; 138ea7ae885SGregory CLEMENT phy = <&phy1>; 139ea7ae885SGregory CLEMENT status = "okay"; 140ea7ae885SGregory CLEMENT}; 141