Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp483912rwo; Tue, 1 Aug 2023 22:06:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFGOZEN13bTQ55I8LJAbfkOcVGSKxOQwYGPEbG3e8703/Hakwu7zKh9FwQczL6BqNrxhT+I X-Received: by 2002:aa7:cfc8:0:b0:51d:d390:143f with SMTP id r8-20020aa7cfc8000000b0051dd390143fmr4476394edy.5.1690952778852; Tue, 01 Aug 2023 22:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690952778; cv=none; d=google.com; s=arc-20160816; b=g4xf4Nfu7hAHYQBq9flTxATvPvfw+WByJBq+EmlOhDyCYsr+xyJFlYEA5VX3I/eG7h FjnnBqJclfC7jTpZgc/tc40A91qV0IiZqNRtDI5hDQ9Mku2F86FV5zrut5yuQMZHWLB7 GwG4oYXCrjJ7KiXZf23AgaBAprpfJQtqjYf+H57iw3tCmc2hoIjCzReymlXhK36oFaO/ XrV+xlhZiWBvKVFNqK9fv+O+4TFiM7M1xYQZVdbUanwouLe9ASb/iB6qhlTXbEipBywk PvnbL8PrbgH6h7zSHTCD/ySpcczX66X2A7XHYYkZL4jw0K0HVCzCGEgGDx6JQ00K7d5a aq6A== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Hp1nCOH45VBW3VpMh2BkLWqbWPd6QEucIYHkJwGPwMg=; fh=QDkoweBZtAIh/5Fiw5OsQ6hD+VGaO1pvCbqdVbyzozg=; b=m/rGHXZkrFPF58XX7n9ZScLpJTUCgPcQpTkqEynwiU7mksdwXyjTcOqjSC9UlWTSho v9gR7f2QNCRQFIXmAcFoVYnylQE6mTw7hY0TatGfppBg0/rFcplIRrDYfVlPiFSNW5h3 i9qez2BleQNhWRSLaTeCNAMQ7bX9dLxdf1hXpk8VRKCp+IInB1n2tqo+Kc4RstE9Injj RKmc1o8LXSq/+VGL1/siBZ/SVOn8JinWJXw84SBxQyKZEwHCmLVryQrqfIOdEBQqVRW5 Z5C2yTQt3bgq9FmTjVvNkfPmizqDU8wEG2jIhrhLaWCTieIOXHshFbrooOkkRkYwesOv 8XEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=ed4f+pWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a056402054200b00522abc02f23si7294891edx.393.2023.08.01.22.05.53; Tue, 01 Aug 2023 22:06:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=ed4f+pWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbjHBEkW (ORCPT + 99 others); Wed, 2 Aug 2023 00:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjHBEkU (ORCPT ); Wed, 2 Aug 2023 00:40:20 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E2D61715 for ; Tue, 1 Aug 2023 21:40:18 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3fe2ba3e260so11159175e9.2 for ; Tue, 01 Aug 2023 21:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1690951216; x=1691556016; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Hp1nCOH45VBW3VpMh2BkLWqbWPd6QEucIYHkJwGPwMg=; b=ed4f+pWJunuqvi9p03M0Xyjq4QD8QYPvjfmX2wcsiL8rqTss7ncogRvfsF7VDqQP5e LmPR0MSdFIV/qWZUIqqQ5jMF04JBqTBB07dhu66gpV14FukB4HKYqf7VHurSmlFtPzkh Dh6aUNQbuGH8Gz639RmOqcOVjaFE1g7qiH9aQoXuJGQa0YoukGwN5ZhaVsoxUCRH71OG CCgs7QwuwxyR3E4WmK2BdsU1PilgzBi18ZKgDoSQe5JpiSL43IL/WylmnpqNTvgKpGHS VNApyI9EBdbi/viOwCMNIAy+YilCIIB7U6T1tuQbPF/6RJMrzMTTmOjZqjbtjq9/ifg7 qb+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690951216; x=1691556016; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Hp1nCOH45VBW3VpMh2BkLWqbWPd6QEucIYHkJwGPwMg=; b=YLHaNhk3VcUx3B9kc3VgODTQ7Zs/WInUoycwBJ2Bx7ZtjaSlYnmf3iMygv7ph+TJnW IzhC46BvXF+858QwfTQKeagm1noE5mGh19HCuaUfY38C4kWJEctSyUbjNIL/3Mfg/t6o 6JWhUX3siPG5HTiCDyM+o0TRuWwmiKRVJaZQtbIBCa5AxS+rqDlPD09jMPjwly+TwM9f Tj1r1bbtpMBWZyc1mH7DDxrFt3PphElm35x0XwEGfIb+PNMfDMJv7kmC2claInwhe6IA Z2Ga3pMM49TbZP4hfaBGGjhOdvGRQ5a8cdFcPICsmcKrKl/nk58fk83k+JpDBSy63rZY 7XrQ== X-Gm-Message-State: ABy/qLbOrmiMcPgJ4wsEDgHuxQ1ghtTf50vlNJb9jqZTOoEgkAkC783+ 1z/3xBeX/3trUR5NSXm13F3wyQ== X-Received: by 2002:a05:600c:2143:b0:3fe:20aa:ada0 with SMTP id v3-20020a05600c214300b003fe20aaada0mr4024292wml.15.1690951216567; Tue, 01 Aug 2023 21:40:16 -0700 (PDT) Received: from [10.0.2.15] ([82.78.167.79]) by smtp.gmail.com with ESMTPSA id l7-20020a7bc347000000b003fe215e4492sm618095wmj.4.2023.08.01.21.40.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Aug 2023 21:40:16 -0700 (PDT) Message-ID: <14d628cf-a40c-11e6-7743-e3ba3bd8aa2d@tuxon.dev> Date: Wed, 2 Aug 2023 07:40:14 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 2/2] ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board Content-Language: en-US To: Mihai Sain , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, andre.przywara@arm.com, andrei.simion@microchip.com, jerry.ray@microchip.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: cristian.birsan@microchip.com References: <20230801111151.6546-1-mihai.sain@microchip.com> <20230801111151.6546-2-mihai.sain@microchip.com> From: claudiu beznea In-Reply-To: <20230801111151.6546-2-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01.08.2023 14:11, Mihai Sain wrote: > Add initial device tree file for sama5d29_curiosity board. > > Signed-off-by: Mihai Sain > --- > arch/arm/boot/dts/microchip/Makefile | 2 + > .../dts/microchip/at91-sama5d29_curiosity.dts | 706 ++++++++++++++++++ > 2 files changed, 708 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..17af10446dac > --- /dev/null > +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts > @@ -0,0 +1,706 @@ > +// 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_PB"; > + 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>; > + }; > + > + vdd_1v8: regulator-vqmmc { > + compatible = "regulator-fixed"; > + regulator-name = "VDD_1V8"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + status = "okay"; No need for status = "okay", it is the default one. > + }; > +}; > + > +&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 { /* RPi spi */ > + atmel,flexcom-mode = ; > + status = "okay"; > + > + spi6: spi@400 { > + dmas = <0>, <0>; > + cs-gpios = <&pioA PIN_PD15 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rpi_spi &pinctrl_rpi_spi_cs0>; > + status = "okay"; > + }; > + > + spi7: spi@400 { > + dmas = <0>, <0>; > + cs-gpios = <&pioA PIN_PD16 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rpi_spi &pinctrl_rpi_spi_cs1>; > + status = "okay"; > + }; Two SPIs on the same flexcom? It looks to me something is wrong here. > +}; > + > +&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>; > + i2c-analog-filter; > + i2c-digital-filter; > + i2c-digital-filter-width-ns = <35>; > + pinctrl-1 = <&pinctrl_i2c1_gpio>; Keep pinctrl-X grouped together. > + sda-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_HIGH>; > + scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > + status = "okay"; > +}; > + > +&macb0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>; > + #address-cells = <1>; > + #size-cells = <0>; > + phy-mode = "rmii"; > + status = "disabled"; Should any phy/mdio container be placed here? Also, any reason this node is disabled? > +}; > + > +&pioA { > + pinctrl_adc_default: adc_default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_adtrg_default: adtrg_default { > + pinmux = ; > + bias-pull-up; > + }; > + > + pinctrl_rpi_spi: rpi_spi { > + pinmux = , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_rpi_spi_cs0: rpi_spi_cs0 { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_rpi_spi_cs1: rpi_spi_cs1 { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_spi1_default: spi1_default { > + pinmux = , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_spi1_cs: spi1_cs { > + pinmux = , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_rpi_uart: rpi_uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_debug_uart: debug_uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_can0_default: can0_default { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_can1_default: can1_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_qspi1_default: qspi1_default { > + pinmux = , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_sdmmc0_default: sdmmc0_default { > + pinmux = , > + , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_sdmmc1_default: sdmmc1_default { > + pinmux = , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + These starting here: > + pinctrl_mikrobus1_an: mikrobus1_an { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_rst: mikrobus1_rst { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_spi_cs: mikrobus1_spi_cs { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_spi: mikrobus1_spi { > + pinmux = , > + , > + ; > + bias-disable; > + }; > + ending here are not used. Same on mikrobus2 > + pinctrl_mikrobus1_pwm: mikrobus1_pwm { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_int: mikrobus1_int { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus1_uart: mikrobus1_uart { > + pinmux = , > + ; > + bias-disable; > + }; Not used > + > + pinctrl_mikrobus2_an: mikrobus2_an { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_rst: mikrobus2_rst { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_spi_cs: mikrobus2_spi_cs { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_spi: mikrobus2_spi { > + pinmux = , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_pwm: mikrobus2_pwm { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_int: mikrobus2_int { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_mikrobus2_uart: mikrobus2_uart { > + pinmux = , > + ; > + bias-disable; > + }; > + > + pinctrl_usb_default: usb_default { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_usba_vbus: usba_vbus { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_macb0_default: macb0_default { > + pinmux = , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + bias-disable; > + }; > + > + pinctrl_macb0_phy_irq: macb0_phy_irq { > + pinmux = ; > + bias-disable; > + }; > + > + pinctrl_flx1_default: flx1_default { > + 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>; > + vmmc-supply = <&vdd_3v3>; > + vqmmc-supply = <&vdd_1v8>; > + status = "okay"; > +}; > + > +&sdmmc1 { > + bus-width = <4>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmmc1_default>; > + vqmmc-supply = <&vdd_3v3>; > + vmmc-supply = <&vdd_3v3>; > + 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 &pinctrl_spi1_cs>; > + 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>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb_default>; > + status = "okay"; > +}; > + > +&watchdog { > + status = "okay"; > +};