From nobody Sun Feb 8 13:37:06 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C8AD13FF6; Thu, 15 Feb 2024 09:16:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988563; cv=none; b=JjJdtGnDlwwMstOKWm+qyhOfmjxcOBVE7cVTK9MuTIAgffyjfBYfK+ojatAO3dW/nj3TSlDjj4AofFXXzyFw0BJFXw2xBg5Iu7b0SXDYvPSlH/S/BLFBrbLzs4QLSUh5lIAOZVnJuQbVd05BXy8/6C+j7uZxIWqQNwQlAQwz6DI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988563; c=relaxed/simple; bh=0AumbT9VD7jrQpuV2WNJF2ZTS/F/XT/yJPrnJl5acKE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ahF6TSP3R1wLAs0FkjvHaGuZAO1gniJx9DfFHrU0q89i2d02iZPn49o0i/28kxWdgaS1XfeDpJhgJlKlDG59bWadELs1oWmhZ3kiFTPX/M1apjK8hSP6/3BENG4lnLD+gLk9xRfqRd/HEE6nQtQfL9W5P1d/nR+W61HjBg5XukY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=cDVBzCIz; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="cDVBzCIz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707988560; x=1739524560; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0AumbT9VD7jrQpuV2WNJF2ZTS/F/XT/yJPrnJl5acKE=; b=cDVBzCIz68KlXxU10koFaNSs3wYjZFt7JKIKmOYEaKw6HeKrHtONkAbY KAvQ3lQgHIxUfmfEqDER7h2TO07cKw00F3X0ONgSo1M1UsZ6tyQS5YFyX ZXgdZGeIdRF6aYn7clj2Vao7D0oS3ZqDQ46Z22+0MncBhm3bByHOIj0Z9 f5gdCFpOQMICqueCYdfaUvPZ+w8GYJpgocDW9V+nf/FmahmDr+IKUsiLL v44mx45LokGvhDdKt13unZQXBztyQNSR0J9tTFeqYcH/rUuEP1feMM3o3 dwQko1+OSIGnSeCAS5HLwlHdy6l6TCeOZQfDjBrBNi1VmvqhfLPp56Djf Q==; X-CSE-ConnectionGUID: KRer2CuFQguroFb+z375Pg== X-CSE-MsgGUID: C/eRW1o/RCqs1wRnhGI5tg== X-IronPort-AV: E=Sophos;i="6.06,161,1705388400"; d="scan'208";a="183550554" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 15 Feb 2024 02:15:57 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 15 Feb 2024 02:15:33 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 15 Feb 2024 02:15:30 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain , Krzysztof Kozlowski Subject: [PATCH v3 1/3] dt-bindings: ARM: at91: Document Microchip SAMA7G54 Curiosity Date: Thu, 15 Feb 2024 11:15:22 +0200 Message-ID: <20240215091524.14732-2-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240215091524.14732-1-mihai.sain@microchip.com> References: <20240215091524.14732-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document device tree binding of the Microchip SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Docume= ntation/devicetree/bindings/arm/atmel-at91.yaml index 89d75fbb1de4..82f37328cc69 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml @@ -179,6 +179,12 @@ properties: - const: microchip,sama7g5 - const: microchip,sama7 =20 + - description: Microchip SAMA7G54 Curiosity Board + items: + - const: microchip,sama7g54-curiosity + - const: microchip,sama7g5 + - const: microchip,sama7 + - description: Microchip LAN9662 Evaluation Boards. items: - enum: --=20 2.43.0 From nobody Sun Feb 8 13:37:06 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C39816430; Thu, 15 Feb 2024 09:16:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988563; cv=none; b=cwSlYXYEi0RjV4gDR0refgbVoI/M32f/irbPnT6TFRdxyBRuPQw+GNLEC6xtM0VtYhQYBIbv6yKHZSzaQR61wmUW7p8s+4u6Tbz2Pt2vQZBpXWsSJ184WqrPLP+qN0zuP6uhgFC3XOQUXgkHcRA/N6t6gWTDUDqGAPBm8pa0zEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988563; c=relaxed/simple; bh=mpAIdYIZdLlbXbUTnkpoAZC9mXd6lxjFuCW9oFcNu6g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L2IFCmZPCJT3i2FCJ5ZDDnX5RxPZF3t0mRNTsQhg8IBrVaD9yZ8QZftnheNkLRfdCTcF9M1whieiJIC6CwD35VGF35jQFP5yzdtfPqVhU4eZO76mUpaK+mO4B+VzGXvPiSnX9uKHR+SL465YjfyQo0nRxZnscdn5nEtAFjWQZN0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=evAvT0SQ; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="evAvT0SQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707988561; x=1739524561; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mpAIdYIZdLlbXbUTnkpoAZC9mXd6lxjFuCW9oFcNu6g=; b=evAvT0SQEjcQ+N0Cq9fm4TLejrqCeMhNhtLMHX++1bLthOr8FC18rBr0 qdUisVm0CEQjZu1XzSvyO27uwnSuRjB8kwk0n4868Gmr70QafV0FcOOsa ydiwt14nIeEFJCoge6ppvd9wbUSD77OZ7Tev5rRLf8okhIwxGgll04oOJ wKV3a8PTGdkofWaJ7yhT+nKjCG5o4D1ngGzAwL87sdqAKkb+phvWpILTq hqtUPlzXBNyEd4g6xG6XeZ02XYHNsa3LqGrBF8WW07eFomZ0sgO6kwT65 opEqCX87YZvHTXBwF4Oxfk4vg7KaQRtNcHNFaHuH4UfkUG2USlOGSfovJ Q==; X-CSE-ConnectionGUID: KRer2CuFQguroFb+z375Pg== X-CSE-MsgGUID: GZrf6E6nRD6+jf5dZIBtog== X-IronPort-AV: E=Sophos;i="6.06,161,1705388400"; d="scan'208";a="183550555" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 15 Feb 2024 02:15:57 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 15 Feb 2024 02:15:36 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 15 Feb 2024 02:15:33 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain Subject: [PATCH v3 2/3] ARM: dts: microchip: sama7g5: Add flexcom 10 node Date: Thu, 15 Feb 2024 11:15:23 +0200 Message-ID: <20240215091524.14732-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240215091524.14732-1-mihai.sain@microchip.com> References: <20240215091524.14732-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add flexcom 10 node for usage on the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/sama7g5.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/m= icrochip/sama7g5.dtsi index 269e0a3ca269..c030b318985a 100644 --- a/arch/arm/boot/dts/microchip/sama7g5.dtsi +++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi @@ -958,6 +958,30 @@ i2c9: i2c@600 { }; }; =20 + flx10: flexcom@e2820000 { + compatible =3D "atmel,sama5d2-flexcom"; + reg =3D <0xe2820000 0x200>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 48>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0xe2820000 0x800>; + status =3D "disabled"; + + i2c10: i2c@600 { + compatible =3D "microchip,sama7g5-i2c", "microchip,sam9x60-i2c"; + reg =3D <0x600 0x200>; + interrupts =3D ; + #address-cells =3D <1>; + #size-cells =3D <0>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 48>; + atmel,fifo-size =3D <32>; + dmas =3D <&dma0 AT91_XDMAC_DT_PERID(26)>, + <&dma0 AT91_XDMAC_DT_PERID(25)>; + dma-names =3D "tx", "rx"; + status =3D "disabled"; + }; + }; + flx11: flexcom@e2824000 { compatible =3D "atmel,sama5d2-flexcom"; reg =3D <0xe2824000 0x200>; --=20 2.43.0 From nobody Sun Feb 8 13:37:06 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EED4A1B809; Thu, 15 Feb 2024 09:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988583; cv=none; b=L/GBn9ovicUhirckTiGd5dBW/EJ4Vio1kqfJpzgSnQUjL2848hhV7jLVvBWzRuN1KMSQZanfUQFSqnOsop7JF6i0H/57b8abM2XyDx3fNJPSkskqDIzoL3rPy1egvgznpX3HFNGp9lWFJraUHFBqBX3Na5EVKRgbto1ZMSlhFEE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707988583; c=relaxed/simple; bh=21zY0beFFCI5Gi111KvmBRtoqLIlFFmSIlAkbt2P350=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AiNINk31pHveoFzpR8IYPUYtJVN88hBtQ34q6NcE0MIxeFrRb1TFjM36AFLFqcGFterc3Kesd1LvL7eeSn75LwEaJQOLnkLarck20BHXSuYy3ybtz2/toi1cIW5YZvflXjjZFlI11sfming6WeUnK3Vxv0uXUb89k+MC+NomWn8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=gHAkiiU4; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="gHAkiiU4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707988581; x=1739524581; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=21zY0beFFCI5Gi111KvmBRtoqLIlFFmSIlAkbt2P350=; b=gHAkiiU4C9YlIHt5MkDSfxYbEyGeknQJsR2Y5sOHKdwYsv7ftIPKJ8pe MiawGfX8BUMmVPsslfE93pEX7DsKiz84II/OyDo7O37AIrkXce8aA+OpF A0PqVNCV9IRuzO0VBEHIDpuTQfC3sNmDaacsMgNsD3x9z744D1SwJSPls Zc9MfSIxoX2p9nJRDCv6r3krPrsPEakWcrSRXZh4A8g9OfFVmmJHnNyGo gtA+niINfZnqIRJsy4GhsDYTVEnieMxpSY3t3zjHCmd8pa3MhKML/ivD2 sd0FJyogfYlYOheOn37VONcTD4p11ukHNium/Xv+PQezWstBjriukVNNP w==; X-CSE-ConnectionGUID: l9u75X59T1esRIJw97rASw== X-CSE-MsgGUID: toFm2dtcQOuZfJz8TfAIBA== X-IronPort-AV: E=Sophos;i="6.06,161,1705388400"; d="scan'208";a="16807303" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 15 Feb 2024 02:16:20 -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.2507.35; Thu, 15 Feb 2024 02:15:39 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 15 Feb 2024 02:15:37 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain Subject: [PATCH v3 3/3] ARM: dts: microchip: sama7g54_curiosity: Add initial device tree of the board Date: Thu, 15 Feb 2024 11:15:24 +0200 Message-ID: <20240215091524.14732-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240215091524.14732-1-mihai.sain@microchip.com> References: <20240215091524.14732-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add initial device tree of the SAMA7G54 Curiosity board. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/Makefile | 2 + .../dts/microchip/at91-sama7g54_curiosity.dts | 482 ++++++++++++++++++ 2 files changed, 484 insertions(+) create mode 100644 arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts diff --git a/arch/arm/boot/dts/microchip/Makefile b/arch/arm/boot/dts/micro= chip/Makefile index efde9546c8f4..0c45c8d17468 100644 --- a/arch/arm/boot/dts/microchip/Makefile +++ b/arch/arm/boot/dts/microchip/Makefile @@ -11,6 +11,7 @@ DTC_FLAGS_at91-sama5d2_xplained :=3D -@ DTC_FLAGS_at91-sama5d3_eds :=3D -@ DTC_FLAGS_at91-sama5d3_xplained :=3D -@ DTC_FLAGS_at91-sama5d4_xplained :=3D -@ +DTC_FLAGS_at91-sama7g54_curiosity :=3D -@ DTC_FLAGS_at91-sama7g5ek :=3D -@ dtb-$(CONFIG_SOC_AT91RM9200) +=3D \ at91rm9200ek.dtb \ @@ -87,6 +88,7 @@ dtb-$(CONFIG_SOC_SAM_V7) +=3D \ at91-sama5d4ek.dtb \ at91-vinco.dtb dtb-$(CONFIG_SOC_SAMA7G5) +=3D \ + at91-sama7g54_curiosity.dtb \ at91-sama7g5ek.dtb =20 dtb-$(CONFIG_SOC_LAN966) +=3D \ diff --git a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts b/arch= /arm/boot/dts/microchip/at91-sama7g54_curiosity.dts new file mode 100644 index 000000000000..4f609e9e510e --- /dev/null +++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts @@ -0,0 +1,482 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * at91-sama7g54_curiosity.dts - Device Tree file for SAMA7G54 Curiosity B= oard + * + * Copyright (C) 2024 Microchip Technology Inc. and its subsidiaries + * + * Author: Mihai Sain + * + */ +/dts-v1/; +#include "sama7g5-pinfunc.h" +#include "sama7g5.dtsi" +#include +#include +#include +#include + +/ { + model =3D "Microchip SAMA7G54 Curiosity"; + compatible =3D "microchip,sama7g54-curiosity", "microchip,sama7g5", "micr= ochip,sama7"; + + aliases { + serial0 =3D &uart3; + i2c0 =3D &i2c10; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_key_gpio_default>; + + button-user { + label =3D "user-button"; + gpios =3D <&pioA PIN_PD19 GPIO_ACTIVE_LOW>; + linux,code =3D ; + wakeup-source; + }; + }; + + leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_led_gpio_default>; + + led-red { + color =3D ; + function =3D LED_FUNCTION_POWER; + gpios =3D <&pioA PIN_PD13 GPIO_ACTIVE_HIGH>; + default-state =3D "off"; + }; + + led-green { + color =3D ; + function =3D LED_FUNCTION_BOOT; + gpios =3D <&pioA PIN_PD14 GPIO_ACTIVE_HIGH>; + default-state =3D "off"; + }; + + led-blue { + color =3D ; + function =3D LED_FUNCTION_CPU; + gpios =3D <&pioA PIN_PB15 GPIO_ACTIVE_HIGH>; + linux,default-trigger =3D "heartbeat"; + }; + }; + + memory@60000000 { + device_type =3D "memory"; + reg =3D <0x60000000 0x10000000>; /* 256 MiB DDR3L-1066 16-bit */ + }; +}; + +&adc { + vddana-supply =3D <&vddout25>; + vref-supply =3D <&vddout25>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_defaul= t>; + status =3D "okay"; +}; + +&cpu0 { + cpu-supply =3D <&vddcpu>; +}; + +&dma0 { + status =3D "okay"; +}; + +&dma1 { + status =3D "okay"; +}; + +&dma2 { + status =3D "okay"; +}; + +&ebi { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_nand_default>; + status =3D "okay"; + + nand_controller: nand-controller { + status =3D "okay"; + + nand@3 { + reg =3D <0x3 0x0 0x800000>; + atmel,rb =3D <0>; + nand-bus-width =3D <8>; + nand-ecc-mode =3D "hw"; + nand-ecc-strength =3D <8>; + nand-ecc-step-size =3D <512>; + nand-on-flash-bbt; + label =3D "nand"; + + partitions { + compatible =3D "fixed-partitions"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + at91bootstrap@0 { + label =3D "nand: at91bootstrap"; + reg =3D <0x0 0x40000>; + }; + + bootloader@40000 { + label =3D "nand: u-boot"; + reg =3D <0x40000 0x100000>; + }; + + bootloaderenv@140000 { + label =3D "nand: u-boot env"; + reg =3D <0x140000 0x40000>; + }; + + dtb@180000 { + label =3D "nand: device tree"; + reg =3D <0x180000 0x80000>; + }; + + kernel@200000 { + label =3D "nand: kernel"; + reg =3D <0x200000 0x600000>; + }; + + rootfs@800000 { + label =3D "nand: rootfs"; + reg =3D <0x800000 0x1f800000>; + }; + }; + }; + }; +}; + +&flx3 { + atmel,flexcom-mode =3D ; + status =3D "okay"; + + uart3: serial@200 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flx3_default>; + status =3D "okay"; + }; +}; + +&flx10 { + atmel,flexcom-mode =3D ; + status =3D "okay"; + + i2c10: i2c@600 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flx10_default>; + i2c-analog-filter; + i2c-digital-filter; + i2c-digital-filter-width-ns =3D <35>; + status =3D "okay"; + + eeprom@51 { + compatible =3D "atmel,24c02"; + reg =3D <0x51>; + pagesize =3D <16>; + size =3D <256>; + vcc-supply =3D <&vdd_3v3>; + }; + + pmic@5b { + compatible =3D "microchip,mcp16502"; + reg =3D <0x5b>; + + regulators { + vdd_3v3: VDD_IO { + regulator-name =3D "VDD_IO"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-initial-mode =3D <2>; + regulator-allowed-modes =3D <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-suspend-microvolt =3D <3300000>; + regulator-mode =3D <4>; + }; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-mode =3D <4>; + }; + }; + + vddioddr: VDD_DDR { + regulator-name =3D "VDD_DDR"; + regulator-min-microvolt =3D <1350000>; + regulator-max-microvolt =3D <1350000>; + regulator-initial-mode =3D <2>; + regulator-allowed-modes =3D <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-suspend-microvolt =3D <1350000>; + regulator-mode =3D <4>; + }; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt =3D <1350000>; + regulator-mode =3D <4>; + }; + }; + + vddcore: VDD_CORE { + regulator-name =3D "VDD_CORE"; + regulator-min-microvolt =3D <1150000>; + regulator-max-microvolt =3D <1150000>; + regulator-initial-mode =3D <2>; + regulator-allowed-modes =3D <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-suspend-voltage =3D <1150000>; + regulator-mode =3D <4>; + }; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-mode =3D <4>; + }; + }; + + vddcpu: VDD_OTHER { + regulator-name =3D "VDD_OTHER"; + regulator-min-microvolt =3D <1050000>; + regulator-max-microvolt =3D <1250000>; + regulator-initial-mode =3D <2>; + regulator-allowed-modes =3D <2>, <4>; + regulator-ramp-delay =3D <3125>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-suspend-voltage =3D <1050000>; + regulator-mode =3D <4>; + }; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-mode =3D <4>; + }; + }; + + vldo1: LDO1 { + regulator-name =3D "LDO1"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-always-on; + + regulator-state-standby { + regulator-suspend-voltage =3D <1800000>; + regulator-on-in-suspend; + }; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vldo2: LDO2 { + regulator-name =3D "LDO2"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + + regulator-state-standby { + regulator-suspend-voltage =3D <3300000>; + regulator-on-in-suspend; + }; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; + }; +}; + +&main_xtal { + clock-frequency =3D <24000000>; +}; + +&qspi1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_qspi1_default>; + status =3D "okay"; + + flash@0 { + compatible =3D "jedec,spi-nor"; + reg =3D <0x0>; + spi-max-frequency =3D <100000000>; + spi-tx-bus-width =3D <4>; + spi-rx-bus-width =3D <4>; + m25p,fast-read; + }; +}; + +&pioA { + pinctrl_flx3_default: flx3-default { + pinmux =3D , + ; + bias-pull-up; + }; + + pinctrl_flx10_default: flx10-default { + pinmux =3D , + ; + bias-pull-up; + }; + + pinctrl_key_gpio_default: key-gpio-default { + pinmux =3D ; + bias-pull-up; + }; + + pinctrl_led_gpio_default: led-gpio-default { + pinmux =3D , + , + ; + bias-pull-up; + }; + + pinctrl_mikrobus1_an_default: mikrobus1-an-default { + pinmux =3D ; + bias-disable; + }; + + pinctrl_mikrobus2_an_default: mikrobus2-an-default { + pinmux =3D ; + bias-disable; + }; + + pinctrl_nand_default: nand-default { + pinmux =3D , + , + , + , + , + , + , + , + , + , + , + , + , + ; + bias-disable; + slew-rate =3D <0>; + }; + + pinctrl_qspi1_default: qspi1-default { + pinmux =3D , + , + , + , + , + ; + bias-pull-up; + slew-rate =3D <0>; + }; + + pinctrl_sdmmc0_default: sdmmc0-default { + pinmux =3D , + , + , + , + , + , + ; + bias-pull-up; + slew-rate =3D <0>; + }; + + pinctrl_sdmmc1_default: sdmmc1-default { + pinmux =3D , + , + , + , + , + , + ; + bias-pull-up; + slew-rate =3D <0>; + }; +}; + +&rtt { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; +}; + +/* M.2 slot for wireless card */ +&sdmmc0 { + bus-width =3D <4>; + cd-gpios =3D <&pioA 31 GPIO_ACTIVE_LOW>; + disable-wp; + sdhci-caps-mask =3D <0x0 0x00200000>; + vmmc-supply =3D <&vdd_3v3>; + vqmmc-supply =3D <&vdd_3v3>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_sdmmc0_default>; + status =3D "okay"; +}; + +/* micro SD socket */ +&sdmmc1 { + bus-width =3D <4>; + disable-wp; + sdhci-caps-mask =3D <0x0 0x00200000>; + vmmc-supply =3D <&vdd_3v3>; + vqmmc-supply =3D <&vdd_3v3>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_sdmmc1_default>; + status =3D "okay"; +}; + +&slow_xtal { + clock-frequency =3D <32768>; +}; + +&shdwc { + debounce-delay-us =3D <976>; + status =3D "okay"; + + input@0 { + reg =3D <0>; + }; +}; + +&tcb0 { + timer0: timer@0 { + compatible =3D "atmel,tcb-timer"; + reg =3D <0>; + }; + + timer1: timer@1 { + compatible =3D "atmel,tcb-timer"; + reg =3D <1>; + }; +}; + +&trng { + status =3D "okay"; +}; + +&vddout25 { + vin-supply =3D <&vdd_3v3>; + status =3D "okay"; +}; --=20 2.43.0