diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2016-03-14 16:02:00 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-16 19:28:02 -0400 |
commit | af671e7bd96bc9bde623b0e6f75bfa4269c2c57f (patch) | |
tree | 74c5a48eeeda912af5d498242a9059d07def0d47 /arch/arm/boot/dts/rk3036-evb.dts | |
parent | 2c6fae2501d87ca94b5249df38797f02d4e39add (diff) | |
download | blackbird-op-linux-af671e7bd96bc9bde623b0e6f75bfa4269c2c57f.tar.gz blackbird-op-linux-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-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3036-evb.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3036-evb.dts b/arch/arm/boot/dts/rk3036-evb.dts index 28a033666017..b3d6ec87f615 100644 --- a/arch/arm/boot/dts/rk3036-evb.dts +++ b/arch/arm/boot/dts/rk3036-evb.dts @@ -47,6 +47,20 @@ compatible = "rockchip,rk3036-evb", "rockchip,rk3036"; }; +&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>; + }; +}; + &i2c1 { status = "okay"; |