aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
blob: 64ebe2c6d47b2cf5972d98f68a67ce111949b1b5 (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
64
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2017 Marek Behun <marek.behun@nic.cz>
 */

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

&i2c0 {
	u-boot,dm-pre-reloc;

	i2cmux: i2cmux@70 {
		u-boot,dm-pre-reloc;

		i2c@0 {
			u-boot,dm-pre-reloc;
		};

		i2c@1 {
			u-boot,dm-pre-reloc;
		};

		i2c@5 {
			u-boot,dm-pre-reloc;

			/* ATSHA204A at address 0x64 */
			crypto@64 {
				u-boot,dm-pre-reloc;
				compatible = "atmel,atsha204a";
				reg = <0x64>;
			};
		};
	};
};

#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
&spi0 {
	u-boot,dm-pre-reloc;

	spi-nor@0 {
		u-boot,dm-pre-reloc;

		partitions {
			partition@0 {
				reg = <0x0 CONFIG_ENV_OFFSET>;
			};

			partition@f0000 {
				reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
				label = "u-boot-env";
			};
		};
	};
};
#endif

&uart0 {
	u-boot,dm-pre-reloc;
};