From patchwork Thu Sep 13 20:22:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10600039 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 601AF112B for ; Thu, 13 Sep 2018 20:24:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FA2E2B4E8 for ; Thu, 13 Sep 2018 20:24:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 438AA2B4F2; Thu, 13 Sep 2018 20:24:24 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9C442B4E8 for ; Thu, 13 Sep 2018 20:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cPgRstALfFBbdL+2d8okp+FB812Rguu+GPKeriV+SAw=; b=tV+IKvQQk8nuRu 4niNHMOGHinKsC/KvLffJow0X6XiVgBqtJWnwuX16KY69KiRmelilEGVPvtygbzZdtsPT1cLeprXI Q6C5YxbgHl/HMVI/3N166KpLwQHqeImD3BTCDbx0lcBJ/hMXDW9UUcdq+wMMsDbstDzrH4ZoVjQyp kb6BHd+2RII/vRcxO9a1SyOYxVNf3H+l5OHZ91iUQrtDfvx5TnPo4GQEhSpc24qnJuhqU8Pdl1E+u uCcZp4UyVGE0e7e3dc173k8tuYvw75ipWb6LBiyKt3KYSaTlyi5+5kXep6e0luc5pM6u4JagKiuEN 0UXX91uVszafDfBdSrjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y9x-00031v-7I; Thu, 13 Sep 2018 20:24:17 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Y8L-0002MR-9f; Thu, 13 Sep 2018 20:22:39 +0000 Received: by mail-wr1-x444.google.com with SMTP id j26-v6so7971627wre.2; Thu, 13 Sep 2018 13:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SMIxpF/PYKwPUIGVkHZ2x5o7w8WplDmrM2vTDIEZxNc=; b=vIv3BQN4i3+2chJeng7Z5eeEO0Mi77v3x8EXtCoJle2GFgJr2L65pV0MgWCWk79ktW tO1rd6KGzXPrPp49NnaWIMKYoJvmyDJXEFvAWd2ZapGBxR9RKC9MHSJwYkoQEIsGMyV/ 0BYhuxy4aVNGGBAHjXx6lSc2bnB57tmG6T9PgcQD62eYVYQctk8Y2Kh6eEf1pJ2AI5Uq 7GctOKFb4GAFqBU2feyKfSJ3nak3dqa+35IOFx6yelYxAS9UAeg0Z5lkxV+YrFDVGhxV zupH7n6tf4n3UPeiPE3f1KTPPNWM+95ghCYPOv061MBwgq5a1z2kCSoyFzyxNyMAtK1I zZXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SMIxpF/PYKwPUIGVkHZ2x5o7w8WplDmrM2vTDIEZxNc=; b=BwOtM3x7+NB0p1DgeCawlQczOL5Q1H+PQiZSVW1NTHdASmvEg6ifjMCpnjWTpOYAh2 yHcgUwDJ11rf0f7JHhHDhT4SjQqw9MmN3BUnHmPhjCdRZLa3MkInI/94fT2fchhSGrmr j29xNq6qchKvs1dM6jUSy50dejHDe9e8EcU1xbgUUyuT4bxGGrOlCAHRWb423II6grVV U6oAj8gGF5LVVEsNebbI/RYoET7b4IlWNUG1JhAbjrnZeyTAv0elTPOWj1QYoP7cHABL OkeU72XDtPJKN7UN4aSotso5PHcl4zJ1JYWnQNYWCSs9hLzytDzDhVhq8jnbRNZPiNec ZAJw== X-Gm-Message-State: APzg51C/pYTDYRxFKWwZy/xqiDc9n7dOTtMid0qNSfZ1GjxdTStVi5fd tHrj5ufhAOiuFvDlwWNHuBQ7En7g X-Google-Smtp-Source: ANB0VdZJqRlIPP2gU1/55+LAJM6PLBT0yg5oy9QJ/ZzJvryc3i4bKV7TzKJR2l3rs0GvL4Rjtk0QIQ== X-Received: by 2002:adf:f24e:: with SMTP id b14-v6mr6461423wrp.184.1536870146380; Thu, 13 Sep 2018 13:22:26 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD72E2B00B426A3A246F82EA8.dip0.t-ipconnect.de. [2003:dc:d72e:2b00:b426:a3a2:46f8:2ea8]) by smtp.googlemail.com with ESMTPSA id b124-v6sm3648835wmg.47.2018.09.13.13.22.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 13:22:25 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, robh+dt@kernel.org Subject: [PATCH 4/5] ARM: dts: meson8b: add the RMII pins Date: Thu, 13 Sep 2018 22:22:02 +0200 Message-Id: <20180913202203.19636-5-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> References: <20180913202203.19636-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_132237_353108_CFEEEB5A X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some boards use an RMII Ethernet PHY which requires fewer pins than the RGMII PHYs. Add a separate eth_rmii_pins node which does not include the pins which are only required for RGMII (but not for RMII) PHYs. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 4bbbbc6bea83..cd1ca9dda126 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -223,6 +223,21 @@ }; }; + eth_rmii_pins: eth-rmii { + mux { + groups = "eth_tx_en", + "eth_txd1_0", + "eth_txd0_0", + "eth_rx_clk", + "eth_rx_dv", + "eth_rxd1", + "eth_rxd0", + "eth_mdio_en", + "eth_mdc"; + function = "ethernet"; + }; + }; + i2c_a_pins: i2c-a { mux { groups = "i2c_sda_a", "i2c_sck_a";