]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: rockchip: enable gmac on rk3288-firefly
authorHeiko Stuebner <heiko@sntech.de>
Fri, 20 Feb 2015 00:31:57 +0000 (01:31 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 23 Feb 2015 09:12:31 +0000 (10:12 +0100)
This was left out of the original firefly board definition due to the
ethernet support going completely through the network tree, making the
underlying nodes unavailable.

Now that everything is present enable the gmac on the firefly.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-firefly.dtsi

index b9dda411e569a556f78306d0fe196eec96a03c14..b54dd78580c1c77a01035b62d8181d0cd995b18f 100644 (file)
        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 = "ok";
+};
+
 &hdmi {
        ddc-i2c-bus = <&i2c5>;
        status = "okay";