1ae701b60SGregory CLEMENT/* 2ae701b60SGregory CLEMENT * Copyright (C) 2017 Marvell Technology Group Ltd. 3ae701b60SGregory CLEMENT * 4ae701b60SGregory CLEMENT * This file is dual-licensed: you can use it either under the terms 5ae701b60SGregory CLEMENT * of the GPLv2 or the X11 license, at your option. Note that this dual 6ae701b60SGregory CLEMENT * licensing only applies to this file, and not this project as a 7ae701b60SGregory CLEMENT * whole. 8ae701b60SGregory CLEMENT * 9ae701b60SGregory CLEMENT * a) This library is free software; you can redistribute it and/or 10ae701b60SGregory CLEMENT * modify it under the terms of the GNU General Public License as 11ae701b60SGregory CLEMENT * published by the Free Software Foundation; either version 2 of the 12ae701b60SGregory CLEMENT * License, or (at your option) any later version. 13ae701b60SGregory CLEMENT * 14ae701b60SGregory CLEMENT * This library is distributed in the hope that it will be useful, 15ae701b60SGregory CLEMENT * but WITHOUT ANY WARRANTY; without even the implied warranty of 16ae701b60SGregory CLEMENT * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17ae701b60SGregory CLEMENT * GNU General Public License for more details. 18ae701b60SGregory CLEMENT * 19ae701b60SGregory CLEMENT * Or, alternatively, 20ae701b60SGregory CLEMENT * 21ae701b60SGregory CLEMENT * b) Permission is hereby granted, free of charge, to any person 22ae701b60SGregory CLEMENT * obtaining a copy of this software and associated documentation 23ae701b60SGregory CLEMENT * files (the "Software"), to deal in the Software without 24ae701b60SGregory CLEMENT * restriction, including without limitation the rights to use, 25ae701b60SGregory CLEMENT * copy, modify, merge, publish, distribute, sublicense, and/or 26ae701b60SGregory CLEMENT * sell copies of the Software, and to permit persons to whom the 27ae701b60SGregory CLEMENT * Software is furnished to do so, subject to the following 28ae701b60SGregory CLEMENT * conditions: 29ae701b60SGregory CLEMENT * 30ae701b60SGregory CLEMENT * The above copyright notice and this permission notice shall be 31ae701b60SGregory CLEMENT * included in all copies or substantial portions of the Software. 32ae701b60SGregory CLEMENT * 33ae701b60SGregory CLEMENT * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34ae701b60SGregory CLEMENT * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35ae701b60SGregory CLEMENT * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36ae701b60SGregory CLEMENT * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37ae701b60SGregory CLEMENT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38ae701b60SGregory CLEMENT * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39ae701b60SGregory CLEMENT * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40ae701b60SGregory CLEMENT * OTHER DEALINGS IN THE SOFTWARE. 41ae701b60SGregory CLEMENT */ 42ae701b60SGregory CLEMENT 43ae701b60SGregory CLEMENT/* 44ae701b60SGregory CLEMENT * Device Tree file for the Armada 70x0 SoC 45ae701b60SGregory CLEMENT */ 46ae701b60SGregory CLEMENT 47ae701b60SGregory CLEMENT#include "armada-cp110-master.dtsi" 48ae701b60SGregory CLEMENT 4963dac0f4SGregory CLEMENT/ { 5063dac0f4SGregory CLEMENT aliases { 5163dac0f4SGregory CLEMENT gpio1 = &cpm_gpio1; 5263dac0f4SGregory CLEMENT gpio2 = &cpm_gpio2; 53e2a393c6SThomas Petazzoni spi1 = &cpm_spi0; 54e2a393c6SThomas Petazzoni spi2 = &cpm_spi1; 5563dac0f4SGregory CLEMENT }; 5663dac0f4SGregory CLEMENT}; 5763dac0f4SGregory CLEMENT 5863dac0f4SGregory CLEMENT&cpm_gpio1 { 5963dac0f4SGregory CLEMENT status = "okay"; 6063dac0f4SGregory CLEMENT}; 6163dac0f4SGregory CLEMENT 6263dac0f4SGregory CLEMENT&cpm_gpio2 { 6363dac0f4SGregory CLEMENT status = "okay"; 6463dac0f4SGregory CLEMENT}; 6563dac0f4SGregory CLEMENT 66ae701b60SGregory CLEMENT&cpm_syscon0 { 67ae701b60SGregory CLEMENT cpm_pinctrl: pinctrl { 68ae701b60SGregory CLEMENT compatible = "marvell,armada-7k-pinctrl"; 6973ae5fe8SGregory CLEMENT 7073ae5fe8SGregory CLEMENT nand_pins: nand-pins { 7173ae5fe8SGregory CLEMENT marvell,pins = 7273ae5fe8SGregory CLEMENT "mpp15", "mpp16", "mpp17", "mpp18", 7373ae5fe8SGregory CLEMENT "mpp19", "mpp20", "mpp21", "mpp22", 7473ae5fe8SGregory CLEMENT "mpp23", "mpp24", "mpp25", "mpp26", 7573ae5fe8SGregory CLEMENT "mpp27"; 7673ae5fe8SGregory CLEMENT marvell,function = "dev"; 7773ae5fe8SGregory CLEMENT }; 7873ae5fe8SGregory CLEMENT 7973ae5fe8SGregory CLEMENT nand_rb: nand-rb { 8073ae5fe8SGregory CLEMENT marvell,pins = "mpp13"; 8173ae5fe8SGregory CLEMENT marvell,function = "nf"; 8273ae5fe8SGregory CLEMENT }; 83ae701b60SGregory CLEMENT }; 84ae701b60SGregory CLEMENT}; 85