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