mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +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>
91 lines
1.5 KiB
Text
91 lines
1.5 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree Source extras for U-Boot for the GR Peach board
|
|
*
|
|
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
|
|
*/
|
|
|
|
|
|
/ {
|
|
aliases {
|
|
spi0 = &rpc;
|
|
};
|
|
|
|
soc {
|
|
bootph-all;
|
|
};
|
|
|
|
leds {
|
|
led1 {
|
|
label = "peach:bottom:red";
|
|
};
|
|
|
|
led-red {
|
|
label = "peach:tri:red";
|
|
gpios = <&port6 13 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-green {
|
|
label = "peach:tri:green";
|
|
gpios = <&port6 14 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-blue {
|
|
label = "peach:tri:blue";
|
|
gpios = <&port6 15 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
reg_usbhs0_vbus: regulator-usbhs0-vbus {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "usbhs0_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&port4 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
|
|
rpc: spi@ee200000 {
|
|
compatible = "renesas,r7s72100-rpc-if";
|
|
reg = <0x3fefa000 0x100>, <0x18000000 0x08000000>;
|
|
bank-width = <2>;
|
|
num-cs = <1>;
|
|
status = "okay";
|
|
spi-max-frequency = <50000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
flash0: spi-flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <1>;
|
|
reg = <0>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
&ostm0 {
|
|
bootph-all;
|
|
};
|
|
|
|
&pinctrl {
|
|
bootph-all;
|
|
};
|
|
|
|
&scif2 {
|
|
bootph-all;
|
|
clock = <66666666>; /* ToDo: Replace by DM clock driver */
|
|
};
|
|
|
|
&scif2_pins {
|
|
bootph-all;
|
|
};
|
|
|
|
&usbhs0 {
|
|
vbus-supply = <®_usbhs0_vbus>;
|
|
status = "okay";
|
|
};
|