Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3105916rwb; Sun, 20 Nov 2022 07:25:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ATnUZUhxRH/eo1iue5aMjBfUQ9nMqs/5SNZArJdeMtMAubuPKLbQfuVO+8qSjX2b0Oho6 X-Received: by 2002:a17:90a:4fc1:b0:213:16b5:f45e with SMTP id q59-20020a17090a4fc100b0021316b5f45emr22117814pjh.170.1668957936056; Sun, 20 Nov 2022 07:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668957936; cv=none; d=google.com; s=arc-20160816; b=pYdc7x0IEnPbqqnM9X+cM2JFcXcpmo3ZTwpJGPN/1Y9Tw4D8QWJIk5huAuQ7O4jna0 H20pR4Y8jtaKtZ3baKs8yCXf/GRg1VJFZ7gpZ+7NBEWhDPz0MVoF5qi25FDSGTzwKqsS lATozkNZgu2za+O+cZ2H4gb/MHyPj6wVnvhiueoqjIy6IhSlW93W2V0QMX1RmGpPpF6J BQzZ05vDOAbw+mPBpgoJ95BcxAsEODTPocNu+fGS93jq7YCX5AOqV2wdpqCLx3PGFRwz 6eV4zb4qaHX0Ct80H4sPbRsxTz83gT2x68y9cjsPMwpSgDJsCU1hqEJfil0dvc+Qh3Ga J7XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=63zAF8njkANWb8igjiBaT0d8rq+Da/5C67QfqYnl2t8=; b=gpVuBTm1JgFf3ADT0B3qrIF+7NvYtHNE4tw3OxkuBaUmmeFo2FQjb2h0wJ1U3KEcGR GTFLvGKoT1LgUm+dmszg6PNdvz5z3MLMwV0zpdmsZdADnaLNiPW2f5SGVmUdZfsuvBx/ Gh7bEz+1JPSdgurU9EP6C6mS5/8v4R/YycziqSrnxXFa2aKw92ItsohgKxWAzCcCbvCT KZzIL4gxEMHqZDjBxe/YR7sq22vrn/9GEI5nWUh1fIoh8NB2qRO8RCgMpJWTyxPVtpYi 03cU/dbSzutwRNIxjjW3gp+Hka0Jd7Os1CKP1pTZYTqcODjBbVIZm1YUduVzFtCiUlx3 fi/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=hToLUdSs; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot4-20020a17090b3b4400b0020d8df0ac89si5663218pjb.122.2022.11.20.07.25.24; Sun, 20 Nov 2022 07:25:35 -0800 (PST) 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=@canonical.com header.s=20210705 header.b=hToLUdSs; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbiKTPGr (ORCPT + 93 others); Sun, 20 Nov 2022 10:06:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiKTPGq (ORCPT ); Sun, 20 Nov 2022 10:06:46 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C15F827DC9 for ; Sun, 20 Nov 2022 07:06:44 -0800 (PST) Received: from mail-yb1-f200.google.com (mail-yb1-f200.google.com [209.85.219.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 8A9813F2FF for ; Sun, 20 Nov 2022 15:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1668956803; bh=63zAF8njkANWb8igjiBaT0d8rq+Da/5C67QfqYnl2t8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hToLUdSsFlR5TRWbqcJqg8tcqoi5MeZDQ7hNgyip+ejupzQGvaDCQAjFynA6dJc4i VeBAzucPe6/iCyLK89xFMV2s9G1RReHs5cXWWVQTgLNpsi1SzUIwNlyUlt2Ot1FClQ 7ecACEU0NSzjSEidIgJ0IaYJ2YLMZz/Wz9TouGAdJpwWm8hAXzbghSOt8NvzQ6RPYS qVvKSzKSzD9uju5QCvUgVgsAb/S+TK5R/p5buh54u/YMpxdFzYpt+4i467c6cN5clZ shBXZBrg2Qd6HuDADXJKMykHIcl7ulATdgZCSDqQjdW/6zWOD3nWTKjhQskYr0rRVK Fi8+IxRaG0VbQ== Received: by mail-yb1-f200.google.com with SMTP id v189-20020a252fc6000000b006e7396ee2c3so8789521ybv.9 for ; Sun, 20 Nov 2022 07:06:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=63zAF8njkANWb8igjiBaT0d8rq+Da/5C67QfqYnl2t8=; b=OCY9r53XnLQuJmBRECHehr6OWFUsmm3QT49gZTXUBjaTtQvNW0aPAnrA2B8xhLKhQc O5lqgTC51wVgqzJIaalIOohAIl+k0ix3G2NJTKJiw4CSon3Ngc0IBvZW+hwGbU1Hn5kc KbFPeaHSBdKR1eoChOVuv50OlQdjpzbxE3WEPk5rQGNcelMTnN/Tu27vnQqO5DSI43eo 2nS6IAvS01AVUN5AS5wBFVeo2zGRRgnwVg12BXNTfteBGR541UzBeDt2eN+B8UKBfeI8 cGRM+kgxDLQRwxCwJiTpVppdQfREHVwuWncVPjMzb2heezHaKLs01fUl7ERSGJq9UXlh 8lIw== X-Gm-Message-State: ANoB5pn9LgnmDov/EKlr+Q62FG6+FjHox9gj/6Gb0k9sB+Oun38rzQau vGE9lZYdmx3QvtJT9IoEmRpD/sWIrtWgiYU9GL8KZCuQ4tK+2kuhiXRvwHqYDwAnVoT8w6IeKBC /sYkmmTWqV7RpNpQa60bFVMlg/OdhGdpJQo/UpyOwFx89t4HCcbUHZm2PyA== X-Received: by 2002:a25:510:0:b0:6d2:e45c:71c0 with SMTP id 16-20020a250510000000b006d2e45c71c0mr1159129ybf.153.1668956802566; Sun, 20 Nov 2022 07:06:42 -0800 (PST) X-Received: by 2002:a25:510:0:b0:6d2:e45c:71c0 with SMTP id 16-20020a250510000000b006d2e45c71c0mr1159114ybf.153.1668956802357; Sun, 20 Nov 2022 07:06:42 -0800 (PST) MIME-Version: 1.0 References: <20221120082114.3030-1-jszhang@kernel.org> <20221120082114.3030-7-jszhang@kernel.org> In-Reply-To: <20221120082114.3030-7-jszhang@kernel.org> From: Emil Renner Berthing Date: Sun, 20 Nov 2022 16:06:26 +0100 Message-ID: Subject: Re: [PATCH 6/7] riscv: dts: bouffalolab: add Sipeed M1S dock devicetree To: Jisheng Zhang Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jiri Slaby , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Sun, 20 Nov 2022 at 09:33, Jisheng Zhang wrote: > > Sipeed manufactures a M1S system-on-module and dock board, add basic > support for them. > > Signed-off-by: Jisheng Zhang > --- > arch/riscv/boot/dts/bouffalolab/Makefile | 2 ++ > .../boot/dts/bouffalolab/bl808-sipeed-m1s.dts | 30 +++++++++++++++++++ > 2 files changed, 32 insertions(+) > create mode 100644 arch/riscv/boot/dts/bouffalolab/Makefile > create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts > > diff --git a/arch/riscv/boot/dts/bouffalolab/Makefile b/arch/riscv/boot/dts/bouffalolab/Makefile > new file mode 100644 > index 000000000000..42e17e1a97bd > --- /dev/null > +++ b/arch/riscv/boot/dts/bouffalolab/Makefile > @@ -0,0 +1,2 @@ > +# SPDX-License-Identifier: GPL-2.0 > +dtb-$(CONFIG_SOC_BOUFFALOLAB) += bl808-sipeed-m1s.dtb > diff --git a/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts b/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts > new file mode 100644 > index 000000000000..64421fb2ad67 > --- /dev/null > +++ b/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts > @@ -0,0 +1,30 @@ > +// SPDX-License-Identifier: (GPL-2.0+ or MIT) > +/* > + * Copyright (C) 2022 Jisheng Zhang > + */ > + > +/dts-v1/; > + > +#include "bl808.dtsi" > + > +/ { > + model = "Sipeed M1S"; On seeedstudio.com and everywhere else I look I only see this written as "Sipeed M1s". And to echo what Icenowy writes, this is better split as a .dtsi for the Sipeed M1s module that can then be included by a .dts for the using the module with the dock, which should then have something like model = "Sipeed M1s Dock"; > + compatible = "sipeed,m1s", "bouffalolab,bl808"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:2000000n8"; > + }; > + > + memory@50000000 { > + device_type = "memory"; > + reg = <0x50000000 0x04000000>; > + }; > +}; > + > +&uart0 { > + status = "okay"; > +}; > --- > 2.37.2 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv