From patchwork Mon May 20 13:13:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10951101 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 2A11C17D2 for ; Mon, 20 May 2019 13:14:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18A5128807 for ; Mon, 20 May 2019 13:14:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AF7428833; Mon, 20 May 2019 13:14:15 +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 AC1BF28820 for ; Mon, 20 May 2019 13:14:14 +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=6UnSV/V+TmJXUZ0TtbFR+bZkW95mh5/w0q9L/0Q/tms=; b=b2hQ4OAsFM9uoz kviE8dTuT8v6BRSQ8qIpY/lItSkX5TzH4SfLIu4uzG3H+Bw7T4T3+lsfMSQkVX/a5IHOILGyTWHKq aNfV6N8XTmV9yjz/Tk6cr8PXTRR+RIIxmlXrVulCn8/YMyY4MnrzGuRyRXYWFkuJlI/KhY1t0Q2Uv aLNpGqd7gsEHe5SLTOq065hSOFuS0NMKViqhNVrO/g0JhIw+b3QBTqh5BZ/iICxZvCCB2q70VI03F LmC0rOyHFgYNuaH/edWKYB3B4R49ICdc+eL90dXPOPoRBokQd8PzK35c4aquK795yU5i7NpZ8AtbA e/CfEKwdAl1OJU6xTjnw==; 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 1hSi7J-0004hu-Sw; Mon, 20 May 2019 13:14:13 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSi7H-0004g7-51 for linux-amlogic@lists.infradead.org; Mon, 20 May 2019 13:14:12 +0000 Received: by mail-wr1-x443.google.com with SMTP id h4so14566128wre.7 for ; Mon, 20 May 2019 06:14:10 -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=6IVz8trHJceMtUKXTFJMf0iW5MQvs73+t7piDB6eEsY=; b=t/Oa0ug/gh8v2UjVr9u3N68HSxROAKAU5Vtzp2apfkj9WbuYMDnkHj+q72LYrLC+TI Vwpq3Z75dZl3Kx+wZyvibkDZZh3NQ7YI9b28qhCE+V4lVhsyqBdyG8Ut6H6MnSguqTYd uHWU84E6TFWLsyZrnx+iAqdKAtr2jh2wseTpmO23TXm/sghNTJTnFBYS7/2/BGNbp5LI eL6i2hKjI1bmAvL4kbamX6FCKlnLIwhyYgiV3dntXgpN+nExsgxA9sP5RGuXaQRCVPYD rfw6obIdU4gzhxk1LSO6sCnKwCjCENsNFOugK0Z7OY/b4+wLmK7o1hfBI83zDAi/nT1y 0/Vg== 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=6IVz8trHJceMtUKXTFJMf0iW5MQvs73+t7piDB6eEsY=; b=plKFXe9PGS/xeg2LpyAWwXgHI99RtkIqyc5vFUvGJ1RRYnlnzaQM9ev1bZJJtTw1Qi gDrF3A6JGg+UVieNcmtDvYadqPJfd7HRoY1MT+229IUh1vDe10IqROzEn+cLfuQGPk/n 7VNQjpfyTDEQc02wmnR1OPh460eWQGhgdu+xlcdYjMzWMwUK6SUgQKKFHwnbV8iZ9/CI UdtvL6OcEOFPpZKFVET8OFCQPJljSs/ti+3rieCIc2aXUaTDOeXJwqxpSmh9JzjLeJEP ulnBlukHuLchJeYEJTslpGaqqosAceZpDNDGoHVkH+dRVcgalmW4M14P4xFnXbt4rpYz aMsw== X-Gm-Message-State: APjAAAUdueC66OSX2Xcki7QsLHxiu+WneUz32BttlYsxI8VddhqMDGmx z9BrzXR8ZyuOg+YnteHYzYJx1Q== X-Google-Smtp-Source: APXvYqz9K/jjyMysacjgfl7KOksQHYbNEnXEErMcqBtLCrHy7XK7fIn7QXtDN0QBRM8DBBymdtlRGg== X-Received: by 2002:a5d:6982:: with SMTP id g2mr29721861wru.223.1558358049506; Mon, 20 May 2019 06:14:09 -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.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:14:09 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH v2 1/5] arm64: dts: meson: g12a: add ethernet mac controller Date: Mon, 20 May 2019 15:13:57 +0200 Message-Id: <20190520131401.11804-2-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_061411_188889_DE523C1D X-CRM114-Status: UNSURE ( 8.83 ) 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 Add the synopsys ethernet mac controller embedded in the g12a SoC family. Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index fd24fd29f4ed..1d16cd2107ea 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -137,6 +137,27 @@ #size-cells = <2>; ranges; + ethmac: ethernet@ff3f0000 { + compatible = "amlogic,meson-axg-dwmac", + "snps,dwmac-3.70a", + "snps,dwmac"; + reg = <0x0 0xff3f0000 0x0 0x10000 + 0x0 0xff634540 0x0 0x8>; + interrupts = ; + interrupt-names = "macirq"; + clocks = <&clkc CLKID_ETH>, + <&clkc CLKID_FCLK_DIV2>, + <&clkc CLKID_MPLL2>; + clock-names = "stmmaceth", "clkin0", "clkin1"; + status = "disabled"; + + mdio0: mdio { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + }; + }; + apb: bus@ff600000 { compatible = "simple-bus"; reg = <0x0 0xff600000 0x0 0x200000>; From patchwork Mon May 20 13:13:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10951103 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 D828B1390 for ; Mon, 20 May 2019 13:14:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C67DB28807 for ; Mon, 20 May 2019 13:14:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BADB928824; Mon, 20 May 2019 13:14:16 +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 760CD28807 for ; Mon, 20 May 2019 13:14:16 +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=RLgLs+IXVOYTRXGpke5Lqh3wE6c8g71qD+LKAi+SQJc=; b=Ly2oCmspBUcc6e vzBLnBp6JNqMR2jQmuDIfsnAHySc1n8sMMeM98HWQKKTMG1mQKrzmlni3SfG6AsCaQbTJUL/OQZIY XcDZUP7YOkj/QPOBEKXakpw9+B7Loil/mR/IdzqGaSLjNKlP9ATF99z5YuwiX9CWk1+6LsA8y5q/u AzLPdI/ikGLocnQqWCNc44ma3ap6QirBC1QKAToK7sF2E+vE/pYn6ajVxfuJmdLATIwiN5nXSma0o Q7q49hbbIz3Nr/YoymDhqzxQLBcPb02xyQ/VYRBaYm52r+ESzk9YdQtC2aLFIFbs+L3ZEuDJS/Qbn Q/4+zX+U7eWh8i2hnCrQ==; 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 1hSi7L-0004kd-SW; Mon, 20 May 2019 13:14:15 +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 1hSi7I-0004gU-9L for linux-amlogic@lists.infradead.org; Mon, 20 May 2019 13:14:13 +0000 Received: by mail-wm1-x341.google.com with SMTP id n25so12590813wmk.4 for ; Mon, 20 May 2019 06:14:11 -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=JgNiUlcyTLppuY9tH0ogOnTGm4dNQIA4Aw7Xw6YAiwk=; b=Cbqk3Ii8e7bOSzJ0ptEJRWFqbnaWoT1kfUF2zytpr1axifZncBF183TsnnWcfTbOGt BHyQ7+XEBgVfKlMuQozejU9acPZExKrOqegeVRi8BiftxAAkKE8qaGAheclhfJWSGUfG jh1JJUSq1Mcp5p3laR6tVKstrK6MFuhL/HylVWiA+CZMALnfFKkYCP7K7iT0Bdy9nkfc MxGcel7qYSvjjevanb1DaCxRcu7rhB8jcpYXic7+7UM3OWJOeNANMPjGQoE7OfZkYePY xTluxTb+dThkZFvy2KiR+PSnZwZPc7dbb4DrrE6iY6Sl0ss9xlDOcZZh5J0MN6m/x1rY CR3A== 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=JgNiUlcyTLppuY9tH0ogOnTGm4dNQIA4Aw7Xw6YAiwk=; b=SR5V8KYu0NkWgygV58y7nkvNotCBhQmD/gNkNXSqI56u2dcvnBd64f5uaWaeoomifq wMDeuXwwbAEqManROSB2wHv/dryqWdORqVR/06ADPttnFWnLwi49scv7IfczlkJ13y2l bklJ87yVRgtPNOD4Ysm1Qtx25YRtIewQlhJrpB/3B6ToZc/MORjiKuIJTWLLHssOjhx5 hlWfiLZuKVqUuAs5mSqUdmcRMpIh3+A4uFdzFVcfstEzB4R5N1lsuQKzoRng2eCnrGAj fK3ck+YQZ4ng54W0ApsiikAphFemzWMQGcW+7pUZtKxckub6hLMwX2GlCoBb7513IXRM zG7g== X-Gm-Message-State: APjAAAVOsNf3bbYVXswTq17bUPtR60S2SkN29l9hOL6bTMGPq6giQLvy qGF1zKKMOKjjo/XVGox1tWW0bYi1ISM= X-Google-Smtp-Source: APXvYqyWr5RHhb38v+c9DGSDDjroLx1VJ4vpASEZv3rClG1SjtEohEjSfWfel9sbjtvmOB5JVHNoHQ== X-Received: by 2002:a1c:7f10:: with SMTP id a16mr11482879wmd.30.1558358050598; Mon, 20 May 2019 06:14:10 -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.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:14:10 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH v2 2/5] arm64: dts: meson: g12a: add ethernet pinctrl definitions Date: Mon, 20 May 2019 15:13:58 +0200 Message-Id: <20190520131401.11804-3-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_061412_431882_D2EA481F X-CRM114-Status: UNSURE ( 8.87 ) 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 Add the ethernet pinctrl settings for RMII, RGMII and internal phy leds Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 1d16cd2107ea..def02ebf6501 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -1109,6 +1109,43 @@ }; }; + eth_leds_pins: eth-leds { + mux { + groups = "eth_link_led", + "eth_act_led"; + function = "eth"; + bias-disable; + }; + }; + + eth_pins: eth { + mux { + groups = "eth_mdio", + "eth_mdc", + "eth_rgmii_rx_clk", + "eth_rx_dv", + "eth_rxd0", + "eth_rxd1", + "eth_txen", + "eth_txd0", + "eth_txd1"; + function = "eth"; + bias-disable; + }; + }; + + eth_rgmii_pins: eth-rgmii { + mux { + groups = "eth_rxd2_rgmii", + "eth_rxd3_rgmii", + "eth_rgmii_tx_clk", + "eth_txd2_rgmii", + "eth_txd3_rgmii"; + function = "eth"; + bias-disable; + }; + }; + tdm_c_din2_z_pins: tdm-c-din2-z { mux { groups = "tdm_c_din2_z"; From patchwork Mon May 20 13:13:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10951105 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 803FF1390 for ; Mon, 20 May 2019 13:14:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E1FF28807 for ; Mon, 20 May 2019 13:14:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62BA528824; Mon, 20 May 2019 13:14:19 +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 33BCE28807 for ; Mon, 20 May 2019 13:14:18 +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=cDQ8eUJv/Db2zT0nC2+8/8qqqGQnFtx/WWsKzNy2vOY=; b=nFiZdquroIO/q5 IIQwijArOk/XeqgVFI99sOMW4wLdUjqK//gw9CI9PtRq2Fi+ijHlVKhKEqto3LG/gggoK1WvCi7mt PIn7OuISEL1+qxRy4YpOtxzvm/F+OajjSX0yzFXmbX/hGuRDIHSSvon4b8Ysb81MBnoDICYyFFbxX 9NYXaVRiov5il0WPBhzQAi2ISN5wbSKDHNyrn3pMMIhIY0mrGltD1tW625sARIJNrCQcIDJ0KpN/Z ZkxqHf3/E2IIcNIFGiaf61/kJy09FM47jSsVVNxEgAv7xTiK9lfT02MNjn333apc8PLpLgr0ZlFns e5EvUqjMv4emGzQAx2nw==; 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 1hSi7M-0004le-Ie; Mon, 20 May 2019 13:14:16 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSi7J-0004gh-2r for linux-amlogic@lists.infradead.org; Mon, 20 May 2019 13:14:15 +0000 Received: by mail-wr1-x441.google.com with SMTP id d9so1600311wrx.0 for ; Mon, 20 May 2019 06:14:12 -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=wgSfjE2+FzU8XOfZWkTKXLvL3btwWWjzue0NBLqBVBw=; b=0k1cQKVIN8lOwrP/3OcUY298DXpl9fwzT6sNib2znDy2o8BLBZWIJEeVNDlBqp4Q8f qaieuLng9y8+Xvb9U28TJcD5UR11v32GcLRL70osxLMuRn/4/rUQ4CuD5m7qp8qx0Wsw J4QxZQDIX6BGBznbQYmWFkpwU2GlwmbLRUoXSO+05Xi6PTFgEM1e6lBFq9YGcDK9VCH1 wO1Ug/e200kXgPpuNwPGn1ku8+84BG7WA9mjTtmQ1vFiMixsUmbo3ITiZTxjXb/x4kCf kDJ/vjnOYWgv01gTK3STSiYPoGmEi2Rltc/ZdBMhSpWxx18tp1wcj6UmQ7XHh99KJzw+ u92w== 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=wgSfjE2+FzU8XOfZWkTKXLvL3btwWWjzue0NBLqBVBw=; b=GLq2KkkN2w5zqRJo2AUK0I2MOAjbMyzNjxaVO3ImzXdb0Vwr29t2u+xCpR7kCII+D6 nSA5VebgzLxbyKUquEIYbUjWl9i8k+O4DDe5NFQ/0GcGk+/ypBdhmkbE4JWcVtZV+WWf kQDhflWj1a48/ueCEgO7G95SmFaEicaf0CdjNcbMLgs6LRALU1LBEocQAAMG2ipFKOs+ 3Lu7JedJtOqUXYPSjcGGLaTtcJ/JZmtFqbYL6oWMXebn4S5QusIJNQVl95iRH/dLKOna 4kMLQdmEscT1BJqZQ+RcvcfWJ7UFyYUkdWYue/tu4vSsrhdbPIbhYUVodLNgZbzAIs/k 4yDA== X-Gm-Message-State: APjAAAVlZI7RK1Duu3KNywrHMjg5AT60QYEqFBQumj1ob31fUzM5acRb Yy22mHHK51N/UK+ZcxFEFiEq2s8cvME= X-Google-Smtp-Source: APXvYqxApb5a5AL31sl0uIO+RsAxe3WbEZ8MsyWsdxEq9oVrR6tsUj6oGh6g+Sww30uX1081oQa2oQ== X-Received: by 2002:a5d:6b50:: with SMTP id x16mr813119wrw.220.1558358051478; Mon, 20 May 2019 06:14:11 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:14:10 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH v2 3/5] arm64: dts: meson: g12a: add mdio multiplexer Date: Mon, 20 May 2019 15:13:59 +0200 Message-Id: <20190520131401.11804-4-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_130497_90392936 X-CRM114-Status: UNSURE ( 9.38 ) 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 Add the g12a mdio multiplexer which allows to connect to either an external phy through the SoC pins or the internal 10/100 phy Signed-off-by: Jerome Brunet Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index def02ebf6501..90da7cc81681 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -1698,6 +1698,38 @@ assigned-clock-rates = <100000000>; #phy-cells = <1>; }; + + eth_phy: mdio-multiplexer@4c000 { + compatible = "amlogic,g12a-mdio-mux"; + reg = <0x0 0x4c000 0x0 0xa4>; + clocks = <&clkc CLKID_ETH_PHY>, + <&xtal>, + <&clkc CLKID_MPLL_50M>; + clock-names = "pclk", "clkin0", "clkin1"; + mdio-parent-bus = <&mdio0>; + #address-cells = <1>; + #size-cells = <0>; + + ext_mdio: mdio@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + + int_mdio: mdio@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + internal_ephy: ethernet_phy@8 { + compatible = "ethernet-phy-id0180.3301", + "ethernet-phy-ieee802.3-c22"; + interrupts = ; + reg = <8>; + max-speed = <100>; + }; + }; + }; }; aobus: bus@ff800000 { 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>; From patchwork Mon May 20 13:14:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10951107 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 18A7914C0 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 05CDD28820 for ; Mon, 20 May 2019 13:14:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE2182882E; Mon, 20 May 2019 13:14: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=-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 AC12B28820 for ; Mon, 20 May 2019 13:14:21 +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=UxAvNPcILcWEVDb0hPkRBqQ0bjGB6BKYiuK9cW3NMaw=; b=p2rOa6Tx1Y0GQN xazu9OtS4fONrOoUa/tVS/jOaKDFTwRxZW326JscapP6fm300nF6k6DdqLdoNoqd1FV7kGGhqpllC kVrLlU1qVSpmHnEVDsicCf6odcrRV1GiEnNX9bafk0BoSP6L084hOLiFpPzYzdOKxfLFWh6VS1SCs lYHYNQoDe3DgdVkfe1+fuZvst4g8N2+m2R+2v12P9vh6x6OWWGjNYGnkE020/z9yWb4tdzMpQx19/ DIMammKrDzlqV/Y9uM13n2fkszEIXADnlaXsLs4rPJZPG7m9G9ypGUn+446p82kzvc59lANCEoBLS XoVaQhXooMJ9GtFGZHoQ==; 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 1hSi7R-0004rX-2u; Mon, 20 May 2019 13:14:21 +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 1hSi7K-0004i0-Oj for linux-amlogic@lists.infradead.org; Mon, 20 May 2019 13:14:16 +0000 Received: by mail-wm1-x341.google.com with SMTP id i3so13271705wml.4 for ; Mon, 20 May 2019 06:14:14 -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=m47c/l62ndl1BZoIquVCAdRz64Yquba0Nph44qgFKpU=; b=a9+TNBgqnV2CrEHXljT0uw9ovdO7ia1lACaaNVfaHCiyWMp9hbktkPEO4xtWN1wlZN /OBe+lIsQLHY/0oZNXeEgz7oYLTwoFmTtfqvfznfqiPjmj41i2mcgXCmFoBBwI4Btee5 Yc5+MbcTTrqcHSdI2/CUu9w4m+/+ikRZoCEZWuRv8I/cqhW3DcRvommSzq8FCT5dGrc6 GwT053sPmg6D496MIDo1xNreR+nnWNVKCVDwzRp23MROzcQNcgMc5WnB/MK4ZjUrVQvX 8vF8a6r0j8rUGlCKW+pLIqfIY0IAryRP1rUldHXTX42E9n3Gai9fok4OSqOL0CA62yFi 22cA== 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=m47c/l62ndl1BZoIquVCAdRz64Yquba0Nph44qgFKpU=; b=AFFD+UuP8gyhJ03M/SHF//0ZeqzrZRFEs2KauLnw61FZihhJprs01DfT+R8wtEDpK5 BS4doia+zVN6rH9itqCikE8iQr8qcUm2IbqERBedBpl+WibFdXCFFvkEHbiZEq7BGfDY qF5dWd7qrAuLCdybYGoORK/hs35mlZqsJ8EVHy6kFLevcZyIEwUrEPmb/aGlJHcIKtfe 8o+OwIf7SZHBrOW/+1K3EqPqVz5cLb7WU0QIeNnFjhVhZDt6023NxsgOTlSfgPn9+7q3 DPMTovdFSxId6Z3rzC40cNH6FhvOAas66V1yuwDUaxeQ7F0tF+qSHczubXGskrG90BXp 5GZA== X-Gm-Message-State: APjAAAUUpfA6ZcNkXYpWthFQBecOoMbFQ5sAozAWKweREZTiC0lDXiX0 0M76vyw2IfIBb6DR1+WNMjEk6A== X-Google-Smtp-Source: APXvYqxLfvHVZc8cuXZUlVVEnCemwaArTi91A2WfQOsaaIfxLFsAdBOHU81+/ps8QxtzRG1xz26+Ng== X-Received: by 2002:a1c:cb82:: with SMTP id b124mr12189669wmg.107.1558358053429; Mon, 20 May 2019 06:14:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:14:12 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH v2 5/5] arm64: dts: meson: sei510: add network support Date: Mon, 20 May 2019 15:14:01 +0200 Message-Id: <20190520131401.11804-6-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_061415_065834_551E36FB X-CRM114-Status: UNSURE ( 9.23 ) 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 Enable the network interface of the SEI510 which use the internal PHY. Tested-by: Kevin Hilman Signed-off-by: Jerome Brunet Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 484b93ef11d8..be1d9ed6d521 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -29,6 +29,7 @@ aliases { serial0 = &uart_AO; + ethernet0 = ðmac; }; chosen { @@ -149,6 +150,12 @@ }; }; +ðmac { + status = "okay"; + phy-handle = <&internal_ephy>; + phy-mode = "rmii"; +}; + &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;