Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5632672rdb; Sun, 17 Sep 2023 05:46:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFk8Dx6apbDk/+UfuI8GqVb4tzb4cpFes9Ijgv81Ad8nbkawgJamsRjrS0acp2bK6IDyZoP X-Received: by 2002:a05:6870:5a4:b0:1b0:43b6:e13b with SMTP id m36-20020a05687005a400b001b043b6e13bmr8515394oap.54.1694954776833; Sun, 17 Sep 2023 05:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694954776; cv=none; d=google.com; s=arc-20160816; b=SgAPvXRjOdanmq+GT+lYZNn6E5t5uau/YezW9oNTLuY2CDS/BVfVPIN8FKLqf9hGAS NMW44NDcmID9g/FnSTHJQPk3GbB8Xy82juAfIInOHKfOEspnjsv7cdYOWuqXTQTUaQlH +PZBxSpYO0vBDz7OX8PGlpQe8HKJhHOSgVPLYLpwkTUrPf6n8KSG0tjJ+I1VrSN+Js2w ds5g5g6JsuqKVcUJl7LiLpyTRPRpF/YiE+nCoWSzrZJq6sALU9hpTRzMo/fIiemRVloo vqsTJdxinuWc1hc5j61VJeTNxMs/GzQvqxlP5Loh64qgikspLubq2wI4JVeRU8GwX3qV +n+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6kNd1On9Iu+U+6wDKZBy98BmzT+uqpRHNYsTIMU9dqo=; fh=OaXJ8frfqti1dsowhOi0ziSGDqW8+7FtxmBDksbKGhI=; b=N8nMLHe7baU91r63Svdq3giauJYiKVDXberbdnFBEpBanirgddQKTp/+9w/fPDWhI6 QxLVbHK9J3tOvaKdC54fl9r2s8deA3iMLes+GyzJEnrig4/PZRoO5iAyIMeDEleb8VrD foN1xF+dSocNx2+AsNs4GBnrkL2IMnUtXymi6JrymWDVjrazMt1OOUWrC84SzqM3qHx2 WMTkSt35eQPtOBQdCIk3ELMgegERFt+ZVq3qKXbPz9U3wWMmB9YqmVdgSOFz1Ox2WQrf Xns2XobjNCX1x75mKrpswXbUOy+kDdB8/HlDKEgjU30Py3e5RPW1O0eLsNJv1h418bAg 3PxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=ZXdFapJc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id mu12-20020a17090b388c00b00268300061cdsi9076581pjb.168.2023.09.17.05.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:46:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=ZXdFapJc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B1C1083ADC85; Sat, 16 Sep 2023 23:12:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233820AbjIQGEe (ORCPT + 99 others); Sun, 17 Sep 2023 02:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232398AbjIQGED (ORCPT ); Sun, 17 Sep 2023 02:04:03 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D1D8185 for ; Sat, 16 Sep 2023 23:03:57 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32001d16a14so778906f8f.1 for ; Sat, 16 Sep 2023 23:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1694930635; x=1695535435; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6kNd1On9Iu+U+6wDKZBy98BmzT+uqpRHNYsTIMU9dqo=; b=ZXdFapJcjgrSne1n3zpppUt2TTCIVXC/UeFdQcmhgbCwX1UqfCtxRnEfpMkG8/BQNQ CosleZ7Msp6+0gB4fRdMAKljnyYROShi/Mwhg1xP/SzFoFTJAcBG8vVa3MmN68aIKaJx rk5qU6oSaSlIz3QWJWlm8F5Yd2zuyki0oRMIZWO67LylWLBKDAv4xTl+xXlkpVFp1Gz6 R1DdkB35iBWQWvor+azLo/ZnlU62WmdsCE/wmIMB401HD0WJxyuHMiG1P7zhVQ1JlUAw qJM531owYNOMBQPm/RKOcCrqQ0HpmZDZAxx6VOEoiwdNrWcGG6cbqZx3dZNmr9Y1uMFE eM0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694930635; x=1695535435; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6kNd1On9Iu+U+6wDKZBy98BmzT+uqpRHNYsTIMU9dqo=; b=ZSkJoX6Te9E/9gSyoDDNYTxIDVn/fSso6AZpzSAzSiex1q42CFWEwPFQT5oejkunxb stv7EP1FgqFq92GSQ664XS2CvgT5FpTt1lNffUMGR+KXz3xaAkyzACLc/c8IPEahTPU5 UQA11OwVDa5f9evtCJmkW3e5vTq/GpU/8oDzoemx1jLkSvlAhWf5Mwkd7osB7Pbmwnnx 0NRcmRZPhwPpLwRfKsb7Gri9kCr2Cmw2zhDfRhwdk5aWw6D9MbEIai8iH/6QKK+UNg49 /OXqKbvewjQkm/FRGwACO9StnQiiDT8nOYjCnxdiia5193IH4H+n957TWSdemSXxTZvz uuVQ== X-Gm-Message-State: AOJu0Yx6FNGAhUzbAAIn7t672yWEnKlCw2vqLFyaovQtOSWy5svTAow+ zg3XybGsBvPhOeLy9EhaMgkxOA== X-Received: by 2002:adf:f8c5:0:b0:31f:87f2:2155 with SMTP id f5-20020adff8c5000000b0031f87f22155mr4853991wrq.26.1694930635389; Sat, 16 Sep 2023 23:03:55 -0700 (PDT) Received: from [192.168.50.4] ([82.78.167.145]) by smtp.gmail.com with ESMTPSA id s17-20020a5d5111000000b0032148618cc4sm417842wrt.29.2023.09.16.23.03.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Sep 2023 23:03:54 -0700 (PDT) Message-ID: <6c3c8585-8f6d-384a-9a27-c0f851016135@tuxon.dev> Date: Sun, 17 Sep 2023 09:03:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3] ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board To: Mihai Sain , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, cristian.birsan@microchip.com, alexandre.belloni@bootlin.com, andre.przywara@arm.com, jerry.ray@microchip.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: andrei.simion@microchip.com References: <20230817131352.17631-1-mihai.sain@microchip.com> Content-Language: en-US From: claudiu beznea In-Reply-To: <20230817131352.17631-1-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 16 Sep 2023 23:12:03 -0700 (PDT) Hi, Mihai, On 17.08.2023 16:13, Mihai Sain wrote: > Add initial device tree file for sama5d29_curiosity board. > > Signed-off-by: Mihai Sain > --- I would apply this but there are some warnings like: /home/claudiu/repos/linux-microchip/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dtb: leds: 'blue', 'green', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' /home/claudiu/repos/linux-microchip/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dtb: pinctrl@fc038000: i2c0-gpio: {'pinmux': [[63, 64]], 'bias-disable': True, 'phandle': [[23]]} is not of type 'array' from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml# /home/claudiu/repos/linux-microchip/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dtb: pinctrl@fc038000: i2c1-gpio: {'pinmux': [[100, 101]], 'bias-disable': True, 'phandle': [[36]]} is not of type 'array' Can you, please, run make dtbs_check arch/arm/boot/dts/microchip and fix the warnings introduced by your dts (not the ones comming from dtsi at the moment)? Thank you, Claudiu Beznea > Changes in v3: > * remove i2s0 node and its pinctrl > > Changes in v2: > * drop dt-bindings patch > * remove vdd_1v8 regulator > * fix flx4 node to use 1 spi node and pinctrl > * add i2s0 node and pinctrl > * remove macb0 node and pinctrl > * remove unused pinctrl > * sort in alphabetical order all nodes and pinctrl > * replace "_" with "-" in node names > --- > arch/arm/boot/dts/microchip/Makefile | 2 + > .../dts/microchip/at91-sama5d29_curiosity.dts | 600 ++++++++++++++++++ > 2 files changed, 602 insertions(+) > create mode 100644 arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts > > diff --git a/arch/arm/boot/dts/microchip/Makefile b/arch/arm/boot/dts/microchip/Makefile > index 31e03747cdf4..efde9546c8f4 100644 > --- a/arch/arm/boot/dts/microchip/Makefile > +++ b/arch/arm/boot/dts/microchip/Makefile > @@ -4,6 +4,7 @@ DTC_FLAGS_at91-sam9x60_curiosity := -@ > DTC_FLAGS_at91-sam9x60ek := -@ > DTC_FLAGS_at91-sama5d27_som1_ek := -@ > DTC_FLAGS_at91-sama5d27_wlsom1_ek := -@ > +DTC_FLAGS_at91-sama5d29_curiosity := -@ > DTC_FLAGS_at91-sama5d2_icp := -@ > DTC_FLAGS_at91-sama5d2_ptc_ek := -@ > DTC_FLAGS_at91-sama5d2_xplained := -@ > @@ -64,6 +65,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ > at91-nattis-2-natte-2.dtb \ > at91-sama5d27_som1_ek.dtb \ > at91-sama5d27_wlsom1_ek.dtb \ > + at91-sama5d29_curiosity.dtb \ > at91-sama5d2_icp.dtb \ > at91-sama5d2_ptc_ek.dtb \ > at91-sama5d2_xplained.dtb \ > diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts > new file mode 100644 > index 000000000000..267e1dbb417d > --- /dev/null > +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts > @@ -0,0 +1,600 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * at91-sama5d29_curiosity.dts - Device Tree file for SAMA5D29 Curiosity board > + * > + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries > + * > + * Author: Mihai Sain > + * > + */ > +/dts-v1/; > +#include "sama5d29.dtsi" > +#include "sama5d2-pinfunc.h" > +#include > +#include > +#include > + > +/ { > + model = "Microchip SAMA5D29 Curiosity"; > + compatible = "microchip,sama5d29-curiosity", "atmel,sama5d29", "atmel,sama5d2", "atmel,sama5"; > + > + aliases { > + serial0 = &uart0; // debug > + serial1 = &uart1; // RPi > + serial2 = &uart3; // mikro BUS 2 > + serial3 = &uart4; // mikro BUS 1 > + serial4 = &uart6; // flx1 Bluetooth > + i2c0 = &i2c0; > + i2c1 = &i2c1; > + }; > + > + chosen { > + bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait"; > + stdout-path = "serial0:115200n8"; > + }; > + > + clocks { > + slow_xtal { > + clock-frequency = <32768>; > + }; > + > + main_xtal { > + clock-frequency = <24000000>; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_key_gpio_default>; > + > + button-1 { > + label = "USER BUTTON"; > + gpios = <&pioA PIN_PA17 GPIO_ACTIVE_LOW>; > + linux,code = ; > + wakeup-source; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_led_gpio_default>; > + status = "okay"; > + > + red { > + label = "red"; > + gpios = <&pioA PIN_PA7 GPIO_ACTIVE_HIGH>; > + }; > + > + green { > + label = "green"; > + gpios = <&pioA PIN_PA8 GPIO_ACTIVE_HIGH>; > + }; > + > + blue { > + label = "blue"; > + gpios = <&pioA PIN_PA9 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + memory@20000000 { > + device_type = "memory"; > + reg = <0x20000000 0x20000000>; > + }; > +}; > + > +&adc { > + vddana-supply = <&vdd_3v3>; > + vref-supply = <&vdd_3v3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>; > + status = "okay"; > +}; > + > +&can0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_can0_default>; > + status = "okay"; > +}; > + > +&can1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_can1_default>; > + status = "okay"; > +}; > + > +&flx1 { > + atmel,flexcom-mode = ; > + status = "okay"; > + > + uart6: serial@200 { > + pinctrl-0 = <&pinctrl_flx1_default>; > + pinctrl-names = "default"; > + atmel,use-dma-rx; > + atmel,use-dma-tx; > + status = "okay"; > + }; > +}; > + > +&flx4 { > + atmel,flexcom-mode = ; > + status = "okay"; > + > + spi6: spi@400 { > + dmas = <0>, <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rpi_spi>; > + status = "okay"; > + }; > +}; > + > +&i2c0 { > + dmas = <0>, <0>; > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c0_default>; > + pinctrl-1 = <&pinctrl_i2c0_gpio>; > + sda-gpios = <&pioA PIN_PB31 GPIO_ACTIVE_HIGH>; > + scl-gpios = <&pioA PIN_PC0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > + i2c-sda-hold-time-ns = <350>; > + status = "okay"; > + > + mcp16502@5b { > + compatible = "microchip,mcp16502"; > + reg = <0x5b>; > + status = "okay"; > + lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>; > + > + 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-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vddio_ddr: VDD_DDR { > + regulator-name = "VDD_DDR"; > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1200000>; > + regulator-changeable-in-suspend; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1200000>; > + regulator-changeable-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vdd_core: VDD_CORE { > + regulator-name = "VDD_CORE"; > + regulator-min-microvolt = <1250000>; > + regulator-max-microvolt = <1250000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + vdd_ddr: VDD_OTHER { > + regulator-name = "VDD_OTHER"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-initial-mode = <2>; > + regulator-allowed-modes = <2>, <4>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1800000>; > + regulator-changeable-in-suspend; > + regulator-mode = <4>; > + }; > + > + regulator-state-mem { > + regulator-on-in-suspend; > + regulator-suspend-microvolt = <1800000>; > + regulator-changeable-in-suspend; > + regulator-mode = <4>; > + }; > + }; > + > + LDO1 { > + regulator-name = "LDO1"; > + regulator-min-microvolt = <2500000>; > + regulator-max-microvolt = <2500000>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + }; > + }; > + > + LDO2 { > + regulator-name = "LDO2"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + > + regulator-state-standby { > + regulator-on-in-suspend; > + }; > + > + regulator-state-mem { > + regulator-off-in-suspend; > + }; > + }; > + }; > + }; > +}; > + > +&i2c1 { > + dmas = <0>, <0>; > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c1_default>; > + pinctrl-1 = <&pinctrl_i2c1_gpio>; > + i2c-analog-filter; > + i2c-digital-filter; > + i2c-digital-filter-width-ns = <35>; > + sda-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_HIGH>; > + scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > + status = "okay"; > +}; > + > +&pioA { > + pinctrl_adc_default: adc-default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_adtrg_default: adtrg-default { > + pinmux = ; > + bias-pull-up; > + }; > + > + pinctrl_can0_default: can0-default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_can1_default: can1-default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_debug_uart: debug-uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_flx1_default: flx1-default { > + pinmux = , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_i2c0_default: i2c0-default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_i2c0_gpio: i2c0-gpio { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_i2c1_default: i2c1-default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_i2c1_gpio: i2c1-gpio { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_key_gpio_default: key-gpio-default { > + pinmux = ; > + bias-pull-up; > + }; > + > + pinctrl_led_gpio_default: led-gpio-default { > + pinmux = , > + , > + ; > + bias-pull-up; > + }; > + > + pinctrl_mikrobus1_pwm: mikrobus1-pwm { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_pwm: mikrobus2-pwm { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_uart: mikrobus1-uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_uart: mikrobus2-uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_qspi1_default: qspi1-default { > + pinmux = , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_rpi_spi: rpi-spi { > + pinmux = , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_rpi_uart: rpi-uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_sdmmc0_default: sdmmc0-default { > + pinmux = , > + , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_sdmmc1_default: sdmmc1-default { > + pinmux = , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_spi1_default: spi1-default { > + pinmux = , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_usb_default: usb-default { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_usba_vbus: usba-vbus { > + pinmux = ; > + bias-disable; > + }; > +}; > + > +&pwm0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>; > + status = "okay"; > +}; > + > +&qspi1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_qspi1_default>; > + status = "okay"; > + > + flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <80000000>; > + spi-tx-bus-width = <4>; > + spi-rx-bus-width = <4>; > + m25p,fast-read; > + label = "atmel_qspi1"; > + status = "okay"; > + > + at91bootstrap@0 { > + label = "at91bootstrap"; > + reg = <0x0 0x40000>; > + }; > + > + bootloader@40000 { > + label = "bootloader"; > + reg = <0x40000 0xc0000>; > + }; > + > + bootloaderenvred@100000 { > + label = "bootloader env redundant"; > + reg = <0x100000 0x40000>; > + }; > + > + bootloaderenv@140000 { > + label = "bootloader env"; > + reg = <0x140000 0x40000>; > + }; > + > + dtb@180000 { > + label = "device tree"; > + reg = <0x180000 0x80000>; > + }; > + > + kernel@200000 { > + label = "kernel"; > + reg = <0x200000 0x600000>; > + }; > + }; > +}; > + > +&sdmmc0 { > + bus-width = <4>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmmc0_default>; > + disable-wp; > + status = "okay"; > +}; > + > +&sdmmc1 { > + bus-width = <4>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmmc1_default>; > + disable-wp; > + status = "okay"; > +}; > + > +&shutdown_controller { > + debounce-delay-us = <976>; > + atmel,wakeup-rtc-timer; > + > + input@0 { > + reg = <0>; > + }; > +}; > + > +&spi1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_spi1_default>; > + status = "okay"; > +}; > + > +&tcb0 { > + timer0: timer@0 { > + compatible = "atmel,tcb-timer"; > + reg = <0>; > + }; > + > + timer1: timer@1 { > + compatible = "atmel,tcb-timer"; > + reg = <1>; > + }; > +}; > + > +&uart0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_debug_uart>; > + atmel,use-dma-rx; > + atmel,use-dma-tx; > + status = "okay"; > +}; > + > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rpi_uart>; > + atmel,use-dma-rx; > + atmel,use-dma-tx; > + status = "okay"; > +}; > + > +&uart3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mikrobus2_uart>; > + atmel,use-dma-rx; > + atmel,use-dma-tx; > + status = "okay"; > +}; > + > +&uart4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mikrobus1_uart>; > + atmel,use-dma-rx; > + atmel,use-dma-tx; > + status = "okay"; > +}; > + > +&usb0 { > + atmel,vbus-gpio = <&pioA PIN_PB13 GPIO_ACTIVE_HIGH>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usba_vbus>; > + status = "okay"; > +}; > + > +&usb1 { > + num-ports = <3>; > + atmel,vbus-gpio = <0 > + &pioA PIN_PA6 GPIO_ACTIVE_HIGH > + 0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb_default>; > + status = "okay"; > +}; > + > +&usb2 { > + status = "okay"; > +}; > + > +&watchdog { > + status = "okay"; > +};