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 80x0 SoC family 45ae701b60SGregory CLEMENT */ 46ae701b60SGregory CLEMENT 47ae701b60SGregory CLEMENT#include "armada-cp110-master.dtsi" 48ae701b60SGregory CLEMENT#include "armada-cp110-slave.dtsi" 49ae701b60SGregory CLEMENT 5063dac0f4SGregory CLEMENT/ { 5163dac0f4SGregory CLEMENT aliases { 5263dac0f4SGregory CLEMENT gpio1 = &cps_gpio1; 5363dac0f4SGregory CLEMENT gpio2 = &cpm_gpio2; 54e2a393c6SThomas Petazzoni spi1 = &cpm_spi0; 55e2a393c6SThomas Petazzoni spi2 = &cpm_spi1; 56e2a393c6SThomas Petazzoni spi3 = &cps_spi0; 57e2a393c6SThomas Petazzoni spi4 = &cps_spi1; 5863dac0f4SGregory CLEMENT }; 5963dac0f4SGregory CLEMENT}; 6063dac0f4SGregory CLEMENT 6163dac0f4SGregory CLEMENT/* The 80x0 has two CP blocks, but uses only one block from each. */ 6263dac0f4SGregory CLEMENT&cps_gpio1 { 6363dac0f4SGregory CLEMENT status = "okay"; 6463dac0f4SGregory CLEMENT}; 6563dac0f4SGregory CLEMENT 6663dac0f4SGregory CLEMENT&cpm_gpio2 { 6763dac0f4SGregory CLEMENT status = "okay"; 6863dac0f4SGregory CLEMENT}; 6963dac0f4SGregory CLEMENT 70ae701b60SGregory CLEMENT&cpm_syscon0 { 71ae701b60SGregory CLEMENT cpm_pinctrl: pinctrl { 72ae701b60SGregory CLEMENT compatible = "marvell,armada-8k-cpm-pinctrl"; 73ae701b60SGregory CLEMENT }; 74ae701b60SGregory CLEMENT}; 75ae701b60SGregory CLEMENT 76ae701b60SGregory CLEMENT&cps_syscon0 { 77ae701b60SGregory CLEMENT cps_pinctrl: pinctrl { 78ae701b60SGregory CLEMENT compatible = "marvell,armada-8k-cps-pinctrl"; 797b31e3adSMiquel Raynal 807b31e3adSMiquel Raynal nand_pins: nand-pins { 817b31e3adSMiquel Raynal marvell,pins = 827b31e3adSMiquel Raynal "mpp0", "mpp1", "mpp2", "mpp3", 837b31e3adSMiquel Raynal "mpp4", "mpp5", "mpp6", "mpp7", 847b31e3adSMiquel Raynal "mpp8", "mpp9", "mpp10", "mpp11", 857b31e3adSMiquel Raynal "mpp15", "mpp16", "mpp17", "mpp18", 867b31e3adSMiquel Raynal "mpp19", "mpp20", "mpp21", "mpp22", 877b31e3adSMiquel Raynal "mpp23", "mpp24", "mpp25", "mpp26", 887b31e3adSMiquel Raynal "mpp27"; 897b31e3adSMiquel Raynal marvell,function = "dev"; 907b31e3adSMiquel Raynal }; 917b31e3adSMiquel Raynal 927b31e3adSMiquel Raynal nand_rb: nand-rb { 937b31e3adSMiquel Raynal marvell,pins = "mpp13", "mpp12"; 947b31e3adSMiquel Raynal marvell,function = "nf"; 957b31e3adSMiquel Raynal }; 96ae701b60SGregory CLEMENT }; 97ae701b60SGregory CLEMENT}; 98