summaryrefslogtreecommitdiff
path: root/arch/arm/dts/kirkwood-db-88f6281-spi.dts
blob: 50b1b0d4a5359f3c30220ce7bbf61444a2eb37a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: GPL-2.0
/*
 * Marvell DB-88F6281-BP Development Board Setup
 *
 * Saeed Bishara <saeed@marvell.com>
 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 *
 */

/dts-v1/;

#include "kirkwood-db-88f6281.dts"

/ {
	aliases {
		spi0 = &spi0;
	};
};

&spi0 {
	status = "okay";

	flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "st,m25p128", "jedec,spi-nor", "spi-flash";
		reg = <0>;
		spi-max-frequency = <50000000>;
		mode = <0>;

		partition@u-boot {
			reg = <0x00000000 0x00c00000>;
			label = "u-boot";
		};
		partition@u-boot-env {
			reg = <0x00c00000 0x00040000>;
			label = "u-boot-env";
		};
		partition@unused {
			reg = <0x00100000 0x00f00000>;
			label = "unused";
		};
	};
};

&nand {
	status = "disabled";
};