Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp674756rwb; Fri, 23 Sep 2022 02:32:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7OZF3NjDB9EmYxQpkFCf8LMV8btDt5CzMAX3dA2UMkOY86SRVmdsWOhxuYj7d7Worr37o6 X-Received: by 2002:a05:6a00:88f:b0:530:dec:81fd with SMTP id q15-20020a056a00088f00b005300dec81fdmr8124911pfj.64.1663925520742; Fri, 23 Sep 2022 02:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663925520; cv=none; d=google.com; s=arc-20160816; b=DB4jMJI163mOnzPbUULlYYw5nxaEHwXByrqpECcXmqv38EcKJDt1AWE9A9z5ajQ11v CeEsWgUavCFizyCcpDGHbcxpwKTDiolzdWHKYAK3ZB8+w63b6m5RVSFurI6/xB6xra7E wdrQoINe7yIFZUahZY/gUsUDMEZP3YBHhWRzcqcyDupl/txusTdzl4+8L+3k0LQJCmE2 ZrXZ/LpzHbwcOtC4KL4Am1dYrVXW9cx+DudvREraWpmCkSSGAAS1NWx8h8w1bkeZ7Act xC6uqxeZvJJu+1aS7O8CdyLn3hOOsidj4FboSdyYZdSWRjjwRDPIz/g+mowkHQIAWIqg AJEA== 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=Kn1SujOTRSyA2lpFvTg92J/mHIxi4T22q5/4Og5DL18=; b=yazcRJ3s+T3msvSPhui/cYKuPGXBqn5ISVdj+j6Y+aZE2BiTMsHH+w5m79GpBvi5wg kPxvMa/Sdzdmdi8PlSpfNsc+2FtR+vhhI7YiSfOYO5lI+C2jDjTiwJVHzYlXEhTe5PuZ DkeRr3UN4tcLsWLx5SpnIiewmmCF5zYF0IGgMH3Ms2nBWNXouWXcXj44sFDGnHZgalwA FnV1okq8N9NjqusBhIh7vPEJBGeUei280ctDLQGpSr04UdTPHjjH6UunflBh1ujMleTd qjb68lJP7F9ZxJeRweR3RsINX0qX2ljnAhdQ5ryIsGsjovbF2md8Z7nlagvX41ULaM0d v8Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eravv2cs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a056a0010ce00b0052b8da96658si9128133pfu.26.2022.09.23.02.31.48; Fri, 23 Sep 2022 02:32:00 -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=@linaro.org header.s=google header.b=Eravv2cs; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231213AbiIWJTa (ORCPT + 99 others); Fri, 23 Sep 2022 05:19:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbiIWJT1 (ORCPT ); Fri, 23 Sep 2022 05:19:27 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A613FFAD7 for ; Fri, 23 Sep 2022 02:19:25 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id f9so18840294lfr.3 for ; Fri, 23 Sep 2022 02:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=Kn1SujOTRSyA2lpFvTg92J/mHIxi4T22q5/4Og5DL18=; b=Eravv2cszM2onFllxNWqYfBkD2740qBYFMRrXIf/p9/edgz7MSfXRZdUAyJ2AaU3vC Mdz+alj2diNP/8pOAzvz3iRVzsPgFAMP8pZuwVy4EMwG+p3JIHRHdwS8KvHzmWjm0WFD YwHr1fiqKz1ijvu+1ezC7ufTqVnYqE8x6MoVAP3RX38AfAzYvVMxAd23G5CXD/L0Dk/Q qy/UsJUcbonOM68PnejWezrVckk9dqriUPgTWZQCtA3LETESFBcDxT46EqDVm83rEcn9 VjMwMczMe9F7mc2DZZxDOIVxmpyG0qcWW6faK1eJ74cuApyVV2LsFfktYCX6kgQBTqS9 aW2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=Kn1SujOTRSyA2lpFvTg92J/mHIxi4T22q5/4Og5DL18=; b=w/9HiCM1pIfN971BlmMGuXKdm7wx9R4KsjbDMaMiiHa5/xxC1yoOslVd3zUJVy0dOP zxR2lCxmAHuMfyQGFKUdwTCKQIwXPDpYScTC3ipxFzyskQm3nEeKNDUSc9M+SlsowX+L mdaeTc2pKgisSkeHcpkds4R5ly35t8ZOLXCyIOuwGP/8KYYsytvKNHneqDjlSdikQUyh lGxivYJW5pmsFLR7/xARpTZHNXHU+OSkiWs0RRDTGXDqouMtApYLrs4uXp3NtNM5l6pk IoAz6A+NzRgPRqMVG/YyrG+MuKNfBsD0nmBG2y7VFDll1mxV1/Nc4CT07zjhbNJjwVsM qyeQ== X-Gm-Message-State: ACrzQf1KLO5FYUkGZRH0szJQE+2krU0ZjIr3WTWQk+9IxFjpbmr3dmm0 5ChWHTwofmOood+OWMoAw8vuZA== X-Received: by 2002:a05:6512:10ce:b0:49e:ad1f:3d7 with SMTP id k14-20020a05651210ce00b0049ead1f03d7mr2653889lfg.609.1663924763678; Fri, 23 Sep 2022 02:19:23 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id g20-20020a2ea4b4000000b0026bddcf75d1sm1294971ljm.44.2022.09.23.02.19.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 02:19:23 -0700 (PDT) Message-ID: <8a256c49-1a7a-42bb-2daf-cc0c66b9f7a6@linaro.org> Date: Fri, 23 Sep 2022 11:19:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 2/3] ARM: dts: orion5x: Add D-Link DNS-323 Device Tree Content-Language: en-US To: Mauri Sandberg , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, arnd@arndb.de, olof@lixom.net, andrew@lunn.ch, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk Cc: pali@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220427162123.110458-1-maukka@ext.kapsi.fi> <20220922202458.7592-1-maukka@ext.kapsi.fi> <20220922202458.7592-3-maukka@ext.kapsi.fi> From: Krzysztof Kozlowski In-Reply-To: <20220922202458.7592-3-maukka@ext.kapsi.fi> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 22/09/2022 22:24, Mauri Sandberg wrote: > Add a device tree for D-Link DNS-323. The device has three different > variants; A1, B1 and C1. Common parts are included in a .dtsi file > and each hardware variant has its own .dts file. Thank you for your patch. There is something to discuss/improve. > + > +/delete-node/ &sata; > + > +&gpio0 { > + pinctrl-0 = <&pmx_gpio_misc>; > + pinctrl-names = "default"; > + > + /* The DNS323 rev A1 power LED requires GPIO 4 to be low. */ > + pin_gpio0_4 { No underscores in node names. > + gpio-hog; > + gpios = <4 GPIO_ACTIVE_LOW>; > + output-high; > + line-name = "Power led enable"; > + }; > +}; > + > +&pmx_gpio_misc { > + marvell,pins = "mpp4"; > +}; > + > +&pmx_ge { > + marvell,pins = "mpp11", "mpp12", "mpp13", "mpp14", "mpp15", > + "mpp16", "mpp17", "mpp18", "mpp19"; > +}; > diff --git a/arch/arm/boot/dts/orion5x-dlink-dns323b1.dts b/arch/arm/boot/dts/orion5x-dlink-dns323b1.dts > new file mode 100644 > index 000000000000..e01ba809ffca > --- /dev/null > +++ b/arch/arm/boot/dts/orion5x-dlink-dns323b1.dts > @@ -0,0 +1,39 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2022 Mauri Sandberg > + * > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include > +#include "orion5x-mv88f5182.dtsi" > +#include "orion5x-dlink-dns323.dtsi" > + > +/ { > + model = "D-Link DNS-323 rev B1"; > + compatible = "dlink,dns323b1", "dlink,dns323", "marvell,orion5x-88f5182", > + "marvell,orion5x"; > +}; > + > +&gpio0 { > + pinctrl-0 = <&pmx_gpio_misc>; > + pinctrl-names = "default"; > + > + /* The rev B1 has a flag to indicate the system is up. > + * Without this flag set, power LED will flash and cannot be > + * controlled via gpio-leds. > + */ > + pin_gpio0_3 { No underscores in node names. Best regards, Krzysztof