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: 164641 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp275460ili; Mon, 20 May 2019 06:14:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFkfKsb8HtbOV0bifUYpsgwQp9lbtUCcP6Fgb5zmb6wz/BZQOqOp66evJG7LkGRI/M/kRT X-Received: by 2002:a62:38d8:: with SMTP id f207mr19799964pfa.131.1558358075467; Mon, 20 May 2019 06:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558358075; cv=none; d=google.com; s=arc-20160816; b=pne0DV8oiHVq0lYNsLrWa/hQ5MH1rdseqX5pq0wcQvm6AQtRMcJ6XWeeweHoDOAvZp CWcoVv4rvo8uuRZYkkHlW6LZN/dQRv/5oCEk133Fs5rmo/6CsCRucqRRhDHCuJvDNVYT KhZAukj5vmxRaHfw5ET00n5uFr33GGfbRSnqMroIgufTRg+QkqrrReCSI7T+/6Keb1df fW+14HfLqFbOe1H5YLTQhXsWUyaZUpfWVPJsJthngiEjKuEzAY0nldVFFoOjNQo+QSRb MlgNN02ItbWDOcHudBQ2Zsh1QztA/B1gzW1WeyV7OSjJ2CSIiof6Sw25EwxZoDse6buJ MAJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6IVz8trHJceMtUKXTFJMf0iW5MQvs73+t7piDB6eEsY=; b=WWPTpwp4lhkLLh3WBs0At8RCUn1ob7BHhBm6fRpZtXbZuyp8fCMSen88U6AGOuajk1 1S5dnJ1UAQtUjIj9xaQ3zO6M2wYrx6A9XBlMkBL9vGc6i/YuqUvmSKB1NScAe2oF0MvN D34QVdinwDLAr0NGO8A/rjZlFTpIh1YWyY7ZvyWHz1BIOuiBVXJfTy4O7jUla9Jj5aMq rAmvmCIAd/4j1o+hh3n+KwcM/gBTykTEtBni0g07eTWTe3BxSlsMAM1j5OvasWHr/FSM QH2wIEtaCVrB7sQYq6m6qNFuGH1cp9sznUzXc7ACnjrO2NRtL/Ch+CC8qn380DB8W+E/ 2yag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="t/Oa0ug/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si17212313plk.296.2019.05.20.06.14.35; Mon, 20 May 2019 06:14:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="t/Oa0ug/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387896AbfETNOd (ORCPT + 30 others); Mon, 20 May 2019 09:14:33 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42034 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732679AbfETNOL (ORCPT ); Mon, 20 May 2019 09:14:11 -0400 Received: by mail-wr1-f68.google.com with SMTP id l2so14555049wrb.9 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=mXAz/jGdv5gqCrA6r9udWcCwl/77gcJKZ0SJqRdm68PBbRB13+WFv4MH6+uV8ZgxHQ wpmatwjO+R9NjHAHCkOopO/WDPevd0rIq4e60KZodBlPOoT3rkSFU2pjGl4qgr0WRZfZ 8QpjE2Q8PLp5mEG6a+bBHxSKK+TbxAiZLbyZYqjvbdKCa+O9sLlaxYuQ9Ua6pzwXg6Nn bav1jLZADIzTJHe9vYogqkeyn58XKhUEQjzzUEdIP5fh7TcUJ0KpSSEYvS41dJgd5ltN Fzlv0pVemCNGH/+8BTWeMaeZLJ2IqbCNDxGrryar2eJY3n+rKLBMrUn96SXz/11/mxDQ Rx9w== X-Gm-Message-State: APjAAAVdlWjmf0gCNqqs/ZTkt3Ow/wfNPhLcEfVBOEbDRsnSECfalKL8 w3z9yU8lQtHRHE4K11aNiF+uxA== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.20.1 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: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: 164640 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp275410ili; Mon, 20 May 2019 06:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMCL5M4YrVRsGrBki4w3BGHGVx2w+vhpniu37rsjg8Qf4R9RpPG6758UX7EEgUHHyNmF6j X-Received: by 2002:a62:e803:: with SMTP id c3mr34417133pfi.58.1558358072570; Mon, 20 May 2019 06:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558358072; cv=none; d=google.com; s=arc-20160816; b=q32CKwIwd9T8Hya8ie0fULqPf4VdDInqi9nQX9wOmlu9R/9+t2vEmt0efLz42W0IP5 Kiv7avxUpSM23Kf6TBfY1KKQsBEDYQX6DdHlNLHdB03JcGYvjdQVvWy16qK2y5YeV7xM K0vIjak72o8gzF2k9ZgdsUE3zz5lsJoS2cQtEOuuSUQCIQF+NKg3PQRQ1OfkF3v+LNL6 hgSevLJf1Zze0BrByFga/Xztc+o6WBpi96kfFeSi4pk7JzpQV+hstm8V6WtJotGoVXbF WGE5LBAKsZsphsJATTFZpYK1bgHOG4MFgzITAmDA3Nb9bAjFrz89QVs5CF9JLReBH2al sjYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lReW9FwIxGx99lS6OVany4vLdxVRsXpnnou2eAJ8o5o=; b=tE/XP/hW8kECrk6xL01tSkciAPRP9UES8ItnMcHH+/VBxRhGFgBqRFbRPpmKst9tgn LHoE8hsAwg9glWUSjUeP5CcDtkzplpY3T97IKornlFd6N7n04O+i4W8q/jytDguPRWh3 S8TQNRgrRUWXT/w2+S+328YZdPpt+g/AQI66i58yjSo6CUJzBMnE//ChrArqS8pjBL1v ywSMYhqQBKqy8cVMz4S5wOXYbne1KrbPcNJ+P9WL5elJISG+bsu6CDKe35m+qNO/bB9k i6pAplMYlTGgYTQO+Ig/K8i7MeUdKX8m+CPGHDJpiO/5TU7IPXVhbQ5DhnZ8eysJm9+s 516w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cL1Ntde5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si17212313plk.296.2019.05.20.06.14.32; Mon, 20 May 2019 06:14:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cL1Ntde5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387812AbfETNOb (ORCPT + 30 others); Mon, 20 May 2019 09:14:31 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52153 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387510AbfETNOO (ORCPT ); Mon, 20 May 2019 09:14:14 -0400 Received: by mail-wm1-f67.google.com with SMTP id c77so11784841wmd.1 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=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=DejDuRewGGzcngyStIH11wp4xUNveW/NLs+rkC0QbP3ZcVa5upmwympuRNHvMe/giU g+u9IOGYG+OEvmN9fRuw0lEac6P4ERypEge+G+0mvQHc9ygJVjuhyLvcvgvr0BMne204 94wcMWVwPDLm7VTAuE96eD4f9ztiDKdGNk9EY3PfHa/EqavMpa5hQYr2nV3c/FLT4/T6 Bqbnqye9Iv5p17KGQbkwAQNEmC9doTkU765tYjSPRj1KkD92Tn1H0qmW93jrSLpB+u3g 9IoJr/aqR3QHIS0b9J8k3izd4/RRs/2WYFtK39ywkD3sqWVFq+nDI0gKpzi8q3zDDlTJ c4kw== X-Gm-Message-State: APjAAAWd60eYYWPQD29FTZiVcG5QkElhGRzkp3+hngd68mnRBZ/TTsX0 hFpeUNeB20FnQV9va/pceNL/h0n0Nnw= 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.20.1 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: 164639 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp275160ili; Mon, 20 May 2019 06:14:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgSx8nNo62AJNtS0iL5o6qB9D6HyI+C4O1cyws6WA99QusDxCqcKoF01v4yTp0XS2SHbFK X-Received: by 2002:a63:5659:: with SMTP id g25mr76157825pgm.59.1558358060165; Mon, 20 May 2019 06:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558358060; cv=none; d=google.com; s=arc-20160816; b=U5Ffo7jgvwmWZPwP3VuQZP4rzY+E1QNf3Kv3lcPdBgwUIo2Oa6Fx0+bm7evwq2Ejfv 5hKR7wJiT2EGp/F9/nWX+sSA8DlhmBaGDmZJY9X9UQGm86+276n+m9+6HQ1KyodySq6u gOgcfqYQEVeEP0wtgjLoOQOsA2/6HCp6e6C8ycwTZwooTazzxqlKxAPEaZemleN869bV TA+NmlC36clr4/y/GuA0HpfJW+mS3pbZflvtMF3tMo2+RyKFw/H7h8sqfbGw0B6gd3s9 magQ46hthQlOTziyv4/P1LBWfp8Jg9RIVLo4oW1Om/ziVtRw9ykuKWLX+of0X8Qosfk2 Y2OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m47c/l62ndl1BZoIquVCAdRz64Yquba0Nph44qgFKpU=; b=DVEi1KSMSPTUgQzuMUt7ZZdWqE5u3noWc6vhL6cxB1Gui5bfLYjPg5Y8biu8Rd7Tm7 v3HI3O0cNDoDHT7kB79fqxnhjc7mfxJ/nMeMVW1Bn3TWY2eSsjCwmKsYcfxQmfVOMwfk rVT75dw/MRzdzJQiPPFT2MNYwpgCy2nXv9Etpdl1o9wKGFfU7BBCQ4SA3RFnpT4RjFrh PStyRtR0QwK4Z9gLPNSS1lnPYdJyVd3F1aD3zlAfd9d4IRTpEB6OHX+2wYOiIuXKPPka 0x0GD4W9Wggmczp024jNtpybxWPIX7uLDmqtbObeixYbgFmP7wMxpGvJhi8a3VEzBGNc YddQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=a9+TNBgq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g64si17590328pgc.555.2019.05.20.06.14.19; Mon, 20 May 2019 06:14:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=a9+TNBgq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387689AbfETNOT (ORCPT + 30 others); Mon, 20 May 2019 09:14:19 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53983 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387546AbfETNOP (ORCPT ); Mon, 20 May 2019 09:14:15 -0400 Received: by mail-wm1-f67.google.com with SMTP id 198so13256802wme.3 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=b5Rr/pS5y1x6xS3GzLyA9xOoliAAeYHoubVL94IRxEcG+Iq94we3l7DT/WLh6x7f9x 5ZyfGUmdW+xmCQsarXFVUbT8yk63VuQbc2+momeyoGB+6TfhXdhrRW8QuP4sX1DGe9D0 BJtg4jH1C5grZTBMUv1tpzr/x5TC6ccgYaECwZA+T5uGemNJkhh0JXCNF5bIZTga6oNa YbmPCXjrFSxTl1dUGbKHq9Ke/t31L2wNsMRW7UAgrXB4M4JfMt2Hw21aZUc9lfZqnz3T I/W/EBzV9/7zppGJBQnsaCbHpzREeraMtXlJIpXC4zF9XWLvewzpl3BsCILIG0SlauNx NFTA== X-Gm-Message-State: APjAAAVeg2xwxrz4bwoT4doRMllDqyxCoTBTArL9HJvd0NkBniHj6jD2 12FFSjaiLaxtH7hc/F4r61CZyw== 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 Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the network interface of the SEI510 which use the internal PHY. Tested-by: Kevin Hilman Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.20.1 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>;