summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2016-02-28 22:25:02 +0100
committerSimon Glass <sjg@chromium.org>2016-05-27 09:00:48 -0600
commit1c09a7fb9831278849eae4dfb153ddd570eb8c4c (patch)
tree4f8704fa052a9c170d8e4b6d7c66b72130918cff /arch/arm/dts
parent2f3920047ae7d70fef7bb9a0c7c5c0eee677d9f7 (diff)
downloadu-boot-imx-1c09a7fb9831278849eae4dfb153ddd570eb8c4c.zip
u-boot-imx-1c09a7fb9831278849eae4dfb153ddd570eb8c4c.tar.gz
u-boot-imx-1c09a7fb9831278849eae4dfb153ddd570eb8c4c.tar.bz2
rockchip: rk3288-firefly: Add gmac definition
Add a definition for the gmac interface to the firefly device-tree. Copied verbatim from the linux kernel. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/rk3288-firefly.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3288-firefly.dtsi b/arch/arm/dts/rk3288-firefly.dtsi
index 5aec1b8..072eaa6 100644
--- a/arch/arm/dts/rk3288-firefly.dtsi
+++ b/arch/arm/dts/rk3288-firefly.dtsi
@@ -146,6 +146,22 @@
status = "okay";
};
+&gmac {
+ assigned-clocks = <&cru SCLK_MAC>;
+ assigned-clock-parents = <&ext_gmac>;
+ clock_in_out = "input";
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
+ phy-supply = <&vcc_lan>;
+ phy-mode = "rgmii";
+ snps,reset-active-low;
+ snps,reset-delays-us = <0 10000 1000000>;
+ snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
+ tx_delay = <0x30>;
+ rx_delay = <0x10>;
+ status = "okay";
+};
+
&hdmi {
ddc-i2c-bus = <&i2c5>;
status = "okay";