blob: 509d6ca69cdd83a059efa7c29d997c6f7e66f70e [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Marek Behúnc2502e72017-06-09 19:28:42 +02002/*
Marek Behún61143f72022-06-01 17:17:06 +02003 * Copyright (C) 2017 Marek Behún <kabel@kernel.org>
Marek Behúnc2502e72017-06-09 19:28:42 +02004 */
5
6/ {
7 aliases {
8 i2c0 = &i2c0;
9 i2c1 = &i2cmux;
10 spi0 = &spi0;
11 };
12};
13
14&i2c0 {
Simon Glass8c103c32023-02-13 08:56:33 -070015 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020016
17 i2cmux: i2cmux@70 {
Simon Glass8c103c32023-02-13 08:56:33 -070018 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020019
20 i2c@0 {
Simon Glass8c103c32023-02-13 08:56:33 -070021 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020022 };
23
24 i2c@1 {
Simon Glass8c103c32023-02-13 08:56:33 -070025 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020026 };
27
28 i2c@5 {
Simon Glass8c103c32023-02-13 08:56:33 -070029 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020030
Pali Rohár08b99b62022-04-08 16:30:15 +020031 crypto@64 {
Simon Glass8c103c32023-02-13 08:56:33 -070032 bootph-all;
Marek Behúnc2502e72017-06-09 19:28:42 +020033 };
34 };
35 };
36};
37
Rogier Stama37b6882022-02-09 00:27:00 +010038#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
Marek Behúnc2502e72017-06-09 19:28:42 +020039&spi0 {
Pali Rohár16231162022-07-27 14:47:38 +020040 flash@0 {
Marek Behún644b9862021-07-15 19:21:01 +020041 partitions {
42 partition@0 {
43 reg = <0x0 CONFIG_ENV_OFFSET>;
44 };
45
46 partition@f0000 {
47 reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
48 label = "u-boot-env";
49 };
50 };
Marek Behúnc2502e72017-06-09 19:28:42 +020051 };
52};
Rogier Stama37b6882022-02-09 00:27:00 +010053#endif
Marek Behúnc2502e72017-06-09 19:28:42 +020054
Pali Rohár5d4d1212022-08-03 13:00:51 +020055#include "mvebu-u-boot.dtsi"