From nobody Sat Feb 7 13:05:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 E83B91173D; Wed, 14 Feb 2024 08:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897861; cv=none; b=LNaC4YAjWDASxpvDPzbi7JoHkFFk+893q//M4f7HeJd46Mk5UXGYUVYAn5Kp/nC8pAu0p5i8yFcH2HQvh75e5pc25nMpg8R2CY3Ka5Yf93tcKTgz3NLHw14mwRdhp6Ei6pyArsVY4xCe0mT6uNMlxNEL9uGnBG/ZKFv1sHGpxVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897861; 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=O6LzDNLOs8lhTQ0BoFhjP3M6fkWmld+7RL0YCt11nkT7BIrrmsgpZwn4s+Tc1sR61Mn/IQL6hTW5nC1/A0bkM3jxRms3u12XRE7Ml7CwVSiwdHZya1rIM4671qXZdZ+xEActSwJa8UlbXwefPtNGS15PTWL+HEbkOHKzerjpyuc= 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=POUGozEL; arc=none smtp.client-ip=68.232.153.233 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="POUGozEL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707897857; x=1739433857; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0AumbT9VD7jrQpuV2WNJF2ZTS/F/XT/yJPrnJl5acKE=; b=POUGozEL3MaFIilExhzqd6FiozE4YW0C9/iUGSxQVwusZtFzZYjpkNz4 hfOfCcvriSdevCNPxyP0iDuoxMqSjjp/VDUaOiSdqFCm/eUp77m9R6zsx 4rX3i8K9LGrTkldWSvkcW20RQM/ty8HPlOvb2FKQToAxjm6g0YY289o7T BDU2IAsRtWYSR5k8xiwsANwg0YFqbhcdTOgHQm814wisosbn8EXJk6KDx Gwxh4aRibCs8x+HrdOVeTpRKPEcuzU6+xzVZeaCVphzjVpfi1pQp1sBM6 ugxAHDnvQiUUpuG4Q/IbFlZzrjpZYlozzBeck6LgoxQt7mm5YQcR5Vcjm Q==; X-CSE-ConnectionGUID: 5EMCBeoZQRC2nXyc/ouEeQ== X-CSE-MsgGUID: YPtgnR9uSziuzLevygoeXA== X-IronPort-AV: E=Sophos;i="6.06,159,1705388400"; d="scan'208";a="17666783" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 14 Feb 2024 01:04:15 -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; Wed, 14 Feb 2024 01:03:59 -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; Wed, 14 Feb 2024 01:03:56 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain , Krzysztof Kozlowski Subject: [PATCH v2 1/3] dt-bindings: ARM: at91: Document Microchip SAMA7G54 Curiosity Date: Wed, 14 Feb 2024 10:03:46 +0200 Message-ID: <20240214080348.7540-2-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240214080348.7540-1-mihai.sain@microchip.com> References: <20240214080348.7540-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 Sat Feb 7 13:05:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 4D6B312B8F; Wed, 14 Feb 2024 08:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897862; cv=none; b=Rijw0q5lfr176gPea9Xe0Fq/gaYzps+YCBzDOdP7Fj/3aXB7Fd7wsMyhNGIMe3Ew9zupNGbs+x/3YnENUClbJM15QijzLM6r1noonLg5zm8Fu6Tgy5v1XgoMPdOvrvgh2uNt7JiFZkD7qKy0xRmvC6gX9nZ+rXoKY4cU0/X5ag0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897862; c=relaxed/simple; bh=lSx1r2xryKETv5g33mx8+S9nIQylyh29ftD7vemFgG8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Hy/6XeFqRKn2posQjf+6RsivbsIF1CmkU8IqZDiPcM3qbJuWerBkHgD9KkbknYl+wXXKPB8uO+6SO/jEP7aBlTR1Kqopg3QXZNyq+Ev6GBb8v8SscZ3T0p8ptlzefc7hPfpa0VstAVFY1xBEqGIUksKZuaq+tIYEmUloI+K4jds= 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=F0WPKLEl; arc=none smtp.client-ip=68.232.153.233 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="F0WPKLEl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707897861; x=1739433861; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lSx1r2xryKETv5g33mx8+S9nIQylyh29ftD7vemFgG8=; b=F0WPKLElrc7sjvcpMqoKPteqIVesprS106XHCeCBN86HR2ZcCGKJTzBG pxM2IrN7r1xPqeZ6ntoUwv8CcGdiWC4URxpv3hJshHu3e1sMMK9DWNE6q BzOTrcLw7dc2bkjekYzBMcbd8b2omnpFpSVq7UfTxTmei9Nk4M+KJju+L JnwHk2wLeuBFHHeMwRW/UbrVAijKGIKOgZv/moXSD1nnXWzc3MrGe5Ov7 R9cYlu2dJxBhvFJ10bs/1vJFflxHBauwFBD8EAsS6FK+y9eCWZwKR/Iti J+CLtu/7QjC6OUUrj8rJhzz2FUo93p28AjKjElG5GBgL6zPThvrXs9mdR g==; X-CSE-ConnectionGUID: 5EMCBeoZQRC2nXyc/ouEeQ== X-CSE-MsgGUID: beIlTBYAT0e2vJ0mBzlCJw== X-IronPort-AV: E=Sophos;i="6.06,159,1705388400"; d="scan'208";a="17666784" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 14 Feb 2024 01:04:16 -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; Wed, 14 Feb 2024 01:04:02 -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; Wed, 14 Feb 2024 01:03:59 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain Subject: [PATCH v2 2/3] ARM: dts: microchip: sama7g5: Add flexcom 10 node Date: Wed, 14 Feb 2024 10:03:47 +0200 Message-ID: <20240214080348.7540-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240214080348.7540-1-mihai.sain@microchip.com> References: <20240214080348.7540-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 | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/m= icrochip/sama7g5.dtsi index 269e0a3ca269..c90e404e8ed9 100644 --- a/arch/arm/boot/dts/microchip/sama7g5.dtsi +++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi @@ -958,6 +958,32 @@ 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(25)>, + <&dma0 AT91_XDMAC_DT_PERID(26)>; + dma-names =3D "rx", "tx"; + atmel,use-dma-rx; + atmel,use-dma-tx; + status =3D "disabled"; + }; + }; + flx11: flexcom@e2824000 { compatible =3D "atmel,sama5d2-flexcom"; reg =3D <0xe2824000 0x200>; --=20 2.43.0 From nobody Sat Feb 7 13:05:47 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 1B73F12E72; Wed, 14 Feb 2024 08:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897863; cv=none; b=SkhjtvvwLGQeGakB52E4aVGkhczThq/Ei3bi2hKzi3xeg5Z0q4tDHEAdudgMlOqq+zqLn+QW5b2VCjE8UJQW//E095QZ9yQO+QjLc/JdXOajYrGRc1rtMGMJVRpBf9UtoRirPR5N56y7yf0K4QqFLqUUmJXfJUH2R2hkoqukc38= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897863; c=relaxed/simple; bh=hCmSSsbp3tAXjxi3FzZODZNqRxbeSszOyb3ctWDywzE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IjfgSaXmLupSHr96YDRJ1mwMrDp8Bqz2JO/TSPB3TJdhwWOZ9o633jZgu/64jR65leHQXCkJhnm7olkvV+jnMpkEu1IePqolKPUafnNKehkptpSgGUXoysXU9q7I5YP7z2rCYLiX28UdT/mJictie4Dyf2FQ1Y6PVa0Yq/73EnI= 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=P88yQ1ut; arc=none smtp.client-ip=68.232.153.233 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="P88yQ1ut" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707897862; x=1739433862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hCmSSsbp3tAXjxi3FzZODZNqRxbeSszOyb3ctWDywzE=; b=P88yQ1utEK/d8n62r33b64bvFO7UvA5GM4HlsqoHDXa+56DSvN4ZHL+A SFNPthZEWkSaD+NMo9jp/Mum5LOHmbFrUPGkRUJFMyqoDp95kvtJpYtMF Gmg9sAztqCnQef5WpmW19ggnPz7UQM3lcMPKgFmp62KMkfNBCnE2m8l2H pn1qeOx8sMoXtSocQItW5sPvS7MjRvWF2+nOeaba9YUU9cSRSS24RptW7 nSdTfBE17SVEBOuphrHQm9liqhA3lQWSXbWLarecZJ8TfKNrsZoiu7RYJ KrUpWu6dSFLXCaYA4Zy2sJzUDAiVCDJhe1FeW/e6oz6bGsaYYaW1rkTWY w==; X-CSE-ConnectionGUID: 5EMCBeoZQRC2nXyc/ouEeQ== X-CSE-MsgGUID: wroDCQOHTn+gpSlGgiOC8g== X-IronPort-AV: E=Sophos;i="6.06,159,1705388400"; d="scan'208";a="17666785" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 14 Feb 2024 01:04:16 -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; Wed, 14 Feb 2024 01:04:05 -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; Wed, 14 Feb 2024 01:04:02 -0700 From: Mihai Sain To: , , , , , , , , , CC: , Mihai Sain Subject: [PATCH v2 3/3] ARM: dts: microchip: sama7g54_curiosity: Add initial device tree of the board Date: Wed, 14 Feb 2024 10:03:48 +0200 Message-ID: <20240214080348.7540-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240214080348.7540-1-mihai.sain@microchip.com> References: <20240214080348.7540-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 | 4 +- .../dts/microchip/at91-sama7g54_curiosity.dts | 487 ++++++++++++++++++ 2 files changed, 490 insertions(+), 1 deletion(-) 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..29b2a788748f 100644 --- a/arch/arm/boot/dts/microchip/Makefile +++ b/arch/arm/boot/dts/microchip/Makefile @@ -12,6 +12,7 @@ DTC_FLAGS_at91-sama5d3_eds :=3D -@ DTC_FLAGS_at91-sama5d3_xplained :=3D -@ DTC_FLAGS_at91-sama5d4_xplained :=3D -@ DTC_FLAGS_at91-sama7g5ek :=3D -@ +DTC_FLAGS_at91-sama7g54_curiosity :=3D -@ dtb-$(CONFIG_SOC_AT91RM9200) +=3D \ at91rm9200ek.dtb \ mpa1600.dtb @@ -87,7 +88,8 @@ dtb-$(CONFIG_SOC_SAM_V7) +=3D \ at91-sama5d4ek.dtb \ at91-vinco.dtb dtb-$(CONFIG_SOC_SAMA7G5) +=3D \ - at91-sama7g5ek.dtb + at91-sama7g5ek.dtb \ + at91-sama7g54_curiosity.dtb =20 dtb-$(CONFIG_SOC_LAN966) +=3D \ lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb \ 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..a6504c3781f4 --- /dev/null +++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts @@ -0,0 +1,487 @@ +// 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"; + + adc@1f { + compatible =3D "microchip,pac1934"; + reg =3D <0x1f>; + }; + + 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