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 C85F6C433F5 for ; Tue, 8 Feb 2022 02:01:56 +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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CO66nuyvDJyBwdNhuZrytIkZxZ6a+petnPp1mvHaiUM=; b=L3Ac93Ql89M2wW rwpJbWG6SRc/tzEhAIMe7N0slmN8K5frDv6bm9bJ0oNMDNAWACXFe+NhR74+F8CdCSE8x+VE3ffkk NOlB8t+s6beSgpjgGTMp11QnuKyoDr8f6YF1aU9STNUVP58g9s/ih50xksh19sWJ6+lMDNWdCpis5 alxdesPiCQFTuiSOVACM62NcMmAKkfQf3qQ5x/kmskTtR1CtBPBShjdpxPrKBADPje8m63FS0+1Aa 2OnsiugBE57Wzkwn2WX6ingGjUjOLoIRPv59khGnlx6lXv/NXpbYUGwhZGrAVmSVLChrNVVPvq3XB gCbT8ICR98YOg+7khEmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHFo1-00CGNS-5G; Tue, 08 Feb 2022 02:00:33 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHFny-00CGM9-IL for linux-arm-kernel@lists.infradead.org; Tue, 08 Feb 2022 02:00:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=JMHymrZvU08T3r4BdtgDATv2Fh8Jo5X8RbDz8bhcHfM=; b=PD1RoF42O49tywgxC//b8v0Bbb 5VYGVygkbqH0eSUMoGyii6i/7Lm6bX7BC5lRZkcSUw1o6LDiyd2rOyOHOIMuozL5ASp+OY5x+kT4H 2DwRaaWzjSHb7qHU3yN9UOVFGvKYeL6CGo+eqjY/gmvhKRPVr4RojS6bTJ3D9IwjsFI8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nHFnu-004jlK-0o; Tue, 08 Feb 2022 03:00:26 +0100 Date: Tue, 8 Feb 2022 03:00:26 +0100 From: Andrew Lunn To: Pawel Dembicki Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] ARM: dts: kirkwood: Add Ctera C-200 V1 board Message-ID: References: <20220207212014.28551-1-paweldembicki@gmail.com> <20220207212014.28551-2-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220207212014.28551-2-paweldembicki@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220207_180030_634298_BB381B73 X-CRM114-Status: GOOD ( 17.91 ) 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 Mon, Feb 07, 2022 at 10:20:14PM +0100, Pawel Dembicki wrote: > Ctera C200 V1 is kirkwood-based 2-Bay NAS. > > Hardware: > - SoC: Marvell 88F6281-A1 ARMv5TE Processor 1.2GHz > - Ram: 512MB (4x Nanya NT5TU128M8GE-AC) > - NAND Flash: 256MB (Samsung 216 K9F2G08U0C) > - Lan: 1x GBE (Marvell 88E1116R-NNC1) > - Storage: 2x SATA HDD 3.5" Slot > - USB: 2x USB 2.0 port > - Console: Internal J3 connector (1: Vcc, 2: Rx, 3: Tx, 4: GND) > - LEDs: 13x GPIO controlled > - Buttons: 2x GPIO controlled > > Signed-off-by: Pawel Dembicki Hi Pawel It is a good idea to Cc: the mvebu maintainers, since kirkwood is part of that. > + leds { > + compatible = "gpio-leds"; > + pinctrl-0 = <&pmx_leds>; > + pinctrl-names = "default"; > + > + Please avoid 2 blank lines. This happens a few times in this file. > +&pciec { > + status = "okay"; > +}; It would be nice to have a comment about what is on the PCIe bus. Or is it just a socket? > + > +&pcie0 { > + status = "okay"; > +}; > + > +&pinctrl { > + /* buzzer gpios are connected to two pins of buzzer > + * leave it as is due lack of proper driver > + */ > + pmx_buzzer: pmx-buzzer { > + marvell,pins = "mpp12", "mpp13"; > + marvell,function = "gpio"; > + }; Is it possible to use "gpio-beeper"? beeper: beeper { /* 4KHz Piezoelectric buzzer */ compatible = "gpio-beeper"; pinctrl-0 = <&pmx_beeper>; pinctrl-names = "default"; gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; }; Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel