Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752292AbaKYJJ2 (ORCPT ); Tue, 25 Nov 2014 04:09:28 -0500 Received: from regular2.263xmail.com ([211.157.152.4]:48738 "EHLO regular2.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751780AbaKYJJX (ORCPT ); Tue, 25 Nov 2014 04:09:23 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: roger.chen@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 127.0.0.1 X-LOGIN-NAME: roger.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Roger Chen To: heiko@sntech.de Cc: peppe.cavallaro@st.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, kever.yang@rock-chips.com, mark.yao@rock-chips.com, eddie.cai@rock-chips.com, roger.chen@rock-chips.com Subject: [PATCH 4/4] GMAC: dts: enable gmac on RK3288 evb board Date: Tue, 25 Nov 2014 17:09:09 +0800 Message-Id: <1416906549-26196-1-git-send-email-roger.chen@rock-chips.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org enable gmac in rk3288-evb-rk808.dts Signed-off-by: Roger Chen --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts index d8c775e6..168b4fa 100644 --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts @@ -152,3 +152,25 @@ }; }; }; + +&ext_gmac { + clock-frequency = <125000000>; + clock-output-names = "ext_gmac"; +}; + +&gmac { + //pmu_regulator = "act_ldo5"; + //pmu_enable_level = <1>; //1->HIGH, 0->LOW + power-gpio = <&gpio0 6 GPIO_ACTIVE_HIGH>; + reset-gpio = <&gpio4 7 GPIO_ACTIVE_LOW>; + //phyirq-gpio = <&gpio4 2 GPIO_ACTIVE_LOW>; + phy-mode = "rgmii"; + clock_in_out = "input"; + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pin>; /*&rmii_pin*/ + tx_delay = <0x30>; + rx_delay = <0x10>; + status = "ok"; +}; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/