From patchwork Wed Jan 23 17:48:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 156390 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp994606jaa; Wed, 23 Jan 2019 09:50:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN6UhSHHYvl48oPWdM8ghtwV7eeov0DQGQwcU9MUa/keYbuY+Ap2JYTdZ83/+RkyGhzlTJHJ X-Received: by 2002:a62:9719:: with SMTP id n25mr2986737pfe.240.1548265849678; Wed, 23 Jan 2019 09:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548265849; cv=none; d=google.com; s=arc-20160816; b=ChnaRhGeqxy94QSWyxFmnBYGD5Furl7yiK22J1E5F39hqzjjmd5lHrhjlJGbVg2rNg 0ztTuWzJ7oEtS7dE/kPN/V+7VY7JpsUuoE91tpZdmkvKmyEsduFDVXsYvPByOGu8r3wP BTFFG3KIScpfcXimJ4zD8F+VhDsjsAI45Q6yBoGeJCC7sJMOqI6ZdoX01vjLHTLtxNST vF+quEiP81e5nLGKGsMh+ma7JRQUgSGr6m0iGoGnQSN8YOf6meKiBOaHzHOP38hFIfD6 Yjj+7QEj0/8Dd72v6tcqgYKc1VfFDyKSTiW3NX98ShSqQALlzx1ukljyRRuLIAOvy9Em a5Vg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5DoFsdVRXHPsiFjrY25ASSQN1yGtMv6JnuqcUZxcm7M=; b=IPdC+sL/7aPHHO0LN2+7dA/B9Op9VUgRpb9uhbiTCs3mbFDKZbyRB4jcqAJkFFbYC3 bwuIYBH9XLFXTeOnoy1KsutRNC7f2GAGrUY+JmJei+VQEYnl5L2bRTK1Z9oE+SpV/Q/u wQEijstMEZ8QvOZnywqRHeYMSTePohFYRWRhVGZOgt+bzISNLsnDfmgSDyiwuzM3mZoh jKUTjGt03BzJ+VL+bDpTIAx5zmEYWwcVvdCawuCMjBV8iG2qTgW869Zrpih+HhVTq5eG JVXTiYlrXpDtHUg2D81iK5j/D6J5LpwiYRZFC/hFXPj72qRGyPfzNJJ+mWlitXgXRIyS uqlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Jm0H9WyP; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r207si1831730pfc.179.2019.01.23.09.50.48; Wed, 23 Jan 2019 09:50:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b=Jm0H9WyP; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725996AbfAWRus (ORCPT + 15 others); Wed, 23 Jan 2019 12:50:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:51534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfAWRus (ORCPT ); Wed, 23 Jan 2019 12:50:48 -0500 Received: from localhost.localdomain (unknown [106.200.229.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E256221872; Wed, 23 Jan 2019 17:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548265847; bh=UEZ7IgFo0Z50R+H3h9OPp7iNNJAAhbqsYgV6/wH1vEk=; h=From:To:Cc:Subject:Date:From; b=Jm0H9WyPYoh24L+MWetNiBiSp8Q5DhvvQ25LFKcteXUiSVzhz3OOYhWOP8doW9rAL nxJtOC7OkiEbbQZu3SYz+e4YGvAXmODo8sPKajpawT1hneXODYHS46ft/pym/vYvg3 wJQbHiJwGKxredI352iGcJxG/xmcnb3G3mZKWLdk= From: Vinod Koul To: Andy Gross , David Brown Cc: Vinod Koul , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Andersson , Niklas Cassel Subject: [PATCH 1/3] arm64: dts: qcom: qcs404: Add Ethernet node Date: Wed, 23 Jan 2019 23:18:37 +0530 Message-Id: <20190123174839.5321-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the ethernet node found in QCS404 platform. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index f3d77e7ee0d2..4696472bdc4e 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -346,6 +346,30 @@ status = "okay"; }; + ethernet: ethernet@7a80000 { + compatible = "qcom,qcs404-ethqos"; + reg = <0x07a80000 0x10000>, + <0x07a96000 0x100>; + reg-names = "stmmaceth", "rgmii"; + clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii"; + clocks = <&gcc GCC_ETH_AXI_CLK>, + <&gcc GCC_ETH_SLAVE_AHB_CLK>, + <&gcc GCC_ETH_PTP_CLK>, + <&gcc GCC_ETH_RGMII_CLK>; + interrupts = , + ; + interrupt-names = "macirq", "eth_lpi"; + + snps,txpbl = <8>; + snps,rxpbl = <2>; + snps,aal; + snps,tso; + rx-fifo-depth=<4096>; + tx-fifo-depth=<4096>; + + status = "disabled"; + }; + wifi: wifi@a000000 { compatible = "qcom,wcn3990-wifi"; reg = <0xa000000 0x800000>;