blob: 039d30c72a8c09339bb0882cf25615e234af260b [file] [log] [blame]
Konstantin Porotchkina0ba97e2021-01-17 17:19:49 +02001// SPDX-License-Identifier: GPL-2.0+
Stefan Roese13354832016-05-25 08:23:31 +02002/*
Konstantin Porotchkina0ba97e2021-01-17 17:19:49 +02003 * Copyright (C) 2016- 2021 Marvell International Ltd.
Stefan Roese13354832016-05-25 08:23:31 +02004 */
5
6/*
7 * Device Tree file for the Armada 7040 SoC, made of an AP806 Quad and
8 * one CP110.
9 */
10
Konstantin Porotchkin9eb34682017-02-08 17:34:11 +020011#include <dt-bindings/gpio/gpio.h>
Konstantin Porotchkina0ba97e2021-01-17 17:19:49 +020012#include "armada-common.dtsi"
13#include "armada-8k.dtsi"
Konstantin Porotchkinb1c81b42021-02-23 14:11:36 +010014#include "armada-ap806.dtsi"
15#include "armada-ap80x-quad.dtsi"
Konstantin Porotchkina0ba97e2021-01-17 17:19:49 +020016
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
Stefan Roese13354832016-05-25 08:23:31 +020025
26/ {
27 model = "Marvell Armada 7040";
28 compatible = "marvell,armada7040", "marvell,armada-ap806-quad",
29 "marvell,armada-ap806";
30};
Konstantin Porotchkina0ba97e2021-01-17 17:19:49 +020031
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};