From patchwork Thu Sep 8 21:46:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9322159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E54E60231 for ; Thu, 8 Sep 2016 21:49:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB63F29A11 for ; Thu, 8 Sep 2016 21:49:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFFC829A13; Thu, 8 Sep 2016 21:49:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 957C629A11 for ; Thu, 8 Sep 2016 21:49:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi7AM-0001MO-Td; Thu, 08 Sep 2016 21:47:26 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi7AH-0001K9-C1 for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2016 21:47:22 +0000 Received: by mail-lf0-x235.google.com with SMTP id u14so31269265lfd.1 for ; Thu, 08 Sep 2016 14:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0Un0/ooQJOPx2fzM1WPaMVcP2MLkp+CvQKBxCY4AOsM=; b=HNUqg6wZzzHZp3an0q9HFhHQOEgEUs5o0Xo6rrAE5O19/rlkTjCbDRoTB27QTF4KDS Yx3W/tMEHuUhQf4nW6mHdVR4cZ6rCbLPa+FP1mR5Ln8Lntfhg2YM5X3RHBmNcdGmnpmy O6JM1URaVzfxBdDV9X6N21Xb9WQ1MEy0ym4sQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0Un0/ooQJOPx2fzM1WPaMVcP2MLkp+CvQKBxCY4AOsM=; b=RgZMxCDl8yDYAM2mg2Yq9uZGhqG8rmMvdfJOKSb5U1ah7Jk/IEf+0pZ32DsCQITWC5 7hRXdGPiooV6uvYBD14IDUvJ5UEhtOK0sqj7hBkPFUOy/W0L+tgFEXopm9uti/8mXIu7 bFxnxwhJYKtY4Us2VudQuhjfORRjX8sIszUJMBsqKVdLr+0vg62wcIdT6oPURkBO4zSt qKyTNTak9zboxbZROERkXg7nW0flKpSh6NEqPnjnj2QZ1uNuMoMcJ2QMBI0ZSVs3I4br hsQ1Gfm+AMYVHpdtaEnlaytrGWQ3jWMcPxim7qhiI18bpL3haHOIQQJdOzkWSHwX7seK lbGA== X-Gm-Message-State: AE9vXwMzukyP74HwYeexItcTqc927hXjbMA38yog09aOUbplYjO1u0H0bY9ledBY+fFeUPfW X-Received: by 10.25.5.205 with SMTP id 196mr28576lff.145.1473371218589; Thu, 08 Sep 2016 14:46:58 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id e39sm14205lji.44.2016.09.08.14.46.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 14:46:57 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Arnd Bergmann Subject: [PATCH 1/4] ARM: dts: fix RealView EB SMSC ethernet version Date: Thu, 8 Sep 2016 23:46:46 +0200 Message-Id: <1473371209-24086-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160908_144721_755636_BA5B9349 X-CRM114-Status: GOOD ( 16.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Russell King , Pawel Moll , Marc Zyngier , Linus Walleij , Will Deacon MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The ethernet version in the earlier RealView EB variants is LAN91C111 and not LAN9118 according to ARM DUI 0303E "RealView Emulation Baseboard User Guide" page 3-57. Make sure that this is used for the base variant of the board. As the DT bindings for LAN91C111 does not specify any power supplies, these need to be deleted from the DTS file. Fixes: 2440d29d2ae2 ("ARM: dts: realview: support all the RealView EB board variants") Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Make sure we support 8, 16 and 32bit accesses on the LAN91C111 --- arch/arm/boot/dts/arm-realview-eb.dtsi | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/arm-realview-eb.dtsi b/arch/arm/boot/dts/arm-realview-eb.dtsi index 1c6a040218e3..e2e9599596e2 100644 --- a/arch/arm/boot/dts/arm-realview-eb.dtsi +++ b/arch/arm/boot/dts/arm-realview-eb.dtsi @@ -51,14 +51,6 @@ regulator-boot-on; }; - veth: fixedregulator@0 { - compatible = "regulator-fixed"; - regulator-name = "veth"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-boot-on; - }; - xtal24mhz: xtal24mhz@24M { #clock-cells = <0>; compatible = "fixed-clock"; @@ -134,16 +126,15 @@ bank-width = <4>; }; - /* SMSC 9118 ethernet with PHY and EEPROM */ + /* SMSC LAN91C111 ethernet with PHY and EEPROM */ ethernet: ethernet@4e000000 { - compatible = "smsc,lan9118", "smsc,lan9115"; + compatible = "smsc,lan91c111"; reg = <0x4e000000 0x10000>; - phy-mode = "mii"; - reg-io-width = <4>; - smsc,irq-active-high; - smsc,irq-push-pull; - vdd33a-supply = <&veth>; - vddvario-supply = <&veth>; + /* + * This means the adapter can be accessed with 8, 16 or + * 32 bit reads/writes. + */ + reg-io-width = <7>; }; usb: usb@4f000000 {