Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp876752pxp; Fri, 11 Mar 2022 17:43:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN0iUW1Z89UknOahVG/SryjxASSlDp4atoU+f43UpEde7L9gcpKPFZuGcD+o1tt0f2Jvjd X-Received: by 2002:a17:907:6e8f:b0:6da:8e96:95f2 with SMTP id sh15-20020a1709076e8f00b006da8e9695f2mr10782937ejc.489.1647049439238; Fri, 11 Mar 2022 17:43:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647049439; cv=none; d=google.com; s=arc-20160816; b=jTpXMYjsnzzNVSXHlcUc4/5eXb0i4DO/Ffr4LC6718/Z7prbbPyzKrFgvGtNV5GFMP aaZ9O5HBGJVKX8U4HLnTHJ2W/cTPpXLgg6Vo0JzQR6c6IveqlmbijVWFyL8hVNFsv6Wu bepzNJtqDmNiWnjUUYkT+RI7K4D7DXtoY7vaqlVrrtNJjsYaBWmftR95kHd/jKBmJ9DM AHXquqfArzeHiJ8+spsWoiXE6+R5sq3vfyD/FGt1G48jyFSlCnepy/RwdE4qF56GRk+s aeMoP4X6k4yT/CEs5o/OxdpvBlG3s4uc2/IZmgS5noIYnPF6yRLpVN7tZjShzibhcIX+ 1bJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GrnC27eGzAFm0bk+B0juU+rvRXCv3mGI63fH7kzQuns=; b=EdD8+Zmu76f3J/YyPHabsuwoWYBvxdAw4NZyhkblE9dlScH8OKW+FvkYpeKMJMZEtD RndYDCNjSc6aUP40QbxcEVhNbQ6M30A9zmowebaJr+WPAo+1jGIjUrSfFHvd4mLHCmQv FRLQxUFLafxyznap8hnW9GjqwzYYL+B8QJTqgPN5trCTjWLQop5y4XKhLlxVDp2tT+dQ tX4PVLd4QQ6e6ma4QVccSbjEF3BfaGFxdjJbMEI9ho/88YtKxV6/g/4sRUG4cJ5WlzSQ +3XUVl3odQRTP4PpD2d7uleDsHzHLwhlx5pRcI4vtv3UQqRI1w2Yij4MtTcG81dlnyVe VAFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f80zCXrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a05640250d000b00416648c941esi6394176edb.473.2022.03.11.17.43.33; Fri, 11 Mar 2022 17:43:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f80zCXrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbiCLAF6 (ORCPT + 99 others); Fri, 11 Mar 2022 19:05:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiCLAF4 (ORCPT ); Fri, 11 Mar 2022 19:05:56 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD7A765B3; Fri, 11 Mar 2022 16:04:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647043492; x=1678579492; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Vzl/jEjfdsCi6JqP7iVxxwjdQOR17jrD8nYVD6RvPHA=; b=f80zCXrzovfVuIly0lqebq4dddAaAR0M4sqDbncJHMSsCg2hknRD8LK7 MdQQfjMrFe5xI+JPCP4ekSjIAmcqzNip69SloTg/CBIGpKjohpUgA1MR7 6qtdspWOrVBdHerzmDeEsWNSaTj5XlAv0keBO5a1Fs0aS3gV79nuQ8POV FX6rnWvPRHaNzUigxHHNB62sQCRb9+pmfxZLq0xUZWPSe/logQ9X2sGzX FisODOCGqWA3RPiXm7phD0nMyNw0mvW5BgmA+lrcm+uCfhTHyAk+QHVPH SBMHjHWZ5GBxdiuSkyxYgOH+OTv6M+KIPq5Eg1tH7QniZkTN3CUWg8e/0 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="342104383" X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="342104383" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 16:04:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="645097476" Received: from unknown (HELO localhost.localdomain) ([10.226.216.87]) by orsmga004.jf.intel.com with ESMTP; 11 Mar 2022 16:04:50 -0800 From: tien.sung.ang@intel.com To: dinguyen@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: niravkumar.l.rabara@intel.com Subject: [PATCH] arm64: dts: intel: add device tree for n6010 Date: Sat, 12 Mar 2022 16:01:27 +0800 Message-Id: <20220312080127.1528190-1-tien.sung.ang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niravkumar L Rabara Add a dts file for the Silicom FPGA SmartNIC N6010/N6011, which is based on the Intel Agliex platform. Acked-by: Dinh Nguyen Signed-off-by: Niravkumar L Rabara --- arch/arm64/boot/dts/intel/Makefile | 1 + .../boot/dts/intel/socfpga_agilex_n6010.dts | 83 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex_n6010.dts diff --git a/arch/arm64/boot/dts/intel/Makefile b/arch/arm64/boot/dts/intel/Makefile index 0b5477442263..a05a610a4006 100644 --- a/arch/arm64/boot/dts/intel/Makefile +++ b/arch/arm64/boot/dts/intel/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_socdk.dtb \ socfpga_agilex_socdk_nand.dtb \ + socfpga_agilex_n6010.dtb \ socfpga_n5x_socdk.dtb dtb-$(CONFIG_ARCH_KEEMBAY) += keembay-evm.dtb diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_n6010.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_n6010.dts new file mode 100644 index 000000000000..c105f0621eb4 --- /dev/null +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_n6010.dts @@ -0,0 +1,83 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022, Intel Corporation + */ +#include "socfpga_agilex.dtsi" + +/ { + model = "SoCFPGA Agilex n6010"; + + aliases { + serial0 = &uart0; + ethernet0 = &gmac0; + ethernet1 = &gmac1; + ethernet2 = &gmac2; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory { + device_type = "memory"; + /* We expect the bootloader to fill in the reg */ + reg = <0 0 0 0>; + }; + + soc { + clocks { + osc1 { + clock-frequency = <25000000>; + }; + }; + agilex_hps_bridges: bridge@80000000 { + compatible = "simple-bus"; + reg = <0x80000000 0x60000000>, + <0xf9000000 0x00100000>; + reg-names = "axi_h2f", "axi_h2f_lw"; + #address-cells = <0x2>; + #size-cells = <0x1>; + ranges = <0x00000000 0x00000000 0xf9000000 0x00001000>, + <0x00000001 0x02001000 0x82001000 0x00000800>, + <0x00000001 0x02080000 0x82080000 0x00004000>, + <0x00000001 0x02100000 0x82100000 0x00080000>, + <0x00000001 0x02000040 0x82000040 0x00000020>, + <0x00000001 0x02000800 0x82000800 0x00000020>, + <0x00000001 0x02000820 0x82000820 0x00000020>, + <0x00000001 0x02000900 0x82000900 0x00000020>, + <0x00000001 0x02000920 0x82000920 0x00000020>, + <0x00000001 0x02000940 0x82000940 0x00000020>, + <0x00000001 0x00000300 0xf9000300 0x00000010>, + <0x00000001 0x02000000 0x82000000 0x00000010>; + + uio_cp_eng@0xf9000000 { + compatible = "generic-uio"; + reg = <0x00000000 0x00000000 0x00001000>; + status = "okay"; + }; + }; + }; +}; + +&uart0 { + status = "okay"; +}; + +&spi0 { + status = "okay"; + + spidev: spidev@0 { + status = "okay"; + compatible = "linux,spidev"; + spi-max-frequency = <25000000>; + reg = <0>; + }; +}; + +&watchdog0 { + status = "okay"; +}; + +&fpga_mgr { + status = "disabled"; +}; -- 2.25.1