blob: 3ff76c946294fa2b870ad6fb6bf95ae98dab7ad8 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Marek Behún58371682017-06-09 19:28:42 +02002/*
3 * Copyright (C) 2017 Marek Behun <marek.behun@nic.cz>
Marek Behún58371682017-06-09 19:28:42 +02004 */
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
Marek Behúndf403b72021-02-09 03:43:03 +010044 spi-nor@0 {
Marek Behún58371682017-06-09 19:28:42 +020045 u-boot,dm-pre-reloc;
Marek Behún3e83efa2021-07-15 19:21:01 +020046
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 };
Marek Behún58371682017-06-09 19:28:42 +020057 };
58};
59
60&uart0 {
61 u-boot,dm-pre-reloc;
62};