aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2014-09-08 13:14:50 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 20:29:59 -0400
commitc6ec956b73dbeb23f1f58aaf4dbb73eb509779c0 (patch)
tree210b14399d8dd75a99eabc55aa44d667f36bd5fb /arch/arm
parent18ec91e1947f478f4fb7d7b1a2b0696d15f464c5 (diff)
ARM: dts: Enable emac node on the rk3188-radxarock boards
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/rk3188-radxarock.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 5e4e3c238b2d..d63d685ea6cc 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -76,6 +76,22 @@
76 }; 76 };
77}; 77};
78 78
79&emac {
80 status = "okay";
81
82 pinctrl-names = "default";
83 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
84
85 phy = <&phy0>;
86 phy-supply = <&vcc_rmii>;
87
88 phy0: ethernet-phy@0 {
89 reg = <0>;
90 interrupt-parent = <&gpio3>;
91 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
92 };
93};
94
79&i2c1 { 95&i2c1 {
80 status = "okay"; 96 status = "okay";
81 clock-frequency = <400000>; 97 clock-frequency = <400000>;
@@ -201,6 +217,12 @@
201 }; 217 };
202 }; 218 };
203 219
220 lan8720a {
221 phy_int: phy-int {
222 rockchip,pins = <RK_GPIO3 26 RK_FUNC_GPIO &pcfg_pull_up>;
223 };
224 };
225
204 ir-receiver { 226 ir-receiver {
205 ir_recv_pin: ir-recv-pin { 227 ir_recv_pin: ir-recv-pin {
206 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; 228 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;