From patchwork Fri May 18 19:45:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10411991 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB4B1602C2 for ; Fri, 18 May 2018 19:45:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C938F20499 for ; Fri, 18 May 2018 19:45:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD7C1286AA; Fri, 18 May 2018 19:45: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 4A16D28A51 for ; Fri, 18 May 2018 19:45:59 +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:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hB21GHzrmqiHvVGBNk7ZJx3KXnRX2A86zJJ0N7cn+Z4=; b=lNMns016an+2bs QRk3thf99pBDL1P48rzsTvdR8c8c6ffreRWcfH4MSbZF5nb1w0UBsGi6p9f+5fO6oZJ2ckK7Yso9k GsE+CssEPAYtfiZD7Yu0zpOnVGE9xyEqwIty3sA5Trj3RdQ7uGRy0BHDTnRBnvvRHaN0Trk5UwCUR Y+ATedMZpvjv4lp94/+UYI9N5iDSjyuc3ugKeVp7Vyl25DWC1dbrtVRz1itCxNfX5Q9zkBt3Ds1Ds /KnU/APydJ6bODPqa26lMKhk9n4W2TWh55HCiinjO1dKXA2OKosZbnEt09bh0R71KFRafmyyG6bKr 61piedhLLCUotBWf0CHQ==; 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 1fJlK6-0001FV-L9; Fri, 18 May 2018 19:45:54 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJlK2-0001Ay-Rn for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 19:45:52 +0000 Received: by mail-lf0-x241.google.com with SMTP id x145-v6so3576674lff.1 for ; Fri, 18 May 2018 12:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IhlqkaFg5/Rw1WsFY+FWh5WQOWbOReC+rxSItUF4Yd4=; b=TE6zdrsxv0gpCF6dtcOIFT53EDqenV19it20ENZsnhLDMH8oYli2DDfI6tBK1ymYG1 O5seUUOYuTqziAY6hdUP2PiWp84YCRho9/3qbwapUvYkplITis0ZE9gcE/otCI6vSF3/ WP39MFynKlJo/godqeLwxbSrpVDl/2MHPE+zrq25qF4L5hxZwQTNBI0B64PIr40CA2Mj 5fGk/MVjftYVc1fc0aLw2FYttvEon376VFz4Ly3L46CAd/+9e6s/SiEC6oPCEPngf0IC 7rvl5mi26buGUwFZwadIWaSXTeCTYqd5Hs7mCYMaUbCmO6sgp/0S/RrvCSS8gFoEIk19 GAzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=IhlqkaFg5/Rw1WsFY+FWh5WQOWbOReC+rxSItUF4Yd4=; b=AhrrjHnNDAnUMiDxcZt/T4y98Yidq50yiEUqgPSLOAAi5ezkMuA0fBoS5JSr34G89T 4YbgyvJsXO9PwMZOezxaNZnKppomQ2BWfmaeD/FdmB++QBom3g94QyL4virzgrGyw7Ol R1vbwZYgNF5xVEQuoENAw5qVhyPoFFaiAT8cgii9vZeyR1vW1dKoYtZumlumoY1tr0xp Bmxr10OudoBX57NwYfxlxgKKFsygk6JBacnG/ATayeubl8N/360MNvMGIbAQF3VPlWE/ QRfXG6Ip4/u6osx/ee/0RgeJ5V9cAC9p3wgg211usj/DKW8klQIBNDGipitifLTOHNtO iKzA== X-Gm-Message-State: ALKqPwcacvJSfJW2LvtnrRCzRPho96T56XvidoP1HECgpMe5/m1Jpmr0 BucO69WzHTzv13mlEfRp7v9L2wh7SVk= X-Google-Smtp-Source: AB8JxZq2qN/egyOr6Op40WAItKQ1DiXf5LYbDD37damt/2BdaUiMDMvripKtMNyISORQW/qPoQTRDA== X-Received: by 2002:a19:990f:: with SMTP id b15-v6mr561885lfe.93.1526672738794; Fri, 18 May 2018 12:45:38 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.87]) by smtp.gmail.com with ESMTPSA id d90-v6sm1355164ljd.15.2018.05.18.12.45.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 12:45:37 -0700 (PDT) Subject: [PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support From: Sergei Shtylyov To: Rob Herring , Catalin Marinas , Will Deacon , Simon Horman , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: Organization: Cogent Embedded Message-ID: <8910c197-cf1b-9ee9-9ddb-5d2f705a4b26@cogentembedded.com> Date: Fri, 18 May 2018 22:45:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-MW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180518_124550_908620_BE803E2C X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define the generic R8A77980 part of the GEther device node. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77980.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi @@ -417,6 +417,17 @@ dma-channels = <16>; }; + gether: ethernet@e7400000 { + compatible = "renesas,gether-r8a77980"; + reg = <0 0xe7400000 0 0x1000>; + interrupts = ; + clocks = <&cpg CPG_MOD 813>; + power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + mmc0: mmc@ee140000 { compatible = "renesas,sdhi-r8a77980", "renesas,rcar-gen3-sdhi";