1*1335483aSStefan Roese/* 2*1335483aSStefan Roese * Copyright (C) 2016 Marvell Technology Group Ltd. 3*1335483aSStefan Roese * 4*1335483aSStefan Roese * This file is dual-licensed: you can use it either under the terms 5*1335483aSStefan Roese * of the GPLv2 or the X11 license, at your option. Note that this dual 6*1335483aSStefan Roese * licensing only applies to this file, and not this project as a 7*1335483aSStefan Roese * whole. 8*1335483aSStefan Roese * 9*1335483aSStefan Roese * a) This library is free software; you can redistribute it and/or 10*1335483aSStefan Roese * modify it under the terms of the GNU General Public License as 11*1335483aSStefan Roese * published by the Free Software Foundation; either version 2 of the 12*1335483aSStefan Roese * License, or (at your option) any later version. 13*1335483aSStefan Roese * 14*1335483aSStefan Roese * This library is distributed in the hope that it will be useful, 15*1335483aSStefan Roese * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*1335483aSStefan Roese * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*1335483aSStefan Roese * GNU General Public License for more details. 18*1335483aSStefan Roese * 19*1335483aSStefan Roese * Or, alternatively, 20*1335483aSStefan Roese * 21*1335483aSStefan Roese * b) Permission is hereby granted, free of charge, to any person 22*1335483aSStefan Roese * obtaining a copy of this software and associated documentation 23*1335483aSStefan Roese * files (the "Software"), to deal in the Software without 24*1335483aSStefan Roese * restriction, including without limitation the rights to use, 25*1335483aSStefan Roese * copy, modify, merge, publish, distribute, sublicense, and/or 26*1335483aSStefan Roese * sell copies of the Software, and to permit persons to whom the 27*1335483aSStefan Roese * Software is furnished to do so, subject to the following 28*1335483aSStefan Roese * conditions: 29*1335483aSStefan Roese * 30*1335483aSStefan Roese * The above copyright notice and this permission notice shall be 31*1335483aSStefan Roese * included in all copies or substantial portions of the Software. 32*1335483aSStefan Roese * 33*1335483aSStefan Roese * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34*1335483aSStefan Roese * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35*1335483aSStefan Roese * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36*1335483aSStefan Roese * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37*1335483aSStefan Roese * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38*1335483aSStefan Roese * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39*1335483aSStefan Roese * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40*1335483aSStefan Roese * OTHER DEALINGS IN THE SOFTWARE. 41*1335483aSStefan Roese */ 42*1335483aSStefan Roese 43*1335483aSStefan Roese/* 44*1335483aSStefan Roese * Device Tree file for Marvell Armada 7040 Development board platform 45*1335483aSStefan Roese */ 46*1335483aSStefan Roese 47*1335483aSStefan Roese#include "armada-7040.dtsi" 48*1335483aSStefan Roese 49*1335483aSStefan Roese/ { 50*1335483aSStefan Roese model = "Marvell Armada 7040 DB board"; 51*1335483aSStefan Roese compatible = "marvell,armada7040-db", "marvell,armada7040", 52*1335483aSStefan Roese "marvell,armada-ap806-quad", "marvell,armada-ap806"; 53*1335483aSStefan Roese 54*1335483aSStefan Roese chosen { 55*1335483aSStefan Roese stdout-path = "serial0:115200n8"; 56*1335483aSStefan Roese }; 57*1335483aSStefan Roese 58*1335483aSStefan Roese memory@00000000 { 59*1335483aSStefan Roese device_type = "memory"; 60*1335483aSStefan Roese reg = <0x0 0x0 0x0 0x80000000>; 61*1335483aSStefan Roese }; 62*1335483aSStefan Roese}; 63*1335483aSStefan Roese 64*1335483aSStefan Roese&i2c0 { 65*1335483aSStefan Roese status = "okay"; 66*1335483aSStefan Roese clock-frequency = <100000>; 67*1335483aSStefan Roese}; 68*1335483aSStefan Roese 69*1335483aSStefan Roese&spi0 { 70*1335483aSStefan Roese status = "okay"; 71*1335483aSStefan Roese 72*1335483aSStefan Roese spi-flash@0 { 73*1335483aSStefan Roese #address-cells = <1>; 74*1335483aSStefan Roese #size-cells = <1>; 75*1335483aSStefan Roese compatible = "jedec,spi-nor"; 76*1335483aSStefan Roese reg = <0>; 77*1335483aSStefan Roese spi-max-frequency = <10000000>; 78*1335483aSStefan Roese 79*1335483aSStefan Roese partitions { 80*1335483aSStefan Roese compatible = "fixed-partitions"; 81*1335483aSStefan Roese #address-cells = <1>; 82*1335483aSStefan Roese #size-cells = <1>; 83*1335483aSStefan Roese 84*1335483aSStefan Roese partition@0 { 85*1335483aSStefan Roese label = "U-Boot"; 86*1335483aSStefan Roese reg = <0 0x200000>; 87*1335483aSStefan Roese }; 88*1335483aSStefan Roese partition@400000 { 89*1335483aSStefan Roese label = "Filesystem"; 90*1335483aSStefan Roese reg = <0x200000 0xce0000>; 91*1335483aSStefan Roese }; 92*1335483aSStefan Roese }; 93*1335483aSStefan Roese }; 94*1335483aSStefan Roese}; 95*1335483aSStefan Roese 96*1335483aSStefan Roese&uart0 { 97*1335483aSStefan Roese status = "okay"; 98*1335483aSStefan Roese}; 99*1335483aSStefan Roese 100*1335483aSStefan Roese 101*1335483aSStefan Roese&cpm_pcie2 { 102*1335483aSStefan Roese status = "okay"; 103*1335483aSStefan Roese}; 104*1335483aSStefan Roese 105*1335483aSStefan Roese&cpm_i2c0 { 106*1335483aSStefan Roese status = "okay"; 107*1335483aSStefan Roese clock-frequency = <100000>; 108*1335483aSStefan Roese}; 109*1335483aSStefan Roese 110*1335483aSStefan Roese&cpm_spi1 { 111*1335483aSStefan Roese status = "okay"; 112*1335483aSStefan Roese 113*1335483aSStefan Roese spi-flash@0 { 114*1335483aSStefan Roese #address-cells = <0x1>; 115*1335483aSStefan Roese #size-cells = <0x1>; 116*1335483aSStefan Roese compatible = "jedec,spi-nor"; 117*1335483aSStefan Roese reg = <0x0>; 118*1335483aSStefan Roese spi-max-frequency = <20000000>; 119*1335483aSStefan Roese 120*1335483aSStefan Roese partitions { 121*1335483aSStefan Roese compatible = "fixed-partitions"; 122*1335483aSStefan Roese #address-cells = <1>; 123*1335483aSStefan Roese #size-cells = <1>; 124*1335483aSStefan Roese 125*1335483aSStefan Roese partition@0 { 126*1335483aSStefan Roese label = "U-Boot"; 127*1335483aSStefan Roese reg = <0x0 0x200000>; 128*1335483aSStefan Roese }; 129*1335483aSStefan Roese 130*1335483aSStefan Roese partition@400000 { 131*1335483aSStefan Roese label = "Filesystem"; 132*1335483aSStefan Roese reg = <0x200000 0xe00000>; 133*1335483aSStefan Roese }; 134*1335483aSStefan Roese }; 135*1335483aSStefan Roese }; 136*1335483aSStefan Roese}; 137*1335483aSStefan Roese 138*1335483aSStefan Roese&cpm_sata0 { 139*1335483aSStefan Roese status = "okay"; 140*1335483aSStefan Roese}; 141*1335483aSStefan Roese 142*1335483aSStefan Roese&cpm_usb3_0 { 143*1335483aSStefan Roese status = "okay"; 144*1335483aSStefan Roese}; 145*1335483aSStefan Roese 146*1335483aSStefan Roese&cpm_usb3_1 { 147*1335483aSStefan Roese status = "okay"; 148*1335483aSStefan Roese}; 149