From patchwork Mon May 20 13:14:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10951109 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 25B591390 for ; Mon, 20 May 2019 13:14:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14C4C28807 for ; Mon, 20 May 2019 13:14:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 092D628847; Mon, 20 May 2019 13:14:22 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 6F20328807 for ; Mon, 20 May 2019 13:14:20 +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=cnIe62AjhYoWvOZTt3f0TNSY0VUZGSk7ew2ia4cg75o=; b=p8qblSMeuZsdpw jqxqzH5W+3r2pnk5OAaHR0VZdwgnjGFXX5UmC8tHtmJuWG5igFCmh76K8bCe5Go5XezqQFPTBqWXl Z76EClkaf5s5CB4+SaU1OVRvbFwCgJoWzI8JJF3PlW9NytOFLs83pFmpb0aLt3ZvMrbBpa9JCjt3n uWpaxx0hBcPtaBGay4Vzy/88jZ824vWhBK6OVj4wUb0JlFeSJXd560lReXjaYM81RNY9+AISyZaSX bqHnvjTLS5FSHKLxZTRHUigCGUdD369DOUXkMyJQnhU/zI38hxatfXfV6aDTheQxykScYepZjYs3r 6zyAFdpbU1UFkK8SkCGw==; 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 1hSi7P-0004qB-SO; Mon, 20 May 2019 13:14:19 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSi7J-0004h7-KF for linux-amlogic@lists.infradead.org; Mon, 20 May 2019 13:14:16 +0000 Received: by mail-wm1-x341.google.com with SMTP id f204so13287859wme.0 for ; Mon, 20 May 2019 06:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lReW9FwIxGx99lS6OVany4vLdxVRsXpnnou2eAJ8o5o=; b=cL1Ntde5vZe7svHI/Cm/TL/KzQ/1U7+O5qc3RSo1jBiQ5WFVAVlo47xIeIWw4o1MT9 6Uxbqzm4JY8oOTd3NEn4WeW13iP5oAvTL6zuHSt6MlUfZXcoValiVlO4edsUzVjzuGWS kZzYGJOxjSfWy4oUd12HSpbjf4AIJJj6bV0EPiivdnVnDTLGDcYSo+g6lJQczIfpSZRe f3HverTOO1mWacxayDIvEF2ukEv7eOPVOKI7xWlff3MHqzCkFdqMc3MhyZTYadJPVsB5 kZskwKT3Preg0ztqIvxwjvIxt1FrRBIICOspRaiV1RsLsVDwJwEKrko2+FXCvIjPbGA3 t6pw== 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=lReW9FwIxGx99lS6OVany4vLdxVRsXpnnou2eAJ8o5o=; b=USzZD7G9zFe8+gcD5xPnSNNGGJNCxB/J0VJY3knyLMnRH04CYE3vTJYZkgIjVpbDk4 u0kct4CE8SGcUbWTY4UqYTxGPeTbzvi16crkkmSqqDX1b4zsCmO/EdQOeLAa0STHeJuy onCVSUvDrf2fu/MmbpXzzC4Kjp7i/gwwkzjlKSo9lKB7IEy0tjpyKYJmtZCA4knYdf5/ P0im+lzM/AGxqIyVDgpXTGmTBG0JoVSxbdHXwsTxAtqVGGSdXEY93miBRC61E6DZBIn4 rLqEfVfN2dz33FWkqo8/QqXqNgQ64Bf7VTpJrD3zGLj2hpaY69trH0/rb3Hw3HDVOhRZ IYFA== X-Gm-Message-State: APjAAAWckxEbK3SPcipoJovNkZZNvW74u0PGoAAQ1uGF0SscmKhGPQgv tzSAy6RR2aAXP+krwBy2elktKQ== X-Google-Smtp-Source: APXvYqzPKMGyx8ohUrx0UtG4Ku77wfZ9Z4PiWV2gxTjRwttAxpNy4fYX6jPVIUrbyVlEfTQJyUwPag== X-Received: by 2002:a1c:7518:: with SMTP id o24mr10885489wmc.42.1558358052308; Mon, 20 May 2019 06:14:12 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z8sm18054284wrh.48.2019.05.20.06.14.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:14:11 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH v2 4/5] arm64: dts: meson: u200: add internal network Date: Mon, 20 May 2019 15:14:00 +0200 Message-Id: <20190520131401.11804-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190520131401.11804-1-jbrunet@baylibre.com> References: <20190520131401.11804-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_061413_846743_5389773E X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The u200 is the main mother board for the S905D2. It can provide both the internal and external network. However, by default the resistance required for the external RGMII bus are not fitted, so enable the internal PHY. Signed-off-by: Jerome Brunet Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index e02534ab7673..8551fbd4a488 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -15,6 +15,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen { @@ -150,6 +151,12 @@ }; }; +ðmac { + status = "okay"; + phy-handle = <&internal_ephy>; + phy-mode = "rmii"; +}; + &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;