summaryrefslogtreecommitdiff
path: root/arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi
blob: 840537c9d0b7ddc4502f0ba53226eadf798a62e3 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// SPDX-License-Identifier: GPL-2.0+
/*
 * U-Boot additions
 *
 * Copyright (C) 2020-2021 Intel Corporation <www.intel.com>
 */

#include "socfpga_n5x-u-boot.dtsi"

/{
	aliases {
		spi0 = &qspi;
		i2c0 = &i2c1;
	};

	memory {
		/*
		 * Memory type: DDR4 (non-interleaving mode)
		 * 16GB
		 *     <0 0x00000000 0 0x80000000>,
		 *     <4 0x80000000 3 0x80000000>;
		 *
		 * 8GB
		 *     <0 0x00000000 0 0x80000000>,
		 *     <2 0x80000000 1 0x80000000>;
		 *
		 * 4GB
		 *     <0 0x00000000 0 0x80000000>,
		 *     <1 0x80000000 0 0x80000000>;
		 *
		 * Memory type: LPDDR4 (non-interleaving mode)
		 * Total memory size 3GB, usable = 2.5GB, 0.5GB trade off for secure
		 * region.
		 */
		reg = <0 0x00000000 0 0x60000000>,
			  <0x10 0x00100000 0 0x40000000>;
	};
};

&flash0 {
	compatible = "jedec,spi-nor";
	spi-tx-bus-width = <4>;
	spi-rx-bus-width = <4>;
	bootph-all;
};

&i2c1 {
	status = "okay";
};

&mmc {
	drvsel = <3>;
	smplsel = <0>;
	bootph-all;
};

&qspi {
	status = "okay";
};

&watchdog0 {
	bootph-all;
};