Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2756607rwb; Sun, 20 Nov 2022 00:44:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Xve4Qitl49d1OLmtPT350Ql1rIhg+a3hm9pepxqnO2hSTvpS46RWy29sFPgytswnoFNEe X-Received: by 2002:a17:906:ca0e:b0:78c:1f2f:233e with SMTP id jt14-20020a170906ca0e00b0078c1f2f233emr11998993ejb.307.1668933870726; Sun, 20 Nov 2022 00:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668933870; cv=none; d=google.com; s=arc-20160816; b=ruUaMOmA8T54K2vd1J7TIFoiZ2JmmbeGHOYSKywfcySFPWQ4/8ZYLA0/yfI+qU0cuZ t13hXrB1xKXskLUq/xTIlmTYvf5tou5j/QYZbjc53Ie7tw2t9JUwpSJnXwFRlLyNubBj FMHlUsW5ZlHCtJSbcfemWyu4qg3bSaqwmZQS6+UKn9/BplGCPbXcGKwZ1/bA3/Oa6ivb AeLae4Y1d1RadO/WCP1D60vgz5spwJ8LVQtXdq5NtPIaBtA7yAZroH7/G370w8XINm++ onDC7PrlcgxdmdKLnmxiJZu+KxSZZtjQn23vwvrxGQ4EEwEgruNKp9mLfsBk91aKk7k/ V6LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=L3yQZXh8x1COVy0AkydPi/Wl8Bw4XllbHePDSXoQlk0=; b=CiBQ4YHmOogFqDb1cabJ+bLU9DQTtYiGSO8wp7sTBgC2pR3MxUxXPxC3bm5hv71+2t PtxdrkFmqSmO3O4E6GVroSLm52NA2+KW+tZeD79A7RpYfrhsdk86ftvqgInMEoxYLvmj wm0OmAoeUzGsTs/Q9qX+7vxr5+qeC8hx23/dRtFgHvXJ/mZuVhHBsonj4QCFvjcctCuo lY7FMb1B3FOlBcKynoV48B1TsaBUvXJRR2L1RdsUBQLYG27UbF3UM6zQykpKNIq8lfbB GIccf5kkjuu3mg0W7VyTi+pjOWMsUID97ukiB2DH5zgzD77O1J0HH32wqiDac8vLFQoZ mn/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I0zk+nsC; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a056402138200b00462c7bbc03esi6098433edv.114.2022.11.20.00.44.08; Sun, 20 Nov 2022 00:44:30 -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=@kernel.org header.s=k20201202 header.b=I0zk+nsC; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbiKTIcI (ORCPT + 91 others); Sun, 20 Nov 2022 03:32:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbiKTIbk (ORCPT ); Sun, 20 Nov 2022 03:31:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE69B9CF6E; Sun, 20 Nov 2022 00:31:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 47CB060BFB; Sun, 20 Nov 2022 08:31:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C3CEC433D6; Sun, 20 Nov 2022 08:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668933081; bh=8DpC7ZxC9cDZMqNergJhZnIX0tJfCKV0KgENFedKUeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I0zk+nsC+Zy7lfbg0GXChm3Xj6CYUt4yFkYRJCM2lON8diDHbY4LIlBKluaL1vHkX lx52ki+EuGnT991U8pA2q0E7o3XfI38HK3eF0qsCeM2HzU6SwHv/9cJAczin9rZ1QS pKZVjtrRS2B7fOEUELo8ozvPCueL05Fq7aFXvSOwFpkeJ32q7zIsdxca25ORzq9Mqo L1smLokTrmPbRHsg+5DGhAgXNf9Hae5e9yz3WiDWXIfUSoKivWS5YEy0WpRUyUAiXq GAgB1H3Co7IG4sBcnbvCMpFFqRGvufg3nWu5dAQRQTskeyd9Byu8tzTSd0Vvay4wHV PqD2VVOilG0bQ== From: Jisheng Zhang To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jiri Slaby Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 6/7] riscv: dts: bouffalolab: add Sipeed M1S dock devicetree Date: Sun, 20 Nov 2022 16:21:13 +0800 Message-Id: <20221120082114.3030-7-jszhang@kernel.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221120082114.3030-1-jszhang@kernel.org> References: <20221120082114.3030-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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"; + 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