From patchwork Sun Mar 24 16:32:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 160999 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020230jan; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeyggxq1p6/JfPDH9L1ChWOdb6ZHESy5wHQKbx3RACXCncqOSXOicyaTX3m5KYdVgmtVeI X-Received: by 2002:a17:902:a612:: with SMTP id u18mr20370039plq.145.1553445175422; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445175; cv=none; d=google.com; s=arc-20160816; b=unpxdLJ8nC44CAkLmNbOo/3NmtQsR8e6sNnJ2Iqf4JX76AL6eT0otJLG4iCDtGNF4S GIvCD2ItV+VgNbzpdKCVucPg41GwszPJW8NvYxhjb9ZfgaSdY332Cjs9BPWrW4gM0914 aL8FC4pSSVEXn8G5Ho2euquokrcgyWTEC3w5gqG8CTyqftbgsfSUyeOVGHtTV1L+k+O1 gp9MWXCK+bkSATSwP0oxB3tcOPqrPrwLcbbPzJVNTqYLnvDebBBJVb5ch/8w1YPEFRiS /v00Ii3JSHpjp1pVaeI1zlsjSIRiW7SuD2iA/+Q6u630tN45ybjSBpLHOwfv2OQWe4vU 1i6Q== 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=UcrEsQ/5fUOw507gwx4MKNJCDz58oGIxd5kJrN7zf/Q=; b=tu5zHqF+KCRsvNwNk7AxSAp6TOltV+GHuOByGimk7gb5vgbIvWUXaAzyKPSaG1Lxi5 cOl+FnljDor4a4bFRi/v5tWgNCeRkSPoT6AShExuAsBEX3BZEcP1j/JuNAjHwbmS90O7 lAjnGGLofnNUFXmvsUvSoP4xVaEAfE/uT2Yo8VLTxT8o/+j1S7l/7cScLdJI8BO2U/Mh eoAv3eGmqp287Ve6cDYXwYjdk5lwEOB6fq/vIMgGFxHCuohdKGUE0YRK/zy/kXlKVAlH gyb6nKoR+GlSpDliuAm0bvtWoSFQZZAwoL9H4cn40UYhe881NULCBh61hsb+/QAhaMWM XZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0ugGkmpc; 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 e96si12357679plb.123.2019.03.24.09.32.55; Sun, 24 Mar 2019 09:32:55 -0700 (PDT) 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=0ugGkmpc; 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 S1728763AbfCXQcy (ORCPT + 15 others); Sun, 24 Mar 2019 12:32:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:52304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQcy (ORCPT ); Sun, 24 Mar 2019 12:32:54 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (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 9C7E32147C; Sun, 24 Mar 2019 16:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445173; bh=Zb0ZVpU/DagVHSNuQtQZTtYr8KpozDH1IszfBH7sEuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0ugGkmpc+LiivbYpP6/MBFAc3jtHYrwNI5+5L5lE5rpkO8xhOn41UNkfVtarafYgu W/5BZXeCj4OUYdKde99+q7g7htFy9kizdGAjI5DbqaO6ZffilMS8Hz1+kTjjvq4nYV kpbPhaSqN+TPzqpKHfrfyaqJl3Sv/RoROJS5JRbo= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Niklas Cassel Subject: [PATCH 1/6] arm64: dts: qcom: qcs404: Add Ethernet node Date: Sun, 24 Mar 2019 22:02:04 +0530 Message-Id: <20190324163209.17312-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index e8fd26633d57..32f2f51bbf7f 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -479,6 +479,27 @@ 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,tso; + rx-fifo-depth = <4096>; + tx-fifo-depth = <4096>; + + status = "disabled"; + }; + wifi: wifi@a000000 { compatible = "qcom,wcn3990-wifi"; reg = <0xa000000 0x800000>;