summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77970-eagle-u-boot.dts
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-12-03 20:45:22 +0100
committerMarek Vasut <marex@denx.de>2018-12-04 09:21:07 +0100
commit1172ade967ee594a8075f2d80083a2b04329da29 (patch)
tree34f24d5c07ebfbf93ab7de35f3a0bb2903efc3cd /arch/arm/dts/r8a77970-eagle-u-boot.dts
parent830b94f76867628b990d31b7813bb21e868e3dd9 (diff)
ARM: dts: rmobile: Extract AVB node extras on V3M Eagle
The AVB node is not complete in Linux 4.17 DTs on V3M Eagle, pull the AVB node extras into U-Boot specific DT until they hit mainline Linux, to make syncing of DTs easier. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- V2: Rebase on u-boot/master
Diffstat (limited to 'arch/arm/dts/r8a77970-eagle-u-boot.dts')
-rw-r--r--arch/arm/dts/r8a77970-eagle-u-boot.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77970-eagle-u-boot.dts b/arch/arm/dts/r8a77970-eagle-u-boot.dts
index 0c716deb6f..5b17f1d1f0 100644
--- a/arch/arm/dts/r8a77970-eagle-u-boot.dts
+++ b/arch/arm/dts/r8a77970-eagle-u-boot.dts
@@ -7,6 +7,7 @@
#include "r8a77970-eagle.dts"
#include "r8a77970-u-boot.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
aliases {
@@ -14,6 +15,25 @@
};
};
+&avb {
+ pinctrl-0 = <&avb0_pins>;
+ pinctrl-names = "default";
+
+};
+
+&phy0 {
+ reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+};
+
+&pfc {
+ avb0_pins: avb {
+ mux {
+ groups = "avb0_link", "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
+ function = "avb0";
+ };
+ };
+};
+
&rpc {
num-cs = <1>;
status = "okay";