提交 89f66876 编写于 作者: R Romain Perier 提交者: Heiko Stuebner

ARM: dts: rockchip: Add EMAC Rockchip for RK3066 SoCs

This patch adds the right pins topology for the MAC and MDIO
found in RK3066 SoCs. Boards based on this SoC have an
initial support for the emac-rockchip dt-binding.
Signed-off-by: NRomain Perier <romain.perier@gmail.com>
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 11bd57b8
...@@ -234,6 +234,24 @@ ...@@ -234,6 +234,24 @@
bias-disable; bias-disable;
}; };
emac {
emac_xfer: emac-xfer {
rockchip,pins = <RK_GPIO1 16 RK_FUNC_2 &pcfg_pull_none>, /* mac_clk */
<RK_GPIO1 17 RK_FUNC_2 &pcfg_pull_none>, /* tx_en */
<RK_GPIO1 18 RK_FUNC_2 &pcfg_pull_none>, /* txd1 */
<RK_GPIO1 19 RK_FUNC_2 &pcfg_pull_none>, /* txd0 */
<RK_GPIO1 20 RK_FUNC_2 &pcfg_pull_none>, /* rx_err */
<RK_GPIO1 21 RK_FUNC_2 &pcfg_pull_none>, /* crs_dvalid */
<RK_GPIO1 22 RK_FUNC_2 &pcfg_pull_none>, /* rxd1 */
<RK_GPIO1 23 RK_FUNC_2 &pcfg_pull_none>; /* rxd0 */
};
emac_mdio: emac-mdio {
rockchip,pins = <RK_GPIO1 24 RK_FUNC_2 &pcfg_pull_none>, /* mac_md */
<RK_GPIO1 25 RK_FUNC_2 &pcfg_pull_none>; /* mac_mdclk */
};
};
emmc { emmc {
emmc_clk: emmc-clk { emmc_clk: emmc-clk {
rockchip,pins = <RK_GPIO3 31 RK_FUNC_2 &pcfg_pull_default>; rockchip,pins = <RK_GPIO3 31 RK_FUNC_2 &pcfg_pull_default>;
...@@ -587,3 +605,7 @@ ...@@ -587,3 +605,7 @@
&wdt { &wdt {
compatible = "rockchip,rk3066-wdt", "snps,dw-wdt"; compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
}; };
&emac {
compatible = "rockchip,rk3066-emac";
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册