From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98FCDEB64DD for ; Wed, 9 Aug 2023 07:02:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zII+ETE0+/mHEV0dJS5sIJ0/QibsCoY2X7Q0PByj01c=; b=GnW+5+Kqfafeb5 hw1s1rwr/xU/FJ5BdiQdKbb+IZYmclC8MaAjIET6pat1NaNAIWQdRlAXGg1IgIdjCkocYIHQlASpF 2RyP5pnM0WkSZ31xjKMdWpmfVEpDgQmM1PE6vD2qFgo3/YnFS2l4eTxCQEw7RTD9MXwZ6XBbPU6ap RsQ1p0d54liAXMCgaqwhZcjm05h8MYV02pLCbsmeNCecPbM0xYu5I7JFNpKxhYYWM2SIfNaEeeZkg JOdcMvD4dGgDKoe4i78YGDLtAauh+bUeJ8aWxXfjqSa8bh6lYnF3nWjafxGek4A0MPmwySeaWGNWz wdXks9ZCqXHt2qArvKqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTdCq-004CIv-2C; Wed, 09 Aug 2023 07:02:08 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTdCn-004CHS-27 for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 07:02:07 +0000 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-269304c135aso3230059a91.3 for ; Wed, 09 Aug 2023 00:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1691564522; x=1692169322; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oA4Y4YVJk393hhh41gsTxcc/kNbbX/n08U98oNmh4/w=; b=hZ/72Sv75WYBkFU1n2H+ug8kvhWmdwucgKI4Hmadno8B5LfsJ7dn9ObXfcwz4Fkk+Q fYBDABKRxpSjcPE9PVLt8pJqP1OKPSE1050SpHdv/h2qLni7QWjnBCujCWS5/3wifvAx E0tISjHn5ijK3CCVy0QGAAHFbqAEfDsoDZ9Oz++vFCSS0MMMWxTJnJwz7TSadbBvwtCJ FCVvqcdNIonx8Anp+xXwZK5MnRb/eigUrrAjOEl0/1lTsITyd8QbsR6/agcCojI48z8F BcQNQJeCprAqD5TmGv7yHUV1zIs+sv74Z9NBxqm5JxdgBTRgHw3c6ALqlgFLokt4S+Po N2gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691564522; x=1692169322; h=content-transfer-encoding:in-reply-to:from:references: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=oA4Y4YVJk393hhh41gsTxcc/kNbbX/n08U98oNmh4/w=; b=ScrvUyZ9ZhQR1mi9RzZqHYNLlCTHC3/hfsFxcDHD3u+C4SCbg1QBAbO5Uym8YVdJHT apvcxEJcNBpCq9qKZxb9FTv4ghWKwssmGmd3uTqMJnt1IKWFPC3Ii6PEt4jcMKMYd/ty 4/rbDTwB+p//1AKaJlmjp1NBafxwYyEeO1igF+jV6sEDi4EE/sxckL3aHpn6nofTDfGs h1tLJyUfgGl/fMx8i64c1P90hS4ZhCwn8XcvyXHSUDOxPl9oCDPXQuXPHBRCf28ky01k k7qy01/y0RsE7rDRFHnqTFkOudMunpcBg8cTsGPpe36OPFcdw20hV5b8yTgGxOemIgdr 0GTw== X-Gm-Message-State: AOJu0Yy8Pu6Zrq0S1DIX+6mNYP1vmN5TU8A/aoGgLdnILzy9A7eQDoAl 5LTzIhWaQ9jw3EwS5/1eC1jOtg== X-Google-Smtp-Source: AGHT+IHDc6TJVpz+CoOm0i5o93QoNx0hWbKOeM6hYi2/LTLG2MvOxXdCzJdvcy51etkgA9aRu+Y9Ww== X-Received: by 2002:a17:90a:ec0c:b0:268:1f0a:9f12 with SMTP id l12-20020a17090aec0c00b002681f0a9f12mr1436168pjy.29.1691564522040; Wed, 09 Aug 2023 00:02:02 -0700 (PDT) Received: from [10.0.2.15] ([82.78.167.79]) by smtp.gmail.com with ESMTPSA id gq9-20020a17090b104900b002694da8a9cdsm669814pjb.48.2023.08.09.00.01.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Aug 2023 00:02:01 -0700 (PDT) Message-ID: <91a5c6e5-eff1-0fcd-32fe-71a081f4e1f6@tuxon.dev> Date: Wed, 9 Aug 2023 10:01:48 +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 v3 50/50] ARM: dts: at91: sam9x75_curiosity: add sam9x75 curiosity board Content-Language: en-US To: Varshini Rajendran , 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, f.fainelli@gmail.com, romain.perier@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mihai Sain - M19926 References: <20230728103114.267845-1-varshini.rajendran@microchip.com> From: claudiu beznea In-Reply-To: <20230728103114.267845-1-varshini.rajendran@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_000205_801885_7BA9CF03 X-CRM114-Status: GOOD ( 17.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 28.07.2023 13:31, Varshini Rajendran wrote: > Add device tree file for sam9x75 curiosity board. > > Signed-off-by: Varshini Rajendran > --- > arch/arm/boot/dts/microchip/Makefile | 5 + > .../dts/microchip/at91-sam9x75_curiosity.dts | 311 ++++++++++++++++++ > 2 files changed, 316 insertions(+) > create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts > > diff --git a/arch/arm/boot/dts/microchip/Makefile b/arch/arm/boot/dts/microchip/Makefile > index 0f5193d05a31..f3d604c30325 100644 > --- a/arch/arm/boot/dts/microchip/Makefile > +++ b/arch/arm/boot/dts/microchip/Makefile > @@ -10,6 +10,7 @@ DTC_FLAGS_at91-sama5d3_eds := -@ > DTC_FLAGS_at91-sama5d3_xplained := -@ > DTC_FLAGS_at91-sama5d4_xplained := -@ > DTC_FLAGS_at91-sama7g5ek := -@ > +DTC_FLAGS_at91-sam9x75_curiosity := -@ > dtb-$(CONFIG_SOC_AT91RM9200) += \ > at91rm9200ek.dtb \ > mpa1600.dtb > @@ -61,6 +62,10 @@ dtb-$(CONFIG_SOC_SAM9X60) += \ > at91-sam9x60_curiosity.dtb \ > at91-sam9x60ek.dtb > # Enables support for device-tree overlays > +DTC_FLAGS_at91-sam9x75_curiosity := -@ > +dtb-$(CONFIG_SOC_SAM9X7) += \ > + at91-sam9x75_curiosity.dtb > +# Enables support for device-tree overlays > DTC_FLAGS_at91-sama5d27_som1_ek := -@ > DTC_FLAGS_at91-sama5d27_wlsom1_ek := -@ > DTC_FLAGS_at91-sama5d2_icp := -@ > diff --git a/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts > new file mode 100644 > index 000000000000..a9ecb02a9f3c > --- /dev/null > +++ b/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts > @@ -0,0 +1,311 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * at91-sam9x75_curiosity.dts - Device Tree file for Microchip SAM9X75 Curiosity board > + * > + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries > + * > + * Author: Varshini Rajendran > + */ > +/dts-v1/; > +#include "sam9x7.dtsi" > +#include > + > +/ { > + model = "Microchip SAM9X75 Curiosity"; > + compatible = "microchip,sam9x75-curiosity", "microchip,sam9x7", "atmel,at91sam9"; > + > + aliases { > + i2c0 = &i2c6; > + i2c1 = &i2c7; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + clocks { > + clock-slowxtal { > + clock-frequency = <32768>; > + }; > + > + clock-mainxtal { > + clock-frequency = <24000000>; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_key_gpio_default>; > + > + button-user { > + label = "USER"; > + gpios = <&pioC 9 GPIO_ACTIVE_LOW>; > + linux,code = ; > + wakeup-source; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_led_gpio_default>; > + > + led-0 { > + label = "red"; > + gpios = <&pioC 19 GPIO_ACTIVE_HIGH>; > + }; > + > + led-1 { > + label = "green"; > + gpios = <&pioC 21 GPIO_ACTIVE_HIGH>; > + }; > + > + led-2 { > + label = "blue"; > + gpios = <&pioC 20 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + memory@20000000 { > + device_type = "memory"; > + reg = <0x20000000 0x10000000>; > + }; > +}; > + > +&dbgu { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_dbgu>; > + status = "okay"; > +}; > + > +&dma0 { > + status = "okay"; > +}; > + > +&ehci0 { > + status = "okay"; > +}; > + > +&flx6 { > + atmel,flexcom-mode = ; > + status = "okay"; > + > + i2c6 { > + #address-cells = <1>; > + #size-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_flx6_default>; > + i2c-analog-filter; > + i2c-digital-filter; > + i2c-digital-filter-width-ns = <35>; > + status = "okay"; > + > + pmic@5b { > + compatible = "microchip,mcp16502"; > + reg = <0x5b>; > + > + regulators { > + vdd_3v3: VDD-IO { Mihai reported that having '-' in node name for this PMIC driver leads to failures on probe. Can you also check on your side? > + regulator-name = "VDD_IO"; > + regulator-min-microvolt = <3000000>; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel