From patchwork Fri May 14 11:38:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 1478408 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4FhRMG6q3yz9sWY for ; Fri, 14 May 2021 21:36:58 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231367AbhENLiI (ORCPT ); Fri, 14 May 2021 07:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbhENLiH (ORCPT ); Fri, 14 May 2021 07:38:07 -0400 Received: from mail.manjaro.org (mail.manjaro.org [IPv6:2a01:4f8:150:448b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7672AC061574; Fri, 14 May 2021 04:36:56 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id E778422259F; Fri, 14 May 2021 13:36:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id huFPOxgVzXK9; Fri, 14 May 2021 13:36:52 +0200 (CEST) From: Tobias Schramm To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner Cc: "David S . Miller" , Jakub Kicinski , Rob Herring , Giuseppe Cavallaro , David Wu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH 0/3] Add support for RK3308 gmac Date: Fri, 14 May 2021 13:38:10 +0200 Message-Id: <20210514113813.2093534-1-t.schramm@manjaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Rockchip RK3308 SoC features an internal gmac. Only the signals required for RMII are exposed so it is limited to 10/100 Mbit/s operation. This patchset adds support for it. I've tested the patchset on a Rock Pi S, works fine. Cheers, Tobias Tobias Schramm (3): dt-bindings: net: rockchip-dwmac: add rk3308 gmac compatible net: stmmac: dwmac-rk: add support for rk3308 gmac arm64: dts: rockchip: add gmac to rk3308 dts .../bindings/net/rockchip-dwmac.yaml | 2 + arch/arm64/boot/dts/rockchip/rk3308.dtsi | 22 +++++++++ .../net/ethernet/stmicro/stmmac/dwmac-rk.c | 49 +++++++++++++++++++ 3 files changed, 73 insertions(+)