xref: /linux/arch/arm64/boot/dts/marvell/armada-7040-db.dts (revision ec7e5a569bce9f06410671fdaf37e4c42eeea362)
1*ec7e5a56SThomas Petazzoni/*
2*ec7e5a56SThomas Petazzoni * Copyright (C) 2016 Marvell Technology Group Ltd.
3*ec7e5a56SThomas Petazzoni *
4*ec7e5a56SThomas Petazzoni * This file is dual-licensed: you can use it either under the terms
5*ec7e5a56SThomas Petazzoni * of the GPLv2 or the X11 license, at your option. Note that this dual
6*ec7e5a56SThomas Petazzoni * licensing only applies to this file, and not this project as a
7*ec7e5a56SThomas Petazzoni * whole.
8*ec7e5a56SThomas Petazzoni *
9*ec7e5a56SThomas Petazzoni *  a) This library is free software; you can redistribute it and/or
10*ec7e5a56SThomas Petazzoni *     modify it under the terms of the GNU General Public License as
11*ec7e5a56SThomas Petazzoni *     published by the Free Software Foundation; either version 2 of the
12*ec7e5a56SThomas Petazzoni *     License, or (at your option) any later version.
13*ec7e5a56SThomas Petazzoni *
14*ec7e5a56SThomas Petazzoni *     This library is distributed in the hope that it will be useful,
15*ec7e5a56SThomas Petazzoni *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*ec7e5a56SThomas Petazzoni *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*ec7e5a56SThomas Petazzoni *     GNU General Public License for more details.
18*ec7e5a56SThomas Petazzoni *
19*ec7e5a56SThomas Petazzoni * Or, alternatively,
20*ec7e5a56SThomas Petazzoni *
21*ec7e5a56SThomas Petazzoni *  b) Permission is hereby granted, free of charge, to any person
22*ec7e5a56SThomas Petazzoni *     obtaining a copy of this software and associated documentation
23*ec7e5a56SThomas Petazzoni *     files (the "Software"), to deal in the Software without
24*ec7e5a56SThomas Petazzoni *     restriction, including without limitation the rights to use,
25*ec7e5a56SThomas Petazzoni *     copy, modify, merge, publish, distribute, sublicense, and/or
26*ec7e5a56SThomas Petazzoni *     sell copies of the Software, and to permit persons to whom the
27*ec7e5a56SThomas Petazzoni *     Software is furnished to do so, subject to the following
28*ec7e5a56SThomas Petazzoni *     conditions:
29*ec7e5a56SThomas Petazzoni *
30*ec7e5a56SThomas Petazzoni *     The above copyright notice and this permission notice shall be
31*ec7e5a56SThomas Petazzoni *     included in all copies or substantial portions of the Software.
32*ec7e5a56SThomas Petazzoni *
33*ec7e5a56SThomas Petazzoni *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*ec7e5a56SThomas Petazzoni *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*ec7e5a56SThomas Petazzoni *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*ec7e5a56SThomas Petazzoni *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*ec7e5a56SThomas Petazzoni *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*ec7e5a56SThomas Petazzoni *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*ec7e5a56SThomas Petazzoni *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*ec7e5a56SThomas Petazzoni *     OTHER DEALINGS IN THE SOFTWARE.
41*ec7e5a56SThomas Petazzoni */
42*ec7e5a56SThomas Petazzoni
43*ec7e5a56SThomas Petazzoni/*
44*ec7e5a56SThomas Petazzoni * Device Tree file for Marvell Armada 7040 Development board platform
45*ec7e5a56SThomas Petazzoni */
46*ec7e5a56SThomas Petazzoni
47*ec7e5a56SThomas Petazzoni#include "armada-7040.dtsi"
48*ec7e5a56SThomas Petazzoni
49*ec7e5a56SThomas Petazzoni/ {
50*ec7e5a56SThomas Petazzoni	model = "Marvell Armada 7040 DB board";
51*ec7e5a56SThomas Petazzoni	compatible = "marvell,armada7040-db", "marvell,armada7040",
52*ec7e5a56SThomas Petazzoni		     "marvell,armada-ap806-quad", "marvell,armada-ap806";
53*ec7e5a56SThomas Petazzoni
54*ec7e5a56SThomas Petazzoni	memory@00000000 {
55*ec7e5a56SThomas Petazzoni		device_type = "memory";
56*ec7e5a56SThomas Petazzoni		reg = <0x0 0x0 0x0 0x80000000>;
57*ec7e5a56SThomas Petazzoni	};
58*ec7e5a56SThomas Petazzoni
59*ec7e5a56SThomas Petazzoni	ap806 {
60*ec7e5a56SThomas Petazzoni		config-space {
61*ec7e5a56SThomas Petazzoni			spi@510600 {
62*ec7e5a56SThomas Petazzoni				status = "okay";
63*ec7e5a56SThomas Petazzoni
64*ec7e5a56SThomas Petazzoni				spi-flash@0 {
65*ec7e5a56SThomas Petazzoni					#address-cells = <1>;
66*ec7e5a56SThomas Petazzoni					#size-cells = <1>;
67*ec7e5a56SThomas Petazzoni					compatible = "n25q128a13";
68*ec7e5a56SThomas Petazzoni					reg = <0>; /* Chip select 0 */
69*ec7e5a56SThomas Petazzoni					spi-max-frequency = <10000000>;
70*ec7e5a56SThomas Petazzoni
71*ec7e5a56SThomas Petazzoni					partition@0 {
72*ec7e5a56SThomas Petazzoni						label = "U-Boot";
73*ec7e5a56SThomas Petazzoni						reg = <0 0x200000>;
74*ec7e5a56SThomas Petazzoni					};
75*ec7e5a56SThomas Petazzoni					partition@400000 {
76*ec7e5a56SThomas Petazzoni						label = "Filesystem";
77*ec7e5a56SThomas Petazzoni						reg = <0x200000 0xce0000>;
78*ec7e5a56SThomas Petazzoni					};
79*ec7e5a56SThomas Petazzoni				};
80*ec7e5a56SThomas Petazzoni			};
81*ec7e5a56SThomas Petazzoni
82*ec7e5a56SThomas Petazzoni			i2c@511000 {
83*ec7e5a56SThomas Petazzoni				status = "okay";
84*ec7e5a56SThomas Petazzoni				clock-frequency = <100000>;
85*ec7e5a56SThomas Petazzoni			};
86*ec7e5a56SThomas Petazzoni
87*ec7e5a56SThomas Petazzoni			serial@512000 {
88*ec7e5a56SThomas Petazzoni				status = "okay";
89*ec7e5a56SThomas Petazzoni			};
90*ec7e5a56SThomas Petazzoni		};
91*ec7e5a56SThomas Petazzoni	};
92*ec7e5a56SThomas Petazzoni};
93