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