mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Marek Behún](/assets/img/avatar_default.png)
The SPI NOR flash node name in main device tree for Turris Omnia is called `spi-nor@0`. Rename node spi-flash@0 in Turris Omnia's -u-boot.dtsi file to spi-nor@0 so that U-Boot does not try to probe the same SPI NOR device multiple times. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Pali Rohár <pali@kernel.org>
52 lines
624 B
Plaintext
52 lines
624 B
Plaintext
// 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 */
|
|
atsha204a@64 {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "atmel,atsha204a";
|
|
reg = <0x64>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&spi0 {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
spi-nor@0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|