blob: 64ebe2c6d47b2cf5972d98f68a67ce111949b1b5 [file] [log] [blame]
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2017 Marek Behun <marek.behun@nic.cz>
*/
/ {
aliases {
i2c0 = &i2c0;
i2c1 = &i2cmux;
spi0 = &spi0;
};
};
&i2c0 {
u-boot,dm-pre-reloc;
i2cmux: i2cmux@70 {
u-boot,dm-pre-reloc;
i2c@0 {
u-boot,dm-pre-reloc;
};
i2c@1 {
u-boot,dm-pre-reloc;
};
i2c@5 {
u-boot,dm-pre-reloc;
/* ATSHA204A at address 0x64 */
crypto@64 {
u-boot,dm-pre-reloc;
compatible = "atmel,atsha204a";
reg = <0x64>;
};
};
};
};
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
&spi0 {
u-boot,dm-pre-reloc;
spi-nor@0 {
u-boot,dm-pre-reloc;
partitions {
partition@0 {
reg = <0x0 CONFIG_ENV_OFFSET>;
};
partition@f0000 {
reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
label = "u-boot-env";
};
};
};
};
#endif
&uart0 {
u-boot,dm-pre-reloc;
};