Skip to content

Commit

Permalink
ARM: dts: Enable emac node on the rk3188-radxarock boards
Browse files Browse the repository at this point in the history
This enables EMAC Rockchip support on radxa rock boards.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Romain Perier authored and David S. Miller committed Sep 10, 2014
1 parent 18ec91e commit c6ec956
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/rk3188-radxarock.dts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@
};
};

&emac {
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;

phy = <&phy0>;
phy-supply = <&vcc_rmii>;

phy0: ethernet-phy@0 {
reg = <0>;
interrupt-parent = <&gpio3>;
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
};
};

&i2c1 {
status = "okay";
clock-frequency = <400000>;
Expand Down Expand Up @@ -201,6 +217,12 @@
};
};

lan8720a {
phy_int: phy-int {
rockchip,pins = <RK_GPIO3 26 RK_FUNC_GPIO &pcfg_pull_up>;
};
};

ir-receiver {
ir_recv_pin: ir-recv-pin {
rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;
Expand Down

0 comments on commit c6ec956

Please sign in to comment.