From patchwork Wed Jun 25 11:42:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 4419781 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6A8DEBEEAA for ; Wed, 25 Jun 2014 11:42:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F4A320384 for ; Wed, 25 Jun 2014 11:42:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACE762017A for ; Wed, 25 Jun 2014 11:42:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756469AbaFYLmo (ORCPT ); Wed, 25 Jun 2014 07:42:44 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:47328 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756170AbaFYLmn (ORCPT ); Wed, 25 Jun 2014 07:42:43 -0400 Received: by mail-wg0-f41.google.com with SMTP id a1so1768843wgh.0 for ; Wed, 25 Jun 2014 04:42:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id; bh=bbrpxlPPVAlxfZZqA/BGNe+bnytVbAydn61rH5v8acU=; b=g49cv2WvNMFXTkNTXTwDYkWeGRSGyqQfKg5iLWp1WAOlBIG+RgCdY3E+G5uffhc4uI CFrvsFgqsF60hSRtos3jbgu/0bnw7plrBTmwxTAXf7WBAQ8Se+BU0+LGsZegO/iFKITz PL2M0Pz5zEbkJrFsRsnxY/VBuZXYh93/kaUMgk0bycffPO4FWRq5PkKjoCgZFIOA5gBO IWD+fAN/VPYgy0vvQVZP5SBfu5A/7KwsnRWJvgQOWD0lrF+aD1oET1w0zzqNMOM0vNdz YJgdN9KnV1ZtWO7y/5NRiUaadGF2Cu0b/qj3cklBAGOUx/D7gaU30/Z0T8V3M3pzbSRn l0nA== X-Received: by 10.194.161.136 with SMTP id xs8mr8836995wjb.31.1403696558282; Wed, 25 Jun 2014 04:42:38 -0700 (PDT) Received: from localhost.localdomain (43.Red-2-139-180.staticIP.rima-tde.net. [2.139.180.43]) by mx.google.com with ESMTPSA id m1sm11447534wib.20.2014.06.25.04.42.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jun 2014 04:42:37 -0700 (PDT) From: Enric Balletbo i Serra To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Enric Balletbo i Serra Subject: [PATCH] ARM: dts: Fix TI CPSW Phy mode selection on IGEP COM AQUILA. Date: Wed, 25 Jun 2014 13:42:05 +0200 Message-Id: <1403696525-10099-1-git-send-email-eballetbo@iseebcn.com> X-Mailer: git-send-email 1.9.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As this board use external clock for RMII interface we should specify 'rmii' phy mode and 'rmii-clock-ext' to make ethernet working. Signed-off-by: Enric Balletbo i Serra --- arch/arm/boot/dts/am335x-igep0033.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index 8a0a72d..a1a0cc5 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi @@ -105,10 +105,16 @@ &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; + phy-mode = "rmii"; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; + phy-mode = "rmii"; +}; + +&phy_sel { + rmii-clock-ext; }; &elm {