Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp806899ybk; Wed, 13 May 2020 13:41:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIBVxTaqsFn5xeKyySJWHrSPUhj4dmMU3ddKIS454nIeDcfMwVkZmrovntEiJ1sJ3Ivud2 X-Received: by 2002:a17:906:49c7:: with SMTP id w7mr3718ejv.216.1589402482797; Wed, 13 May 2020 13:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589402482; cv=none; d=google.com; s=arc-20160816; b=JzXNaFUc8xHWaqKNGu0X/ouAaPUKYf4fFX9t2MVoNXmZLRmJL4zNOnOKHSeSgKmQuL F8dsOZ6TeS+WIss1LWMUVgAx3J4MKHgIPzhRFHyUDR0YG4ujOPHOuJSZLuVLvkRfFL41 Tc9zx8Uj2QsbTFeDT328gbugCQ0zW7hiR4yj9ZdLJnNBr3Omk4YZoFzOJ/EOZ70zfKfR kyKgrVgh6U7qrbF6NzJtquMPTzItN847LhuirgiLzuLJDUxD4Vrp/tgpSobNqCxKjnA8 2lrZ5jZ50xXj8AVMZ4MJzWoPP1bdMEwSsOvGehY2rzRjG+0gS0QyCUVG4DzG92LnFZP/ 7wcg== 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:ironport-sdr:dkim-signature; bh=QdZlS7UnQv2aQu4dL1y0TtLuI1awEBzkrAuDlpOP6kU=; b=nRVyr/ml178TTIupe+0AwVxlAOuyR972QXQzw7zCJxy68k5Sdelws8IGBC+QLpUykc LdAttyhmr7TD5212seWSQL5oxeCEfTI2JTk7lEPer/IsqAXFvmi6LD3nYpFpwbItVW4y ecu53FLx2sjmCDKIKAl8zOHNTZK/+f+yeNJrBMaT2G1H/pYBKnAZI7JJP1jbW//6zmS+ KC8DZroDyexkpuz15JNrhjzr+Muo/ee3fYM0UjPUvmkNN1sIi4HeaB5H9Xjl5yyjFHtf ybUTV9gcgZpQrjwAj5VqAYG3Q5l04BTgVCAIjSQMLsxiRcaYoJnW6s0ZHobrRnJfbMhs P1TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=kEw7j3J8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo16si415897edb.537.2020.05.13.13.41.00; Wed, 13 May 2020 13:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=kEw7j3J8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733038AbgEMMz4 (ORCPT + 99 others); Wed, 13 May 2020 08:55:56 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:29476 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733012AbgEMMz4 (ORCPT ); Wed, 13 May 2020 08:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1589374555; x=1620910555; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=71agoK2Lf2NcrvRKduazxlxfbvYG5gjDX3+0wemNjCw=; b=kEw7j3J8Lg4DwRYfGV4TWwm19Mi5fvwPznVCKoEhCeosxX4cMtq5qGpK 5HlVLaiwltFUBGV92YyJ8C8zcDZs/emt3ZLnGKrVcHuVLKwpiYbWiVDrB SrTbJKssRFhxo4USE4C+StM+E9hu5BnLsO5wNwbCF8HA8Z8IqJOMvNeyF jded16ChrSfnEEAEelXXXtdHHrXx2TcjpHPuTYjpewkYnaBqp/P2gzjDI LnV3MBHL6J9NNvTOXGC1NXs36/q6RXLs9bZLRMVooNmVqTGJ3fMoUtBd+ yaTpJUjvEb4crVCUr3dfvC/DUa4JK3k7Cyw2Ojtp/Jncvz4Pk4t3pwoRL Q==; IronPort-SDR: 3Bbqq+3ueyuEU0vcFJ63If04Fklj8PCnVSsmtda/MfpzXzLeqBZv06fQHy9pyyPmCnNbtRr+0a WKD8Sfn8OkWwYsBSil4fsWOrrGRJoDowIhYPnCMK08AvJmX7pZ/EXNgGSYq79ci5/nEx5RWj70 mwSIziKMbOkRgj/N237z1EX/Kkra6yNHUeCsDuY7rS9uKCqDBBXbGr8dzn9k6No+gjmoT8Cw3I R7cuwk+XjmQNHshM9gm7mEbUFj8srYBXqe4n0XXL58LCAGSjnt3RhOmuz/UFFD9kWdP7Pu2Cdt iUk= X-IronPort-AV: E=Sophos;i="5.73,387,1583218800"; d="scan'208";a="76494509" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 May 2020 05:55:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 May 2020 05:55:57 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 13 May 2020 05:55:52 -0700 From: Lars Povlsen To: SoC Team , Arnd Bergmann , Stephen Boyd , Linus Walleij CC: Lars Povlsen , Steen Hegelund , Microchip Linux Driver Support , Olof Johansson , "Michael Turquette" , , , , , Subject: [PATCH 00/14] Adding support for Microchip Sparx5 SoC Date: Wed, 13 May 2020 14:55:18 +0200 Message-ID: <20200513125532.24585-1-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for Microchip Sparx5 SoC, the CPU system of a advanced, TSN capable gigabit switch. The CPU is an armv8 x 2 CPU core (A53). Although this is an ARM core, it shares some peripherals with the Microsemi Ocelot SoC. This is the first official revision of the series. Lars Povlsen (14): pinctrl: ocelot: Should register GPIO's even if not irq controller pinctrl: ocelot: Remove instance number from pin functions pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2 arm64: sparx5: Add support for Microchip 2xA53 SoC dt-bindings: arm: sparx5: Add documentation for Microchip Sparx5 SoC arm64: dts: sparx5: Add basic cpu support dt-bindings: pinctrl: ocelot: Add Sparx5 SoC support arm64: dts: sparx5: Add pinctrl support pinctrl: ocelot: Add Sparx5 SoC support dt-bindings: clock: sparx5: Add Sparx5 SoC DPLL clock dt-bindings: clock: sparx5: Add bindings include file clk: sparx5: Add Sparx5 SoC DPLL clock driver arm64: dts: sparx5: Add Sparx5 SoC DPLL clock arm64: dts: sparx5: Add i2c devices, i2c muxes .../bindings/arm/microchip,sparx5.yaml | 87 +++ .../bindings/clock/microchip,sparx5-dpll.yaml | 46 ++ .../bindings/pinctrl/mscc,ocelot-pinctrl.txt | 4 +- MAINTAINERS | 9 + arch/arm64/Kconfig.platforms | 14 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/microchip/Makefile | 4 + arch/arm64/boot/dts/microchip/sparx5.dtsi | 202 +++++++ .../boot/dts/microchip/sparx5_pcb125.dts | 21 + .../boot/dts/microchip/sparx5_pcb134.dts | 17 + .../dts/microchip/sparx5_pcb134_board.dtsi | 252 ++++++++ .../boot/dts/microchip/sparx5_pcb134_emmc.dts | 17 + .../boot/dts/microchip/sparx5_pcb135.dts | 17 + .../dts/microchip/sparx5_pcb135_board.dtsi | 92 +++ .../boot/dts/microchip/sparx5_pcb135_emmc.dts | 17 + .../boot/dts/microchip/sparx5_pcb_common.dtsi | 19 + drivers/clk/Makefile | 1 + drivers/clk/clk-sparx5.c | 269 +++++++++ drivers/pinctrl/pinctrl-ocelot.c | 558 +++++++++++++++--- include/dt-bindings/clock/microchip,sparx5.h | 23 + 20 files changed, 1587 insertions(+), 83 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/microchip,sparx5.yaml create mode 100644 Documentation/devicetree/bindings/clock/microchip,sparx5-dpll.yaml create mode 100644 arch/arm64/boot/dts/microchip/Makefile create mode 100644 arch/arm64/boot/dts/microchip/sparx5.dtsi create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb125.dts create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb134.dts create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb134_emmc.dts create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb135.dts create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb135_emmc.dts create mode 100644 arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi create mode 100644 drivers/clk/clk-sparx5.c create mode 100644 include/dt-bindings/clock/microchip,sparx5.h -- 2.26.2