mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
644b986470
Specify a separate partition `u-boot-env` for U-Boot's env settings for the Turris Omnia board. Do this only in U-Boot's specific DTS. We do not want to do this in Linux' official DTS, because Omnia's stock U-Boot stores env at a different address, and there are still boards with stock U-Boot. In a subsequent patch will add board code that fixes Linux's DTB before booting Linux. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
62 lines
804 B
Text
62 lines
804 B
Text
// 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;
|
|
|
|
partitions {
|
|
partition@0 {
|
|
reg = <0x0 CONFIG_ENV_OFFSET>;
|
|
};
|
|
|
|
partition@f0000 {
|
|
reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>;
|
|
label = "u-boot-env";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|