aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3036-kylin.dts
diff options
context:
space:
mode:
authorXing Zheng <zhengxing@rock-chips.com>2016-03-14 16:02:00 +0800
committerDavid S. Miller <davem@davemloft.net>2016-03-16 19:28:02 -0400
commitaf671e7bd96bc9bde623b0e6f75bfa4269c2c57f (patch)
tree74c5a48eeeda912af5d498242a9059d07def0d47 /arch/arm/boot/dts/rk3036-kylin.dts
parentclk: rockchip: associate SCLK_MAC_PLL and disable reparenting on rk3036 (diff)
downloadlinux-dev-af671e7bd96bc9bde623b0e6f75bfa4269c2c57f.tar.xz
linux-dev-af671e7bd96bc9bde623b0e6f75bfa4269c2c57f.zip
ARM: dts: rockchip: add to support emac for rk3036 SoCs
This patch adds the emac device node for rk3036 SoCs. We need to let mac clock under the DPLL which is able to provide the accurate 50MHz what mac_ref need, since that will cause some unstable things if the cpufreq is working. Signed-off-by: Xing Zheng <zhengxing@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Cc: linux-rockchip@lists.infradead.org Cc: Xing Zheng <zhengxing@rock-chips.com> Cc: Heiko Stuebner <heiko@sntech.de> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/rk3036-kylin.dts')
-rw-r--r--arch/arm/boot/dts/rk3036-kylin.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts
index 992f9cadbc04..6b4ffc3cd590 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rk3036-kylin.dts
@@ -60,6 +60,20 @@
status = "okay";
};
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
+ phy = <&phy0>;
+ phy-reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* PHY_RST */
+ phy-reset-duration = <10>; /* millisecond */
+
+ status = "okay";
+
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+};
+
&emmc {
status = "okay";
};