mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

The U-Boot build system can automatically paste -u-boot.dtsi at the end of matching .dts during build. Stop emulating this behavior and rename the -u-boot.dts files to -u-boot.dtsi, drop "#include...dts" from those new u-boot.dtsi files, and update board configuration accordingly. The rename, '#include...dts` scrubbing and configuration update has been done using the following script: ``` $ find . -name r[78]\*-u-boot.dts | sort -u | while read line ; do \ git mv ${line%-u-boot.dts}-u-boot.dts ${line%-u-boot.dts}-u-boot.dtsi ; \ done $ sed -i '/^#include.*dts"/ d' `find . -name r[78]\*-u-boot.dtsi` $ sed -i 's@-u-boot@@g' `git grep -li renesas configs` ``` The Salvator-X and ULCB board files have been updated manually. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Acked-by: Adam Ford <aford173@gmail.com>
32 lines
553 B
Text
32 lines
553 B
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree Source extras for U-Boot for the Draak board
|
|
*
|
|
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
|
|
*/
|
|
|
|
#include "r8a77995-u-boot.dtsi"
|
|
|
|
/ {
|
|
sysinfo {
|
|
compatible = "renesas,rcar-sysinfo";
|
|
i2c-eeprom = <&sysinfo_eeprom>;
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
bootph-all;
|
|
|
|
sysinfo_eeprom: eeprom@50 {
|
|
compatible = "rohm,br24t01", "atmel,24c01";
|
|
reg = <0x50>;
|
|
pagesize = <8>;
|
|
bootph-all;
|
|
};
|
|
};
|
|
|
|
&rpc {
|
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>;
|
|
status = "disabled";
|
|
};
|