mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
71d2a5e5ef
Synchronize R-Car device trees with Linux 6.1.7, commit 21e996306a6afaae88295858de0ffb8955173a15 . The following script has been used for the synchronization: $ for i in $(cd arch/arm/dts/ ; ls -1 r8a* | grep -v 'u-boot.dts' ; sed -n '/#include/ s@.*"\(.*\)"@\1@p' $(ls -1 r8a* | grep -v 'u-boot.dts')) ; do if [ -e /linux-2.6/arch/arm64/boot/dts/renesas/$i ] ; then cp /linux-2.6/arch/arm64/boot/dts/renesas/$i arch/arm/dts/ ; elif [ -e /linux-2.6/arch/arm/boot/dts/$i ] ; then cp /linux-2.6/arch/arm/boot/dts/$i arch/arm/dts/ else echo "NOT FOUND: $i" fi done $ git add $( ( cd arch/arm/dts/ ; ls -1 r8a* | grep -v 'u-boot.dts' ; sed -n '/#include/ s@.*"\(.*\)"@\1@p' $(ls -1 r8a* | grep -v 'u-boot.dts')) | tr " " "\n" | sed 's@^@arch/arm/dts/@g' ) Move the include/dt-bindings/{clk,clock}/versaclock.h header used by the renesas boards to match Linux 6.1.y as well. Keep arch/arm/dts/r8a774c0-u-boot.dtsi sdhi3 node as it is now used by the arch/arm/dts/r8a774c0-cat874.dts board. Pick s@spi-flash@flash@ change in arch/arm/dts/r8a779a0-falcon-u-boot.dts from "ARM: dts: Synchronize R-Car V3U DTs with Linux 5.18.3" . Adjust R8A77990 Ebisu CONFIG_SYS_MMC_ENV_DEV from 2 to 0 to reflect the card enumeration in ebisu.dtsi /aliases DT node . Adjust R8A7795 and R8A7796 ULCB CONFIG_SYS_MMC_ENV_DEV from 1 to 0 to reflect the card enumeration in ulcb.dtsi /aliases DT node . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com> # r8a779a0-falcon-u-boot.dts Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> # r8a779a0-falcon-u-boot.dts
92 lines
1.6 KiB
Text
92 lines
1.6 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree Source for the Falcon CPU and BreakOut boards with R-Car V3U
|
|
*
|
|
* Copyright (C) 2020 Renesas Electronics Corp.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "r8a779a0-falcon-cpu.dtsi"
|
|
#include "r8a779a0-falcon-csi-dsi.dtsi"
|
|
#include "r8a779a0-falcon-ethernet.dtsi"
|
|
|
|
/ {
|
|
model = "Renesas Falcon CPU and Breakout boards based on r8a779a0";
|
|
compatible = "renesas,falcon-breakout", "renesas,falcon-cpu", "renesas,r8a779a0";
|
|
|
|
aliases {
|
|
ethernet0 = &avb0;
|
|
};
|
|
};
|
|
|
|
&avb0 {
|
|
pinctrl-0 = <&avb0_pins>;
|
|
pinctrl-names = "default";
|
|
phy-handle = <&phy0>;
|
|
tx-internal-delay-ps = <2000>;
|
|
status = "okay";
|
|
|
|
phy0: ethernet-phy@0 {
|
|
compatible = "ethernet-phy-id0022.1622",
|
|
"ethernet-phy-ieee802.3-c22";
|
|
rxc-skew-ps = <1500>;
|
|
reg = <0>;
|
|
interrupt-parent = <&gpio4>;
|
|
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
|
|
reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&canfd {
|
|
pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
|
|
channel0 {
|
|
status = "okay";
|
|
};
|
|
|
|
channel1 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
eeprom@51 {
|
|
compatible = "rohm,br24g01", "atmel,24c01";
|
|
label = "breakout-board";
|
|
reg = <0x51>;
|
|
pagesize = <8>;
|
|
};
|
|
};
|
|
|
|
&pfc {
|
|
avb0_pins: avb0 {
|
|
mux {
|
|
groups = "avb0_link", "avb0_mdio", "avb0_rgmii",
|
|
"avb0_txcrefclk";
|
|
function = "avb0";
|
|
};
|
|
|
|
pins_mdio {
|
|
groups = "avb0_mdio";
|
|
drive-strength = <21>;
|
|
};
|
|
|
|
pins_mii {
|
|
groups = "avb0_rgmii";
|
|
drive-strength = <21>;
|
|
};
|
|
|
|
};
|
|
|
|
canfd0_pins: canfd0 {
|
|
groups = "canfd0_data";
|
|
function = "canfd0";
|
|
};
|
|
|
|
canfd1_pins: canfd1 {
|
|
groups = "canfd1_data";
|
|
function = "canfd1";
|
|
};
|
|
};
|