From patchwork Fri May 10 16:49:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10939251 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 2BAF514B6 for ; Fri, 10 May 2019 16:49:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AB9928372 for ; Fri, 10 May 2019 16:49:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E7AA28CC5; Fri, 10 May 2019 16:49:52 +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 B436428372 for ; Fri, 10 May 2019 16:49:51 +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=S1BvUBCC7uFm9yFgEhAS2ijSaLr5LlmKNX6rl1m4waY=; b=gaEm4hAuzJDJlt Yz/xIivvenXVp2YYxHrZ3KUTkeuQhmqSMeK1HqSs/4+ImROrW/UHGMwehn1UQHkGMArLxFh7zAOJb ymfs/02k5KhOCODsZmnY358IilGOETUbpMK6ZZ9xma9C//jJfSBeFXH0KZd+7reh1rS5zTHp4LjyD NWuwd03oYrhKxW84ci7dEDhsvQTCvMjQMQtTe4Lt+yJdoQGV3Z2XeI+Ep0x2DEh931kjpg/lUKI5T RMq4N2qzY3V9vhGQR2U56TuAPZqamdP4c69QQXeN5n9zkqMe5JQ2xpqd4LTo6wX1EGuPajGx0Nb2g SmoqEpweyTwaNHGmJ2Qw==; 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 1hP8iV-0002Uh-04; Fri, 10 May 2019 16:49:51 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hP8iS-0002Sm-0I for linux-amlogic@lists.infradead.org; Fri, 10 May 2019 16:49:49 +0000 Received: by mail-wm1-x344.google.com with SMTP id f2so8189802wmj.3 for ; Fri, 10 May 2019 09:49:47 -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=Is7gD3yeObgU922o5rXJFDawZvTxttvDjfnW9eFtyrw=; b=fBkrLJ1E5OA+08cH9MslvzFXxoKtzBq2o6KYAEOStp1jVLEwYxnEGZ5LY773CCHu1N e1feqfn5tkpY51KyGEPTgYBIHFRrpWN/7s7eaQMOzChMnoq0eRDSklFUQLC5DUHOFAKx uKG9NUhPFBVoLbo1O9nR8gFEckRBstGu0uUVchZnQdzHcsmGc1Pl4UQCVZBjkbEOAY0z UgJ5zuHRK3jsilfgLJRH3IFTWyPvuNUNajH2I6VaBJKDoQZb9viLbNhLjHFjv/qsr0G3 hnPhCTicU9Z9eAIZlj8r1zspYcXdNnRZ2H91rYQqjzP6RqpBsU8C2am/2h6cPbsRArXj JNAQ== 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=Is7gD3yeObgU922o5rXJFDawZvTxttvDjfnW9eFtyrw=; b=bU7cGg9IPQfgSD/4+DWubW7FhPgRbEgu0GiqJoze5mNEZI1MvtA+c/nQtuRuDybERO 9MrAz5fhrA4A7Ks661d7rjEWsudcQM/u83L2nqqw1srekNTwXHaHXAE6mpEzdLYMLgnu 3K3Motk1tIBGi9iaraEYSlWWPir1TKfc0b8zQOHyCse6FSdCHobIWpCw0uOrDDoRVB2m S4EPaKW/e3d82J9CKV0L1/mX/OwhkPlsjUKQYGWg/iRdyr1JTIhQ4km+9Dm5wAVReb98 31BJgzL3lmR06MWYYAGBo68gEJ/84w3e7NVwzANfiOrpPNq2+aQRDy2/mA3gtVCOEbhu bFcw== X-Gm-Message-State: APjAAAULJiA7ywErykL2HQY0XdLlsgg4gf/jrxx9VMqpom0XVfW2HF9t T3BQfFCMKOnewSkEmyPwlhjyfQ== X-Google-Smtp-Source: APXvYqwMuN/bOnJi5zVCfLtc6oWWWxdwzjc1a80rDT+920MwLAt+4SZyEIccA37+vnMs1aIt2Rev3Q== X-Received: by 2002:a1c:1d4:: with SMTP id 203mr8178833wmb.76.1557506986314; Fri, 10 May 2019 09:49:46 -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 q26sm5114308wmq.25.2019.05.10.09.49.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 09:49:45 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 1/5] arm64: dts: meson: g12a: add ethernet mac controller Date: Fri, 10 May 2019 18:49:36 +0200 Message-Id: <20190510164940.13496-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510164940.13496-1-jbrunet@baylibre.com> References: <20190510164940.13496-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_094948_042426_D9371CBD X-CRM114-Status: UNSURE ( 8.85 ) 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: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.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 --- 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 2f4f4dd54cba..a32db09809f7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -102,6 +102,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 Fri May 10 16:49:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10939253 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 30757933 for ; Fri, 10 May 2019 16:49:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 200E428372 for ; Fri, 10 May 2019 16:49:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1417528CC5; Fri, 10 May 2019 16:49:54 +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 ABBBB28372 for ; Fri, 10 May 2019 16:49:53 +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=GtPWm4zZ2IXp5RctRLq+HUniCqxrqEq9oaOkpwuZoJw=; b=IAHB7fHUA7QcN4 pHXGFMVsRrWEgQT72VhVgz2KFWds/T+EDuifrtlKFRTEUgCRR/ZGBzTBcZqgCjqmR9B8bdf5G33D9 +NFj/AJo0xHSxKUTI2vtc7YJ8oLrQ/BAJyVVKtNJNtE7NOz/0/zSWBDxUPADQivysll/Qn74Bvzw1 NDbWcsxX+qAqy7DeZfoyZmUpE301VrE/L/ym5b4d6vewHSdUUy6xpVxDtwzRyYjOMoP3KHtYfzIt+ Z4L6SJBwT8vQH4yW+87lyaJ3hL9W/msULa1ti+BuPi3X/yiId3PwAp6IFefxI5xc4PeSE4bjPMTuS nL99GatiGGJOBBSAfGCg==; 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 1hP8iW-0002Wl-JD; Fri, 10 May 2019 16:49:52 +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 1hP8iS-0002Sz-MV for linux-amlogic@lists.infradead.org; Fri, 10 May 2019 16:49:50 +0000 Received: by mail-wr1-x441.google.com with SMTP id r7so8022034wrr.13 for ; Fri, 10 May 2019 09:49:48 -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=ymMWA7qGWKTKg4sjga2JHa1g3AkDQJanr/hpUl4TY20=; b=VD9DKzz95+nkF7M2qPqLJnLBiyRHTWMc45ShguOvHFsS+EbnWctH6q8qU2PaWi+MH2 3DngXRS+8cYv2kTg4Yw8kJZRL2SGdgZLBo1a5DuSE1HN+qglmY++uOR02Abm+c5mlK1t wwPKvXg7TRDc8Dq5Ip+lyC8r4zF+jmDXLlIJ0OSrcIxbzQjxboRH/8yfM/mx1RdugAAj z17GQCVWWdsPK2DstD09KmUPn/E4jjb4WN4CrRjC1mq0/VqGTV7KnVcEjZIYHUAbTX5H ATm4YXxTJqEu/vy4UEJwmolN1lLDuDsmVs9dZnehUYhAmWdsphVJXAcaPaPNthAKmlHu W36g== 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=ymMWA7qGWKTKg4sjga2JHa1g3AkDQJanr/hpUl4TY20=; b=ezUUnpD/c9pZhpIIX5LvUmFkeCLTEaZUl0cHqxgNC7DFNYVsEO9yH8DmmpP2rAwEbx gXQ1RAYIelCPX37ipaRG7AamJ6eYLzsHNzt8dlQ5yBTPFV0fMTKWriN/hv1NtcikbLEN que8ih+yXJX+UBybYOAwTft/UyBgwsBMcGo8c6MjyEFYet2Cne3kyNWjoQLmGBk/6ZDe 99ycO8D2IO6F6eK4TKTLB4ubAtggDyBwztJPRqE5XBoe46v0ymLqWOqEj7ot5LxZI1qh 8CYj9oUCeWmHhS754+Tfh20Pm67o29mRnyhifvwrfboj2s0qI4oWAx9FvL9y/Y7xuAdu Xdbw== X-Gm-Message-State: APjAAAXuMXs3dZuC/YwugJbWIi1cFSGdDlNgz01SkYUWQdhEWXDN5cLn Mi+qv2JUkgG2K6cicqfYZv49QQ== X-Google-Smtp-Source: APXvYqzCTtFAhIiU7kp0M3POS//+ppjzgKaLXZ9pNB/HF4k19/83k7W5+CFc2VFcbAQUZbJnYoPQvw== X-Received: by 2002:adf:e8c4:: with SMTP id k4mr8969231wrn.9.1557506987191; Fri, 10 May 2019 09:49:47 -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 q26sm5114308wmq.25.2019.05.10.09.49.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 09:49:46 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 2/5] arm64: dts: meson: g12a: add ethernet pinctrl definitions Date: Fri, 10 May 2019 18:49:37 +0200 Message-Id: <20190510164940.13496-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510164940.13496-1-jbrunet@baylibre.com> References: <20190510164940.13496-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_094948_730586_0A07E6F6 X-CRM114-Status: UNSURE ( 8.68 ) 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: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.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 --- 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 a32db09809f7..fe0f73730525 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -206,6 +206,43 @@ }; }; + eth_leds_pins: eth-leds { + mux { + groups = "eth_link_led", + "eth_act_led"; + function = "eth"; + bias-disable; + }; + }; + + eth_rmii_pins: eth-rmii { + 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; + }; + }; + hdmitx_ddc_pins: hdmitx_ddc { mux { groups = "hdmitx_sda", From patchwork Fri May 10 16:49:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10939255 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 9ECEE933 for ; Fri, 10 May 2019 16:49:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ED6128372 for ; Fri, 10 May 2019 16:49:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82F3828CC5; Fri, 10 May 2019 16:49:55 +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 38B1228372 for ; Fri, 10 May 2019 16:49:55 +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=nzmBq0a9Y3k4dlp7Akdxg3Qw3o6TT4F47DTKWQYd9XY=; b=QPiqqTgw2inKv9 WWUl4kjQhqa71K1mzmSmG3I4ZMHfGhZ/T5HjYiPOaUuFcHBrr61Jal83iFEo/KrhBAPxif/FfdsIA nP3fKnS7ntEN+LuVbrIqzs62qzjW07VBgPQHwJr0g/9iatNNNmJQhszjnl+gEt8sWd2smb9TfZhi8 eBMMo4axTx2Lga9sk5fAjPYAViYDYTSOkTejnM9+CA6c3BsjEPD7Eqr6haTzLYwoJuetgNgdbIf19 RCmhcBUdDgPjZ3GiizOFLkPD51JMBVUwmdoR9GPMMPdF2+Of7Rz6m7FK4yf5r5Fc8hNgS+9tWERr0 GItglYeuqHNoMPzM761g==; 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 1hP8iY-0002Zm-HS; Fri, 10 May 2019 16:49:54 +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 1hP8iU-0002TM-3l for linux-amlogic@lists.infradead.org; Fri, 10 May 2019 16:49:51 +0000 Received: by mail-wr1-x444.google.com with SMTP id c5so8632602wrs.11 for ; Fri, 10 May 2019 09:49:49 -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=TYrasecq3jc5SZnbZyshnJpWQT7LH8WGclGzzSNZ9tw=; b=0LCy7HgiRFhJTPdSqVAy9EaF9UxWwcbZZxT3Vz1z7I9GsqwZsM4JHbOS7Z45l98M0P EPpLkH3mrVYZVR2Xmw/wSjwMLF/kI5uPrrEp/WbaJaSoRtYsfkLgtVjh9/i+XZQa4QRJ PdkHnAJfTyQ3fwB87gIepiUqJV79rlCG+Ulu/+y1+rfI7HkP8GnzsUqZdAVmfTWYq96k nHTbLplyrmUQOjYLxjMcsAY6q3RVzoKUNRBPOIeyu+TKpA8O5pkjjBuemVzGiSWyRkMU 0xZ2szPEf9UQk6UlGbaOC1edX02Siry30v/nPuCfOtOutFO5JM2tr+TLtw5q5ZKa1HzR 9DJA== 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=TYrasecq3jc5SZnbZyshnJpWQT7LH8WGclGzzSNZ9tw=; b=aoBvDO++CKg3HZDOpfhSTEH6zxP5X3KUEEV6BBdbb6SX45q25Y+6W7hiGeVewS4FE8 FEtzrXfQvljraJ1f5lD8yB9HxDKsWojyzaw1DWuRZ6VrhKV4qnY42rfX4r61VNukeN8N g8/bfTJ8lSC2HbxiHSPVN/6P9K2CtgUO1+OhSxvkFsC8EKeJoeA4DPAPO83e3Sej+jl5 7kbpodnItVGUCgRe6Y0U+9TG0E2bMpsPSpKuQvxaXblm38xsHmC3b2UD41nHDaSGkCvP Bkf1XdrnNya3Nele0rM06GZCpxG59q30zWpTbEVV6QCjgNh4FvMMUDpCSke9NoVACCS5 5cqQ== X-Gm-Message-State: APjAAAUpmCkD6e5SIUao2ZNYMRE+wKZs/eiYX8Nd4P5tvoljoXu1Hr+l r1yUGBzUuoZs174aJgCH1HPB9A== X-Google-Smtp-Source: APXvYqxpdF9tqU6dkco+yKgRpO42/D9hSwEZQEkXEt4ynHGrSAVlze7WRq3hAlxik/PhaSnw/Yo1BA== X-Received: by 2002:adf:f701:: with SMTP id r1mr9066096wrp.130.1557506988408; Fri, 10 May 2019 09:49:48 -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 q26sm5114308wmq.25.2019.05.10.09.49.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 09:49:47 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 3/5] arm64: dts: meson: g12a: add mdio multiplexer Date: Fri, 10 May 2019 18:49:38 +0200 Message-Id: <20190510164940.13496-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510164940.13496-1-jbrunet@baylibre.com> References: <20190510164940.13496-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_094950_153125_15C0642D X-CRM114-Status: UNSURE ( 9.19 ) 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: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.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 --- 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 fe0f73730525..6e9587aafb5d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -460,6 +460,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_5OM>; + 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 Fri May 10 16:49:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10939257 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 B55BC92A for ; Fri, 10 May 2019 16:49:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0EF628B66 for ; Fri, 10 May 2019 16:49:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FF9828B5B; Fri, 10 May 2019 16:49:57 +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 3EE2628B5B for ; Fri, 10 May 2019 16:49:57 +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=kyRmaunAo+imznQNcxXFxlro84JDCMirGPMVnAaB8mA=; b=VbdFAyJ5sSbix8 ev7zvPB9bHMmpo3SREeENSHmUj8z64Tf6aStkqrFS3weCwZvr4t4FJgBxi/V89HREyoEzZT+KsACN adjaKCU0P3Tb21T4daqo+5AeGOBbbPEhro4+RLOpWsxG/AXLHwpl0jT1jD2tdz6zuEwsrjFeMceXs SMr8l8C8f5nH/3/aGiCvgML9fU3YCzWCo82m8wv45UpFyumQVjHsMPzNN9Nj+n4n1k+oamvbOtPKU aYdTHVnGegPn+or5u3/j4Mc/1FoutDbNujoGFts5Rb/4aJ6jX1c/WQiVGVbEr68YYZRsWJ2D50ps6 JfVgBbieL0i2mLyltSkQ==; 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 1hP8iZ-0002bd-S0; Fri, 10 May 2019 16:49:55 +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 1hP8iU-0002Tb-GA for linux-amlogic@lists.infradead.org; Fri, 10 May 2019 16:49:53 +0000 Received: by mail-wr1-x441.google.com with SMTP id f7so8682408wrq.1 for ; Fri, 10 May 2019 09:49:50 -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=JZfQcIBiz1i3SRmrwc/arntEPv+nCMO6l3LE883zetw=; b=th74W3D0yD8uI176CqzEb333lOWfbdmCBjoHDt+lqvRtWMu0u/G3SmHA041wAkDQdd mTNSJvCzxFr5oTxFjpjCnCm+TcUskdfBp9oRn0uzDRRdl8qrfRHXv1AVL6+ZgJ6bXIxw +ECZilXHGJ9JcQP4jTlgjC3o3eiEl2RBUZnUQaDvI5f2g7lb9kJI9GqLpNG/dmekomAn dIH6UXQIisXE1GVn8C0r1bfC8vZvAbRdDqUfpQJ2INF1S7ax3LlxL2sPu4wdcSVJGOdL taxuT0PWtDhfFyiu1pwcwiV8mLLkMHEpuOgn8YEcw5o7yxCSkucuIb9bHvUtp8FsXc1N g78g== 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=JZfQcIBiz1i3SRmrwc/arntEPv+nCMO6l3LE883zetw=; b=QM1+TxuGSPzXUExP7Co3YldGYAT+MlBCTpkFCBOK/wVw0M0AOlOoqRkQj05EkonHbC L8kXeUcy8z1W7ATSV+4s9zUoJ9G0ebeYviAtITs0Ta2wbgBDkOFm4qQT7mGcFHh1gb9q /kGIaB9YZvoFoyWhDlSXe77AEZOQfg0+Shs7Dgkt+EHHovLgzqAkkovB8z6ia/JKd2/t 1e3WPoEv+YQgZjLvwLMJpm0rXuLhX91Gfe7TtWbMQgK7mNWq8uwZzkrtFmhfMoWX/aKG uXbZKTGG6xdsHkvPyBB1RClQG+E9ztM/mbFRvm9DqvFn+TaH8gwwW4/yGvK6VIoW6WP8 /U5Q== X-Gm-Message-State: APjAAAUW05auQa3N+mAfWeflQf5dfYFk5aQDWBgdgVkzQwe4pAWdNNld Zko7KoyInxJoy14bQfEjYmrqcg== X-Google-Smtp-Source: APXvYqyhBIUntAhXx/YaGyCbZND/bim7HJ1XT0IIdj+NqZiauxARKtqXAsvMcQvRqufVAAGZ8Nny6w== X-Received: by 2002:adf:82b2:: with SMTP id 47mr9001609wrc.76.1557506989230; Fri, 10 May 2019 09:49:49 -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 q26sm5114308wmq.25.2019.05.10.09.49.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 09:49:48 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 4/5] arm64: dts: meson: u200: add internal network Date: Fri, 10 May 2019 18:49:39 +0200 Message-Id: <20190510164940.13496-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510164940.13496-1-jbrunet@baylibre.com> References: <20190510164940.13496-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_094950_733687_986FE972 X-CRM114-Status: UNSURE ( 9.26 ) 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: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.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 --- 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 7cc3e2d6a4f1..c2221eb4549e 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 { @@ -145,6 +146,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 Fri May 10 16:49:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10939259 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 45158933 for ; Fri, 10 May 2019 16:49:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A7C828B66 for ; Fri, 10 May 2019 16:49:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E72528BF9; Fri, 10 May 2019 16:49:59 +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 C35FD28B66 for ; Fri, 10 May 2019 16:49:58 +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=bN7wNKzlHRo+lnMvgCcgavMvVqh0w9nqr/BEntnoAuw=; b=lcfY9Muiyw0EUG KOBS25B2+OE3CmSkK/Qx3mzQSRwrgbTPanF4FPLA0/NJ9s/cr7XCpaqwMSPiWKos3ZTOotTgYZ4Iz unUT8T7vgVSl7xH9vvwreH/w96yTL6DasHA94NghQVbR2jaXxNeBhBN4pV15pz8lcRXb2f3Zo7Iif aouPzonzL3fSwnCecnK6L2spoEyEs4bcGPt5TxjHMYkDETN1Wv8w4sMSMciarsQS37PUnYa9Y7QXt x4tuMK+J1xC/K4iI9QS6ssq27BdyGxMUbEkyS6weTH4b3viW3aZJ+/Wzc/KXEOMXfhwCH23+oyGGw g4kSdl4PrypjtuRK4LiQ==; 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 1hP8ib-0002da-7V; Fri, 10 May 2019 16:49:57 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hP8iV-0002UA-DT for linux-amlogic@lists.infradead.org; Fri, 10 May 2019 16:49:54 +0000 Received: by mail-wm1-x344.google.com with SMTP id y2so8245687wmi.5 for ; Fri, 10 May 2019 09:49:51 -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=0BDD3hmUAw1/iP5j6nwICYc72W1cM/z0tCme8wuLJEM=; b=UGuWEwh+n7QT3eNyNvwq+0cJsZpDzpWwk7FnpGGJzka745/PRluZ87wATPr+YIhf5X NIbdGp9PkKLuCsnVK8imrw+fnf3/VN/dgzhdB0stTpRHOv4PE73NDcLnrlRt7kScNDzi BJEf2aNfJJlqZK+A48FwJAFtZa+qbuqUe2kdrJb/96Ztx6acYNSgeGtccr9ajHYBH4hl +kMA6aloAG37PoAZdi1P9Cw0OLX37bw0uU2j4upttKDVzvLG/Ww1SP1FMiGddkmV0z98 2bYqDDscoIPwAIdURSlGiU2BQtg0drPV1OQ1Q3gcsMCDWxHHqRt4mDum78Y3LuJLAYbs p9Cg== 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=0BDD3hmUAw1/iP5j6nwICYc72W1cM/z0tCme8wuLJEM=; b=RODrI2hU3alILfA+uozOcpwkI4sX06U2/Mfm/fymJIkJrZs2gSeBTH4xlsUQdlz9of iNsr02cAQKdIgt29ys5/YofnLmGiaqS42Bn7ZQI2r5+hXlJ46rOzdHvRpS9aZ3X7Hlt5 piqZODlvDZidZKRpnHTy3EGwSWMThnBP1ulMD2/u/BruxN8BBgXt0ZdAIiC7z9yyO0AT QkaENqRoLWAaDgiNJErIphAwwb6yuq6w0Ol4kCSdN9sr/37nPN+NnTwmK+BLY1t5LnsC s14/awPyKb1N2KcokOla3LUQ5EFzoGdbTlans3oiyVcj6v3Z9Sr1Y7O1YrEu9tKXg9Sg H6LA== X-Gm-Message-State: APjAAAWtdEhsCMkbx5I8BpFIBAroupVxaHxpVN8DSNHL11cL/c3bIVkP j71wTTFyhW9MZ4qSrAmQ7oDoNw== X-Google-Smtp-Source: APXvYqye0FKsYqlWU/uVGSz/EJZu+vBKxrCEygY8OeyP0/V5umSe5NGclz0nWvUHmQTkQqn4VuSmWQ== X-Received: by 2002:a1c:a550:: with SMTP id o77mr3275926wme.28.1557506990139; Fri, 10 May 2019 09:49:50 -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 q26sm5114308wmq.25.2019.05.10.09.49.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 09:49:49 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 5/5] arm64: dts: meson: sei510: add network support Date: Fri, 10 May 2019 18:49:40 +0200 Message-Id: <20190510164940.13496-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510164940.13496-1-jbrunet@baylibre.com> References: <20190510164940.13496-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_094951_679265_8BB328A1 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: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.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. Signed-off-by: Jerome Brunet Tested-by: Kevin Hilman --- 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 61fb30047d7f..4a785b17c1af 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 { @@ -144,6 +145,12 @@ }; }; +ðmac { + status = "okay"; + phy-handle = <&internal_ephy>; + phy-mode = "rmii"; +}; + &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;