blob: ec12298fd40cf5c9f274d96e7aca058a914fac0c [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/*
Marek Behúnd63726e2022-06-01 17:17:06 +02003 * Copyright (C) 2017 Marek Behún <kabel@kernel.org>
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
Pali Rohár9300f6c2022-04-08 16:30:15 +020031 crypto@64 {
Marek Behún58371682017-06-09 19:28:42 +020032 u-boot,dm-pre-reloc;
Marek Behún58371682017-06-09 19:28:42 +020033 };
34 };
35 };
36};
37
Rogier Stame0e10d42022-02-09 00:27:00 +010038#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
Marek Behún58371682017-06-09 19:28:42 +020039&spi0 {
40 u-boot,dm-pre-reloc;
41
Pali Rohár6458dea2022-07-27 14:47:38 +020042 flash@0 {
Marek Behún58371682017-06-09 19:28:42 +020043 u-boot,dm-pre-reloc;
Marek Behún3e83efa2021-07-15 19:21:01 +020044
45 partitions {
46 partition@0 {
47 reg = <0x0 CONFIG_ENV_OFFSET>;
48 };
49
50 partition@f0000 {
51 reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
52 label = "u-boot-env";
53 };
54 };
Marek Behún58371682017-06-09 19:28:42 +020055 };
56};
Rogier Stame0e10d42022-02-09 00:27:00 +010057#endif
Marek Behún58371682017-06-09 19:28:42 +020058
59&uart0 {
60 u-boot,dm-pre-reloc;
61};