1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2017 Marek Behun <marek.behun@nic.cz>
4 */
5
6/ {
7	aliases {
8		i2c0 = &i2c0;
9		i2c1 = &i2cmux;
10		spi0 = &spi0;
11	};
12};
13
14&i2c0 {
15	u-boot,dm-pre-reloc;
16
17	i2cmux: i2cmux@70 {
18		u-boot,dm-pre-reloc;
19
20		i2c@0 {
21			u-boot,dm-pre-reloc;
22		};
23
24		i2c@1 {
25			u-boot,dm-pre-reloc;
26		};
27
28		i2c@5 {
29			u-boot,dm-pre-reloc;
30
31			/* ATSHA204A at address 0x64 */
32			atsha204a@64 {
33				u-boot,dm-pre-reloc;
34				compatible = "atmel,atsha204a";
35				reg = <0x64>;
36			};
37		};
38	};
39};
40
41&spi0 {
42	u-boot,dm-pre-reloc;
43
44	spi-nor@0 {
45		u-boot,dm-pre-reloc;
46
47		partitions {
48			partition@0 {
49				reg = <0x0 CONFIG_ENV_OFFSET>;
50			};
51
52			partition@f0000 {
53				reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
54				label = "u-boot-env";
55			};
56		};
57	};
58};
59
60&uart0 {
61	u-boot,dm-pre-reloc;
62};
63