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: 75832 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp45693qgf; Thu, 8 Sep 2016 14:48:54 -0700 (PDT) X-Received: by 10.66.249.74 with SMTP id ys10mr281391pac.29.1473371333465; Thu, 08 Sep 2016 14:48:53 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id e125si147364pfa.186.2016.09.08.14.48.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 14:48:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org 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-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:235 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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+patch=linaro.org@lists.infradead.org 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(-) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 {