From patchwork Fri Sep 15 07:26:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 140663 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1297962vqi; Fri, 15 Sep 2023 13:19:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEa/52AsDfgBR5ds5KNJ81YprO34zSO7dGh0/+TJ89TTDiEy7QE7IFfjAQ9Ct83dqz70k0m X-Received: by 2002:a17:903:4294:b0:1c0:e6e1:4a11 with SMTP id ju20-20020a170903429400b001c0e6e14a11mr2187217plb.54.1694809184953; Fri, 15 Sep 2023 13:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694809184; cv=none; d=google.com; s=arc-20160816; b=qxPQkh0456NWEqtEc+VeTsopS1QpEkJjGyElyKgzkdNtjCMFLkhq5qjVtCML4xhBps Y6HonzC52DMcA/Qs402Zu0IPM6nDm1fleEoTKPMmtjusMG8PyZaKLniCPnvFL2DDinHc w6XAwlkhapjweg/ZKI6hawJV7Oc3+HiJT7G18j6aKpm7P4/JGziRREHG6uA3xKtkzRW+ PgFPNGfzBSNsiMg9Ur0n5UtM49hdv0puzhKbwSmOykO3wlpI5/oD1Z6vWfCKqGS5Ln/a ak1nFgYgt3Czfja+DZZEp54ju/aFsnpSrZkOEG/0Y/A4wy17WDudMd4omI60aUH5kmpV LK2g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=lmxSozsjyQbgMnJPbBrqJiUPwUPx63V+RTOPBnTrVeI=; fh=G+Hk69Cko/wBMBNk1ZzOaKUhBGncJb8wFzIneYTxev4=; b=EkMk0OXfMK4S94WujH24EhTLT80Fpo3+tKx8O7ey56x6Tu5OOvUYeOK9lgfX/wT92L 6OLpMxQ9/9bLjHFTfZ+HuBSfYRzChx923U7VyC34Pl8dDK8/pVcipTd/3aWCTwoK9hVh Kkb86u++v0edj/jaHi3JrsQkhI2P+Gl8tyPjX0zNNEqSZ+x4tAYRIg1EppnFKiVeHcUX yKLL/2zZPh7cLz45MAf4YG3KfebCor7u9V5pIDlOcEMKKVAHXWkzTw52e+XQ0f+lcd/j TblKAMLr3trq/C1g8hF8GXzcE5h/AfC213/EaLMiOEE/iZ+oxP87AukFjiQLOCJRkrrV brFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mPo6iw9t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t10-20020a170902e84a00b001bba953ac2esi4124187plg.339.2023.09.15.13.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 13:19:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mPo6iw9t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B063984A3DA1; Fri, 15 Sep 2023 00:27:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbjIOH07 (ORCPT + 33 others); Fri, 15 Sep 2023 03:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjIOH06 (ORCPT ); Fri, 15 Sep 2023 03:26:58 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FE7519A6; Fri, 15 Sep 2023 00:26:40 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5776089b652so1384102a12.2; Fri, 15 Sep 2023 00:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694762800; x=1695367600; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lmxSozsjyQbgMnJPbBrqJiUPwUPx63V+RTOPBnTrVeI=; b=mPo6iw9tRu1ZlDkDi1VrugcuT17EM9AoSKfnVYIJ46wyl1wn/iePU7A0cfetT8+B02 /ZFBCXX3+Q/ocPgs0B6HFssyf0rzjNGZ/bDLSBOHTseW5O22gZcMAosnchriIP9mmyVN O4b7OErzJOUHp4Xh9v81GQvWuEIU277/AeSgcCC9h8571p9fZzY+sDOqH35uGGH39OyY PhI7zSsBe+opPgOnCaI8p5UuLenSO0w48eNCEpqI5QZASu5sTORv+qQJ/+uWt62RhJ2z xwNDM8P9wGC1J+Ik2db354kHNHsu3HlIeFy/s1KeZ2zxniBthll8vdK72Je69Dl+LcfR mvKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694762800; x=1695367600; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lmxSozsjyQbgMnJPbBrqJiUPwUPx63V+RTOPBnTrVeI=; b=OZrzFS8DXdHMRouq37rm7E+cnrMvxP+JugptbhNoFC4gifs2+3NHQ6pmYnWuiBVEXT 6t/+YCiQL4uq/kJM184YWg+jYjxj//3AWK27MKdahpLguslax4yxPikuUV8Kska1ntlP gr4N3Vp41UueecyBq/SY/8O9ccdBnSWwAaD+Uj06X10+LGVeyn8VTycDd7PTzLyimsey SytkdVHAT9oHRKGy2/8dESgjN2OsWydodsOzPxGX2oBOCxfU/NPLIRSNQdAOoe5EeEdc CMTI7FlV+9XwZplH6tC4CBlI5vJC1wXtu/LPGi/D1QsAaD/5gnyKj8G4Yuyv1PyjOvKZ rGjw== X-Gm-Message-State: AOJu0Yx4RyLbHocI6xlPwQjEwZVjSgpr1dmo2srsnuzvs6cYqmwHdfMj Z2eOSk7cNBUB2rA7egCMYE7e2fUmIvTj0Q== X-Received: by 2002:a17:902:d491:b0:1b5:561a:5c9a with SMTP id c17-20020a170902d49100b001b5561a5c9amr1033676plg.39.1694762799968; Fri, 15 Sep 2023 00:26:39 -0700 (PDT) Received: from localhost.localdomain ([222.95.63.58]) by smtp.gmail.com with ESMTPSA id c17-20020a170903235100b001bde65894c8sm2757385plh.268.2023.09.15.00.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 00:26:39 -0700 (PDT) From: Wang Chen X-Google-Original-From: Wang Chen To: linux-riscv@lists.infradead.org, conor@kernel.org, aou@eecs.berkeley.edu, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jszhang@kernel.org, guoren@kernel.org, chao.wei@sophgo.com, xiaoguang.xing@sophgo.com, Wang Chen , Emil Renner Berthing Subject: [PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles Date: Fri, 15 Sep 2023 15:26:24 +0800 Message-Id: <20230915072624.118388-1-wangchen20@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:27:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777101416078262956 X-GMAIL-MSGID: 1777136235959955545 Add compatible for uart. Signed-off-by: Emil Renner Berthing Signed-off-by: Wang Chen --- arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi index 5c4b82f13207..87f7667bbe63 100644 --- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi +++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi @@ -492,7 +492,7 @@ &cpu63_intc 0xffffffff &cpu63_intc 9 }; uart0: serial@7040000000 { - compatible = "snps,dw-apb-uart"; + compatible = "sophgo,sg2042-uart", "snps,dw-apb-uart"; reg = <0x00000070 0x40000000 0x00000000 0x00001000>; interrupt-parent = <&intc>; interrupts = ;