1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2016- 2021 Marvell International Ltd. 4 */ 5 6/* 7 * Device Tree file for the Armada 7040 SoC, made of an AP806 Quad and 8 * one CP110. 9 */ 10 11#include <dt-bindings/gpio/gpio.h> 12#include "armada-common.dtsi" 13#include "armada-8k.dtsi" 14#include "armada-ap806.dtsi" 15#include "armada-ap80x-quad.dtsi" 16 17/* CP110-0 Settings */ 18#define CP110_NAME cp0 19#define CP110_NUM 0 20 21#include "armada-cp110.dtsi" 22 23#undef CP110_NAME 24#undef CP110_NUM 25 26/ { 27 model = "Marvell Armada 7040"; 28 compatible = "marvell,armada7040", "marvell,armada-ap806-quad", 29 "marvell,armada-ap806"; 30}; 31 32&cp0_pinctl { 33 compatible = "marvell,mvebu-pinctrl", "marvell,7k-pinctrl"; 34 bank-name ="cp0-110"; 35 36 cp0_i2c0_pins: cp0-i2c-pins-0 { 37 marvell,pins = < 37 38 >; 38 marvell,function = <2>; 39 }; 40 cp0_i2c1_pins: cp0-i2c-pins-1 { 41 marvell,pins = < 35 36 >; 42 marvell,function = <2>; 43 }; 44 cp0_ge1_rgmii_pins: cp0-ge-rgmii-pins-0 { 45 marvell,pins = < 0 1 2 3 4 5 6 7 8 9 10 11>; 46 marvell,function = <3>; 47 }; 48 cp0_ge2_rgmii_pins: cp0-ge-rgmii-pins-1 { 49 marvell,pins = < 44 45 46 47 48 49 50 51 50 52 53 54 55 >; 51 marvell,function = <1>; 52 }; 53 cp0_pca0_pins: cp0-pca0_pins { 54 marvell,pins = <62>; 55 marvell,function = <0>; 56 }; 57 cp0_sdhci_pins: cp0-sdhi-pins-0 { 58 marvell,pins = < 56 57 58 59 60 61 >; 59 marvell,function = <14>; 60 }; 61 cp0_spi0_pins: cp0-spi-pins-0 { 62 marvell,pins = < 13 14 15 16 >; 63 marvell,function = <3>; 64 }; 65}; 66