1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * Device Tree file for Marvell Armada 3720 community board 3*4882a593Smuzhiyun * (ESPRESSOBin) 4*4882a593Smuzhiyun * Copyright (C) 2016 Marvell 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Gregory CLEMENT <gregory.clement@free-electrons.com> 7*4882a593Smuzhiyun * Konstantin Porotchkin <kostap@marvell.com> 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * This file is dual-licensed: you can use it either under the terms 10*4882a593Smuzhiyun * of the GPL or the X11 license, at your option. Note that this dual 11*4882a593Smuzhiyun * licensing only applies to this file, and not this project as a 12*4882a593Smuzhiyun * whole. 13*4882a593Smuzhiyun * 14*4882a593Smuzhiyun * a) This file is free software; you can redistribute it and/or 15*4882a593Smuzhiyun * modify it under the terms of the GNU General Public License as 16*4882a593Smuzhiyun * published by the Free Software Foundation; either version 2 of the 17*4882a593Smuzhiyun * License, or (at your option) any later version. 18*4882a593Smuzhiyun * 19*4882a593Smuzhiyun * This file is distributed in the hope that it will be useful 20*4882a593Smuzhiyun * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*4882a593Smuzhiyun * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*4882a593Smuzhiyun * GNU General Public License for more details. 23*4882a593Smuzhiyun * 24*4882a593Smuzhiyun * Or, alternatively 25*4882a593Smuzhiyun * 26*4882a593Smuzhiyun * b) Permission is hereby granted, free of charge, to any person 27*4882a593Smuzhiyun * obtaining a copy of this software and associated documentation 28*4882a593Smuzhiyun * files (the "Software"), to deal in the Software without 29*4882a593Smuzhiyun * restriction, including without limitation the rights to use 30*4882a593Smuzhiyun * copy, modify, merge, publish, distribute, sublicense, and/or 31*4882a593Smuzhiyun * sell copies of the Software, and to permit persons to whom the 32*4882a593Smuzhiyun * Software is furnished to do so, subject to the following 33*4882a593Smuzhiyun * conditions: 34*4882a593Smuzhiyun * 35*4882a593Smuzhiyun * The above copyright notice and this permission notice shall be 36*4882a593Smuzhiyun * included in all copies or substantial portions of the Software. 37*4882a593Smuzhiyun * 38*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND 39*4882a593Smuzhiyun * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 40*4882a593Smuzhiyun * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 41*4882a593Smuzhiyun * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 42*4882a593Smuzhiyun * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY 43*4882a593Smuzhiyun * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 44*4882a593Smuzhiyun * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45*4882a593Smuzhiyun * OTHER DEALINGS IN THE SOFTWARE. 46*4882a593Smuzhiyun */ 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun/dts-v1/; 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun#include "armada-372x.dtsi" 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun/ { 53*4882a593Smuzhiyun model = "Marvell Armada 3720 Community Board ESPRESSOBin"; 54*4882a593Smuzhiyun compatible = "marvell,armada-3720-espressobin", "marvell,armada3720", "marvell,armada3710"; 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun chosen { 57*4882a593Smuzhiyun stdout-path = "serial0:115200n8"; 58*4882a593Smuzhiyun }; 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun aliases { 61*4882a593Smuzhiyun ethernet0 = ð0; 62*4882a593Smuzhiyun i2c0 = &i2c0; 63*4882a593Smuzhiyun spi0 = &spi0; 64*4882a593Smuzhiyun }; 65*4882a593Smuzhiyun 66*4882a593Smuzhiyun memory { 67*4882a593Smuzhiyun device_type = "memory"; 68*4882a593Smuzhiyun reg = <0x00000000 0x00000000 0x00000000 0x20000000>; 69*4882a593Smuzhiyun }; 70*4882a593Smuzhiyun}; 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun&comphy { 73*4882a593Smuzhiyun max-lanes = <3>; 74*4882a593Smuzhiyun phy0 { 75*4882a593Smuzhiyun phy-type = <PHY_TYPE_PEX0>; 76*4882a593Smuzhiyun phy-speed = <PHY_SPEED_2_5G>; 77*4882a593Smuzhiyun }; 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun phy1 { 80*4882a593Smuzhiyun phy-type = <PHY_TYPE_USB3_HOST0>; 81*4882a593Smuzhiyun phy-speed = <PHY_SPEED_5G>; 82*4882a593Smuzhiyun }; 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun phy2 { 85*4882a593Smuzhiyun phy-type = <PHY_TYPE_SATA0>; 86*4882a593Smuzhiyun phy-speed = <PHY_SPEED_5G>; 87*4882a593Smuzhiyun }; 88*4882a593Smuzhiyun}; 89*4882a593Smuzhiyun 90*4882a593Smuzhiyunð0 { 91*4882a593Smuzhiyun status = "okay"; 92*4882a593Smuzhiyun phy-mode = "rgmii"; 93*4882a593Smuzhiyun phy_addr = <0x1>; 94*4882a593Smuzhiyun fixed-link { 95*4882a593Smuzhiyun speed = <1000>; 96*4882a593Smuzhiyun full-duplex; 97*4882a593Smuzhiyun }; 98*4882a593Smuzhiyun}; 99*4882a593Smuzhiyun 100*4882a593Smuzhiyun&i2c0 { 101*4882a593Smuzhiyun status = "okay"; 102*4882a593Smuzhiyun}; 103*4882a593Smuzhiyun 104*4882a593Smuzhiyun/* CON3 */ 105*4882a593Smuzhiyun&sata { 106*4882a593Smuzhiyun status = "okay"; 107*4882a593Smuzhiyun}; 108*4882a593Smuzhiyun 109*4882a593Smuzhiyun&spi0 { 110*4882a593Smuzhiyun status = "okay"; 111*4882a593Smuzhiyun 112*4882a593Smuzhiyun spi-flash@0 { 113*4882a593Smuzhiyun #address-cells = <1>; 114*4882a593Smuzhiyun #size-cells = <1>; 115*4882a593Smuzhiyun compatible = "st,m25p128", "spi-flash"; 116*4882a593Smuzhiyun reg = <0>; /* Chip select 0 */ 117*4882a593Smuzhiyun spi-max-frequency = <50000000>; 118*4882a593Smuzhiyun m25p,fast-read; 119*4882a593Smuzhiyun }; 120*4882a593Smuzhiyun}; 121*4882a593Smuzhiyun 122*4882a593Smuzhiyun/* Exported on the micro USB connector CON32 through an FTDI */ 123*4882a593Smuzhiyun&uart0 { 124*4882a593Smuzhiyun status = "okay"; 125*4882a593Smuzhiyun}; 126*4882a593Smuzhiyun 127*4882a593Smuzhiyun/* CON29 */ 128*4882a593Smuzhiyun&usb2 { 129*4882a593Smuzhiyun status = "okay"; 130*4882a593Smuzhiyun}; 131*4882a593Smuzhiyun 132*4882a593Smuzhiyun/* CON31 */ 133*4882a593Smuzhiyun&usb3 { 134*4882a593Smuzhiyun status = "okay"; 135*4882a593Smuzhiyun}; 136