From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f42.google.com (mail-bw0-f42.google.com [209.85.214.42]) by ozlabs.org (Postfix) with ESMTP id 5AAD3B7D59 for ; Thu, 10 Jun 2010 17:16:25 +1000 (EST) Received: by bwz8 with SMTP id 8so1331855bwz.15 for ; Thu, 10 Jun 2010 00:16:23 -0700 (PDT) From: Dmitry Eremin-Solenikov To: linuxppc-dev@ozlabs.org Subject: [PATCH v2] lite5200: fix ethernet phy address Date: Thu, 10 Jun 2010 11:16:20 +0400 Message-Id: <1276154181-25534-1-git-send-email-dbaryshkov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Yogesh Chaudhari , Paul Mackerras , =?UTF-8?q?Ren=C3=A9=20B=C3=BCrgel?= List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , According to my schematics, on Lite5200 board ethernet phy uses address 0 (all ADDR lines are pulled down). With this change I can talk to onboard phy (LXT971) and correctly use autonegotiation. Signed-off-by: Dmitry Eremin-Solenikov Cc: René Bürgel Cc: Paul Mackerras Cc: Grant Likely Cc: Yogesh Chaudhari Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/boot/dts/lite5200.dts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index 82ff2b1..2b64d8e 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts @@ -230,8 +230,8 @@ reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. - phy0: ethernet-phy@1 { - reg = <1>; + phy0: ethernet-phy@0 { + reg = <0>; }; }; -- 1.7.1