summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77990-ebisu.dts
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-05-31 18:30:17 +0200
committerMarek Vasut <marex@denx.de>2018-06-01 09:47:22 +0200
commit0bb5d24852d8051b70b2becc74f3a2c4fb925dbb (patch)
tree9a7f1b4e032f96670f84db057015c5139cf7d8b0 /arch/arm/dts/r8a77990-ebisu.dts
parent63e22517a39046d62b86ebf0f7fe6e0db575f339 (diff)
downloadu-boot-0bb5d24852d8051b70b2becc74f3a2c4fb925dbb.tar.gz
u-boot-0bb5d24852d8051b70b2becc74f3a2c4fb925dbb.tar.bz2
u-boot-0bb5d24852d8051b70b2becc74f3a2c4fb925dbb.zip
ARM: dts: rmobile: Sync R8A77990 Ebisu DTS with Linux
Import the R8A77990 and Ebisu DTS from linux-next to get the latest version. This makes AVB ethernet work in U-Boot since the ethernet node is now present in DT, as well as GPIOs. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/dts/r8a77990-ebisu.dts')
-rw-r--r--arch/arm/dts/r8a77990-ebisu.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77990-ebisu.dts b/arch/arm/dts/r8a77990-ebisu.dts
index 63ee1347bb..7a09d0524f 100644
--- a/arch/arm/dts/r8a77990-ebisu.dts
+++ b/arch/arm/dts/r8a77990-ebisu.dts
@@ -7,6 +7,7 @@
/dts-v1/;
#include "r8a77990.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Renesas Ebisu board based on r8a77990";
@@ -14,6 +15,7 @@
aliases {
serial0 = &scif2;
+ ethernet0 = &avb;
};
chosen {
@@ -28,10 +30,36 @@
};
};
+&avb {
+ pinctrl-0 = <&avb_pins>;
+ pinctrl-names = "default";
+ renesas,no-ether-link;
+ phy-handle = <&phy0>;
+ phy-mode = "rgmii-txid";
+ status = "okay";
+
+ phy0: ethernet-phy@0 {
+ rxc-skew-ps = <1500>;
+ reg = <0>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
+ };
+};
+
&extal_clk {
clock-frequency = <48000000>;
};
+&pfc {
+ avb_pins: avb {
+ mux {
+ groups = "avb_link", "avb_mii";
+ function = "avb";
+ };
+ };
+};
+
&scif2 {
status = "okay";
};