Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp293158rdb; Wed, 14 Feb 2024 23:25:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUqpzbbxuDVREg4xo+USUvZK6onS9/6gLX4PpQ+nPhykcRM5YVV61bTfyMMoTGACPNCrLKPcNir34YXCpbNS0XOLKiMm0TG2c4YCzjoWA== X-Google-Smtp-Source: AGHT+IHd0Ewb/WQrWIYuUkozRlOCFWOJ/8QVmrwfpXMY2DjWLQKQG8drVteW/sJ416XSGO6V0tLa X-Received: by 2002:aa7:d4d9:0:b0:560:be95:aa64 with SMTP id t25-20020aa7d4d9000000b00560be95aa64mr649336edr.37.1707981956207; Wed, 14 Feb 2024 23:25:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707981956; cv=pass; d=google.com; s=arc-20160816; b=hpIq4tgn9kfF8dJg2YBYjxYJfWamm/fTCKE6spja9NINK2lqRTD9wIeLT1sM2RFkgL 3j+6DQqtIEsaRgavW5XWMG7E2HGK+NNeqjjcdsyyLuZqRarkHxiLAtTHFIH0z6a6fD+W w/G3djnATZHEH+WTsX11Ta6QcgWsPl6jPFC+JlUhfXtMoGXzBB7ATg09pnAYFG/1fOdm dyXnRlbw6fz196MXZC7izaaFA+PVbUuQJsPcIJUXJFhTp5GNy/4XSDjYokaZrDkWEOSo ufdvnBE1vU1xkdDal1L6JQc2hyX0Gr0CM2ip/lcAnkmXtAQDntFp5wQAHKboDZeBDGkI gRtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=B5j39bQM+ZSv0KF1DL/osRnC1kF9C4R9FA/78T8kPLk=; fh=mEv4dLx4Nf0EcSFOrMfk0keA8fqV0hIst2pRPzNHfoo=; b=PXO8vSZ2CgoT2mDpiP5pPCOJpuDEJDmpsPq69yefZHfPIZjqgpHqvBasyu0qBtAvMr UJIN61Pefoco1c/VmbN3vPa5nmaVNSpO5Z8z7ArRUpyTmmqqikHzbVUFnjQ6lumiSkEw FpBLG5NsKuMcd16wXPCrOueJ7ErYYWX2A9FqBvPh8zRPK3bYIRB1KRm7qaB6JI+6vu28 wVWbNSiwp3tO8tyxYHBekiIfMzPIS7bou1dHM/fFK+m2OAgD50PEvu4SVfE9E5m1aPjS eeSAFHmd+zSsG01gMceSFU1f4rkxCXmy5cpd9qgxbmMAb5UHyYDseNhwhYbASxTjLqwK P1pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=EWckWs5N; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-66358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66358-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n12-20020aa7d04c000000b0056215f4556fsi386794edo.473.2024.02.14.23.25.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 23:25:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=EWckWs5N; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-66358-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66358-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C72381F21EF7 for ; Thu, 15 Feb 2024 07:25:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BC89DDDC; Thu, 15 Feb 2024 07:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="EWckWs5N" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A21C9475 for ; Thu, 15 Feb 2024 07:25:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707981946; cv=none; b=fL8Ro7kobI/v4pUjF4b81Ve+hmKmf7M1zadqi2ZvvEeyjMtJB8FMkp5HIknZD6934VGC5HmY16znO1Z81fQ8+uGGF38m6PMfw+3JJqvEfdEBMd2nCNktKPLy+ziSScazirvqptvt7nVePaYXfJIHBDbOTfiPCX5MKE8r1IBqaDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707981946; c=relaxed/simple; bh=z698GAzx2SjZip44MgXj+QQQv6m+ThWhoR0dgUQId58=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=CeSxH1+OySmsg6u6bnzlo912pH0o9/bmJA+oiKAyGTdjJD3ERONhIA++478MIbB+P/yiNm5LbwFCy3C+mfwWc2GUgatuPH+ms6Zi91fOBSacIH0iWs48mBSbwl73oWHQuyy14jCgdU2p43hNFT0BkrZpsWtj0vfb3rPObYOfodU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=EWckWs5N; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-411ef179d2eso4155515e9.2 for ; Wed, 14 Feb 2024 23:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707981942; x=1708586742; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=B5j39bQM+ZSv0KF1DL/osRnC1kF9C4R9FA/78T8kPLk=; b=EWckWs5N+q+dMeehC7cK9VlGyIQoSEXUGfq9kmKvxTthLs7SKmce1b5gWXN8C0AA6e pMIHDCZN4DsH7INKtiyuXQv1AJLTIdstU0sNp40TGwnj3ytPdPWqAeN4FeWcPgnhJ0Qr 2QpM6vsR7qu6sC+xziSG8doViesqpHvxts9f3hPFFBQGCBMcoL3rU/l8yXKTWx2aiZ6u tA84job76bF+DIuQgjT5MmmRgi3xABrhzMCyOX4tzQBTuPy2DAlx8ZTBv5XQWgGkc3hW HBNUVj68hAFVibxyJfjQMlDm49Kv925fLkT0RmPXMtysb9iL1jf1kKdMozcoBOr6RuF9 c40A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707981942; x=1708586742; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B5j39bQM+ZSv0KF1DL/osRnC1kF9C4R9FA/78T8kPLk=; b=X9dtturTsejZjh50XLwMmvVYMyjaqKBAWvxKSVeYKMGw35oNsci71Q4oX/zmn3H4Mh P7+2AAnkemjjEBhJfb6Poi69MvCDlfvTWg9DibFL4ViZ0DzDhPT6nCee3p+NvdppvawQ w6DhzlmKzCklKkt7T9EVDS9KG22cEunXAsmZ5ixoIgHUQ2WQosthSUC4Rw+H0gFbRSvC JTiz+LlM9w2sEPIsKirvL6+J4/Cwb+hPG7sMBY5/OLsJoge7Q7E/fvVkvdzUEdMQfBIR vlag7f84EintFkb13+55te3mXMY4rM5kvO2RG8CEJSiVl1OBl3epfLYIKSyKHLQFgYQT UpLQ== X-Forwarded-Encrypted: i=1; AJvYcCW8DAqPriXWDeS8TOrCW76mlJjrwEuC8hxKd5J0ZG69jYFZa5lXKNf74tT86nHud8wD3Bj1VP3+QTtl69fxhz1KVdc8k6YJhsiwmDdt X-Gm-Message-State: AOJu0Yy53BqW95NCzKdvGALLRNPLEXBCquo4aTyFQg7h7ACsen4Xx9dO JN8vJf0lnKitDiRyBd24t2j9//jLhwpDz6lTjW09ks6pLdiXwMQIR8IMqu3JB2I= X-Received: by 2002:a5d:544f:0:b0:33c:dda0:769f with SMTP id w15-20020a5d544f000000b0033cdda0769fmr599580wrv.31.1707981941698; Wed, 14 Feb 2024 23:25:41 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id bj8-20020a0560001e0800b0033b3ca3a255sm872931wrb.19.2024.02.14.23.25.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 23:25:40 -0800 (PST) Message-ID: <58fe3ecd-5aa4-4164-abc3-206e0d6ccb26@tuxon.dev> Date: Thu, 15 Feb 2024 09:25:38 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: claudiu beznea Subject: Re: [PATCH v2 3/3] ARM: dts: microchip: sama7g54_curiosity: Add initial device tree of the board To: Mihai Sain , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, andre.przywara@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: cristian.birsan@microchip.com References: <20240214080348.7540-1-mihai.sain@microchip.com> <20240214080348.7540-4-mihai.sain@microchip.com> Content-Language: en-US In-Reply-To: <20240214080348.7540-4-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14.02.2024 10:03, Mihai Sain wrote: > 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/microchip/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 := -@ > DTC_FLAGS_at91-sama5d3_xplained := -@ > DTC_FLAGS_at91-sama5d4_xplained := -@ > DTC_FLAGS_at91-sama7g5ek := -@ > +DTC_FLAGS_at91-sama7g54_curiosity := -@ Alphanumerical sort, thus DTC_FLAGS_at91-sama7g54_curiosity comes before DTC_FLAGS_at91-sama7g5ek > dtb-$(CONFIG_SOC_AT91RM9200) += \ > at91rm9200ek.dtb \ > mpa1600.dtb > @@ -87,7 +88,8 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ > at91-sama5d4ek.dtb \ > at91-vinco.dtb > dtb-$(CONFIG_SOC_SAMA7G5) += \ > - at91-sama7g5ek.dtb > + at91-sama7g5ek.dtb \ > + at91-sama7g54_curiosity.dtb Same here. > > dtb-$(CONFIG_SOC_LAN966) += \ > 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 Board > + * > + * 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 = "Microchip SAMA7G54 Curiosity"; > + compatible = "microchip,sama7g54-curiosity", "microchip,sama7g5", "microchip,sama7"; > + > + aliases { > + serial0 = &uart3; > + i2c0 = &i2c10; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_key_gpio_default>; > + > + button-user { > + label = "user-button"; > + gpios = <&pioA PIN_PD19 GPIO_ACTIVE_LOW>; > + linux,code = ; > + wakeup-source; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_led_gpio_default>; > + > + led-red { > + color = ; > + function = LED_FUNCTION_POWER; > + gpios = <&pioA PIN_PD13 GPIO_ACTIVE_HIGH>; > + default-state = "off"; > + }; > + > + led-green { > + color = ; > + function = LED_FUNCTION_BOOT; > + gpios = <&pioA PIN_PD14 GPIO_ACTIVE_HIGH>; > + default-state = "off"; > + }; > + > + led-blue { > + color = ; > + function = LED_FUNCTION_CPU; > + gpios = <&pioA PIN_PB15 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + memory@60000000 { > + device_type = "memory"; > + reg = <0x60000000 0x10000000>; // 256 MiB DDR3L-1066 16-bit > + }; > +}; > + > +&adc { > + vddana-supply = <&vddout25>; > + vref-supply = <&vddout25>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mikrobus1_an_default &pinctrl_mikrobus2_an_default>; > + status = "okay"; > +}; > + > +&cpu0 { > + cpu-supply = <&vddcpu>; > +}; > + > +&dma0 { > + status = "okay"; > +}; > + > +&dma1 { > + status = "okay"; > +}; > + > +&dma2 { > + status = "okay"; > +}; > + > +&ebi { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_nand_default>; > + status = "okay"; > + > + nand_controller: nand-controller { > + status = "okay"; > + > + nand@3 { > + reg = <0x3 0x0 0x800000>; > + atmel,rb = <0>; > + nand-bus-width = <8>; > + nand-ecc-mode = "hw"; > + nand-ecc-strength = <8>; > + nand-ecc-step-size = <512>; > + nand-on-flash-bbt; > + label = "nand"; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + at91bootstrap@0 { > + label = "nand: at91bootstrap"; > + reg = <0x0 0x40000>; > + }; > + > + bootloader@40000 { > + label = "nand: u-boot"; > + reg = <0x40000 0x100000>; > + }; > + > + bootloaderenv@140000 { > + label = "nand: u-boot env"; > + reg = <0x140000 0x40000>; > + }; > + > + dtb@180000 { > + label = "nand: device tree"; > + reg = <0x180000 0x80000>; > + }; > + > + kernel@200000 { > + label = "nand: kernel"; > + reg = <0x200000 0x600000>; > + }; > + > + rootfs@800000 { > + label = "nand: rootfs"; > + reg = <0x800000 0x1f800000>; > + }; > + }; > + }; > + }; > +}; > + > +&flx3 { > + atmel,flexcom-mode = ; > + status = "okay"; > + > + uart3: serial@200 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_flx3_default>; > + status = "okay"; > + }; > +}; > + > +&flx10 { > + atmel,flexcom-mode = ; > + status = "okay"; > + > + i2c10: i2c@600 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_flx10_default>; > + i2c-analog-filter; > + i2c-digital-filter; > + i2c-digital-filter-width-ns = <35>; > + status = "okay"; > + > + adc@1f { > + compatible = "microchip,pac1934"; There is no driver for this one in the upstream Linux and the compatible is not documented. I would remove the node until the driver lands in mainline Linux. > + reg = <0x1f>; > + }; > + > + eeprom@51 { > + compatible = "atmel,24c02"; > + reg = <0x51>; > + pagesize = <16>; > + size = <256>; > + vcc-supply = <&vdd_3v3>; > + }; > + > + pmic@5b { > + compatible = "microchip,mcp16502"; > + reg = <0x5b>; > + > + regulators { > + vdd_3v3: VDD_IO { > + regulator-name = "VDD_IO"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <3300000>; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vddioddr: VDD_DDR { > + regulator-name = "VDD_DDR"; > + regulator-min-microvolt = <1350000>; > + regulator-max-microvolt = <1350000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1350000>; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1350000>; > + regulator-mode = <4>; > + }; > + }; > + > + vddcore: VDD_CORE { > + regulator-name = "VDD_CORE"; > + regulator-min-microvolt = <1150000>; > + regulator-max-microvolt = <1150000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-voltage = <1150000>; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vddcpu: VDD_OTHER { > + regulator-name = "VDD_OTHER"; > + regulator-min-microvolt = <1050000>; > + regulator-max-microvolt = <1250000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-ramp-delay = <3125>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-voltage = <1050000>; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vldo1: LDO1 { > + regulator-name = "LDO1"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-suspend-voltage = <1800000>; > + regulator-on-in-suspend; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + }; > + }; > + > + vldo2: LDO2 { > + regulator-name = "LDO2"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-suspend-voltage = <3300000>; > + regulator-on-in-suspend; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + }; > + }; > + }; > + }; > + }; > +}; > + > +&main_xtal { > + clock-frequency = <24000000>; > +}; > + > +&qspi1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_qspi1_default>; > + status = "okay"; > + > + flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0x0>; > + spi-max-frequency = <100000000>; > + spi-tx-bus-width = <4>; > + spi-rx-bus-width = <4>; > + m25p,fast-read; > + }; > +}; > + > +&pioA { > + pinctrl_flx3_default: flx3-default { > + pinmux = , > + ; > + bias-pull-up; > + }; > + > + pinctrl_flx10_default: flx10-default { > + pinmux = , > + ; > + bias-pull-up; > + }; > + > + pinctrl_key_gpio_default: key-gpio-default { > + pinmux = ; > + bias-pull-up; > + }; > + > + pinctrl_led_gpio_default: led-gpio-default { > + pinmux = , > + , > + ; > + bias-pull-up; > + }; > + > + pinctrl_mikrobus1_an_default: mikrobus1-an-default { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_an_default: mikrobus2-an-default { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_nand_default: nand-default { > + pinmux = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + slew-rate = <0>; > + }; > + > + pinctrl_qspi1_default: qspi1-default { > + pinmux = , > + , > + , > + , > + , > + ; > + bias-pull-up; > + slew-rate = <0>; > + }; > + > + pinctrl_sdmmc0_default: sdmmc0-default { > + pinmux = , > + , > + , > + , > + , > + , > + ; > + bias-pull-up; > + slew-rate = <0>; > + }; > + > + pinctrl_sdmmc1_default: sdmmc1-default { > + pinmux = , > + , > + , > + , > + , > + , > + ; > + bias-pull-up; > + slew-rate = <0>; > + }; > +}; > + > +&rtt { > + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; > +}; > + > +// M.2 slot for wireless card Use C style comment instead /* */ > +&sdmmc0 { > + bus-width = <4>; > + cd-gpios = <&pioA 31 GPIO_ACTIVE_LOW>; > + disable-wp; > + sdhci-caps-mask = <0x0 0x00200000>; > + vmmc-supply = <&vdd_3v3>; > + vqmmc-supply = <&vdd_3v3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmmc0_default>; > + status = "okay"; > +}; > + > +// micro SD socket > +&sdmmc1 { > + bus-width = <4>; > + disable-wp; > + sdhci-caps-mask = <0x0 0x00200000>; > + vmmc-supply = <&vdd_3v3>; > + vqmmc-supply = <&vdd_3v3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmmc1_default>; > + status = "okay"; > +}; > + > +&slow_xtal { > + clock-frequency = <32768>; > +}; > + > +&shdwc { > + debounce-delay-us = <976>; > + status = "okay"; > + > + input@0 { > + reg = <0>; > + }; > +}; > + > +&tcb0 { > + timer0: timer@0 { > + compatible = "atmel,tcb-timer"; > + reg = <0>; > + }; > + > + timer1: timer@1 { > + compatible = "atmel,tcb-timer"; > + reg = <1>; > + }; > +}; > + > +&trng { > + status = "okay"; > +}; > + > +&vddout25 { > + vin-supply = <&vdd_3v3>; > + status = "okay"; > +};