mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
c2502e7b82
This device tree is taken from mainline Linux kernel commit 7b7db5ab. Added is also a -u-boot.dtsi file with these additions: - aliases for I2C and SPI devices are added, because i2cmux and SPI flash doesn't work otherwise - spi_flash node has been added so that the new DM API works - the ATSHA204A node is added in the i2c@5 node - "u-boot,dm-pre-reloc"s are added in needed nodes for SPL build to work correctly Signed-off-by: Marek Behun <marek.behun@nic.cz> create mode 100644 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi create mode 100644 arch/arm/dts/armada-385-turris-omnia.dts Signed-off-by: Stefan Roese <sr@denx.de>
55 lines
708 B
Text
55 lines
708 B
Text
/*
|
|
* Copyright (C) 2017 Marek Behun <marek.behun@nic.cz>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/ {
|
|
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-flash@0 {
|
|
compatible = "spi-flash";
|
|
reg = <0>;
|
|
spi-max-frequency = <40000000>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|