Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1515602ybg; Thu, 11 Jun 2020 11:50:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxTXU1OeGS+NkDQHBoCaHtxP1y+I3iyVPNMUdLLEh83byO0eMJzbXv+av1aTa5v4lCEXT0 X-Received: by 2002:a50:ed08:: with SMTP id j8mr8288508eds.58.1591901435435; Thu, 11 Jun 2020 11:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591901435; cv=none; d=google.com; s=arc-20160816; b=uUPh5zuFFzsk4HJQrg5t4HtFWQnaG+EZCFYump7j1pi1wmPOr3XMIIusEo2BQsW5d1 PjQmVqaN4qM6JyMWiB0sTUr4QAnAdag1bH5V91uL2PTpGXydnabosLj+RBMF3Yds4AVJ gdx8lr7zJcR43zrr4y5cHlpyMK6S1pb0en6kblcWIP5VrtSZeRX8e0ACWqaX16vdQNYp jirtM6z3M+fcCrcarXPrGBKMOuZp6MgTC4AaQuRLmktEBDZp7kmv2jdDZDSwxKnRSlod wifABVfvqgYb4f3SM6DI6BmvSEATDoRvWj+CDgTdGfl775Bj5KZ7ihIFCX7M2DtVbDEu G1hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=lSsKUCVT6h5Vjo34aH5hnz7tmPin8NfznG5hWi1aSvA=; b=Ufukiw+6RZv/+HUFgsmiwiI4cXwQ1vn1HKCgoZg4sLiRYDpjRKbe6GBPSggy4mzLQE vb2kLg83RdCNcgTZ0jWfyvqA63EFw7N34LzCgcYKVP03sOGpD2FHoWoPxUSprjLKCfbr FIEaiOYDQyo00G904TcdCfTGfMbB8ZHvj/OaKWE/v7gBatb7KqclWSHAjj6TJkon1IR5 xheMA2JfRH1iVYCaNwTERsS5YikGgqcJN1bbXEhN9yAFmXZrOUaTtumoBmY/3EEXsRWR 7eCkpqH2QxrAbyOeA4iydSSrLYI9v0d0+n5DTeBBUmc8jzUkH4lXWBC8h53Yd0WNX3sS 2jSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si2461247ejx.291.2020.06.11.11.50.12; Thu, 11 Jun 2020 11:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgFKNpf (ORCPT + 99 others); Thu, 11 Jun 2020 09:45:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:54844 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgFKNpe (ORCPT ); Thu, 11 Jun 2020 09:45:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BCDABADCF; Thu, 11 Jun 2020 13:45:34 +0000 (UTC) Subject: Re: [PATCH v2 4/5] ARM: mstar: Add dts for msc313(e) based BreadBee boards To: Daniel Palmer Cc: k@japko.eu, tim.bird@sony.com, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Maxime Ripard , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Mike Rapoport , Andrew Morton , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nick Desaulniers , Nathan Chancellor , Ard Biesheuvel , Nathan Huckleberry , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20191014061617.10296-2-daniel@0x0f.com> <20200610090421.3428945-5-daniel@0x0f.com> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: <42aa9e03-3fcc-a602-40db-cfbddef36b34@suse.de> Date: Thu, 11 Jun 2020 15:45:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200610090421.3428945-5-daniel@0x0f.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 10.06.20 um 11:04 schrieb Daniel Palmer: > BreadBee is an opensource development board based on the > MStar msc313(e) SoC. > > Hardware details, schematics and so on can be found at: > https://github.com/breadbee/breadbee > > Signed-off-by: Daniel Palmer > --- > arch/arm/boot/dts/Makefile | 3 +++ > .../dts/infinity-msc313-breadbee_crust.dts | 25 +++++++++++++++++++ > .../boot/dts/infinity3-msc313e-breadbee.dts | 25 +++++++++++++++++++ > 3 files changed, 53 insertions(+) > create mode 100644 arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts > create mode 100644 arch/arm/boot/dts/infinity3-msc313e-breadbee.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index e6a1cac0bfc7..4a5f8075a4f6 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1342,6 +1342,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ > mt8127-moose.dtb \ > mt8135-evbp1.dtb > dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb > +dtb-$(CONFIG_ARCH_MSTARV7) += \ > + infinity-msc313-breadbee_crust.dtb \ > + infinity3-msc313e-breadbee.dtb > dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb > dtb-$(CONFIG_ARCH_ASPEED) += \ > aspeed-ast2500-evb.dtb \ > diff --git a/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts b/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts > new file mode 100644 > index 000000000000..8a827c8fd8b2 > --- /dev/null > +++ b/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts > @@ -0,0 +1,25 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2019 thingy.jp. > + * Author: Daniel Palmer > + */ > + > +/dts-v1/; > +#include "infinity-msc313.dtsi" > + > +/ { > + model = "breadbee-crust"; This is user-visible text, so "BreadBee Crust" or so? > + compatible = "thingyjp,breadbee-crust", "mstar,infinity"; > + > + aliases { > + serial0 = &pm_uart; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&pm_uart { > + status = "okay"; Might this be a more suited place for temporary clock-frequency? For lack of clk driver it would seem to depend on the board's bootloader pre-configuring it rather than being a default of the SoC. > +}; > diff --git a/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts b/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts > new file mode 100644 > index 000000000000..423bb32e6b74 > --- /dev/null > +++ b/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts > @@ -0,0 +1,25 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2019 thingy.jp. > + * Author: Daniel Palmer > + */ > + > +/dts-v1/; > +#include "infinity3-msc313e.dtsi" > + > +/ { > + model = "breadbee"; Ditto, "BreadBee"? > + compatible = "thingyjp,breadbee", "mstar,infinity3"; > + > + aliases { > + serial0 = &pm_uart; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&pm_uart { > + status = "okay"; Ditto, clock-frequency? > +}; Regards, Andreas -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)