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-flash@0 {
45		compatible = "spi-flash";
46		reg = <0>;
47		spi-max-frequency = <40000000>;
48		u-boot,dm-pre-reloc;
49	};
50};
51
52&uart0 {
53	u-boot,dm-pre-reloc;
54};
55