Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp287352lqn; Fri, 12 Apr 2024 01:04:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXasQpNMhWBsAj74qR9CdFhb7He4U2V4Zw/3+yY9QyepcnrYzHQXpNRxitiNe2lpDwgqNY2I07mrX5FO0nhXP8h7kIdhN/OQwE+j0Ud3g== X-Google-Smtp-Source: AGHT+IGSozW3boadNQbD6KjD/9a6JmVGZeWAMmLOfkO+ZEHcfvEKyqd4e6aMEOAP8R7WPcYL73Im X-Received: by 2002:a05:620a:4726:b0:78d:3ffe:3467 with SMTP id bs38-20020a05620a472600b0078d3ffe3467mr2356935qkb.13.1712909064792; Fri, 12 Apr 2024 01:04:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712909064; cv=pass; d=google.com; s=arc-20160816; b=dhWeFvtVSOGA1WjDuYBbpdGQLeKG9DrygwufSfNep8+CFH+C6Vm3CsESafZ+kJI8om DYRuH9YF4eiK0DfbKjP9oQb1mXqinFTvIgFiozLT5s1QtVNYGB73W5V2jvycIDCgQ5ZX qP9TfrF+qj17Y1nbyqgHehHdbkBemE3FvOluWpxlQA/pqVmy1OOjmkge9NGH9KcPQyMd lgqU8lb97NiUpn01CY/jB2nGyXo4JeTuusq4dgV8IXCu/5APga7IiU3c33ZghXdIc3ub QJcZ9FACbeTolBt4TTmxlTgus5t9xAjWJ4D9EeDjVxdN1rQD87IYu2q10kAnkcjot40l UmqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=PNPGi/LJLZ1f/UWkNAkdI7gt1aIfJVZxqk0hEY+zuuE=; fh=JeY4F/WtY8jqq3O46Ex8+CKDF9wK1asSfBeLAyydyRI=; b=StAcPOCxr7XeuzwXmXPUC7InQYosF765+cobxnZSeCnvrrTopb7Zekv+zgfqYHm+Ty JweJ5uCRY6ewXBfEN5KwHlX4Fy1R8n0jyJUo7qhCDahNf2xrf+8JF9sKCWTpkaJLJzvJ uZNumfgigBGmZMBVV5OFz8fThjoewh8gA+zTpjkoc0/tulw997cmoiHyn0M6y3DFEQcP d8PKS4O45jrFt6QYZryNn+gwXH2HxOCIk8sEiSyDJuTor6z55V9dc92kI3XwVxq5KLUr E93a9zD11f4UyPd9q/Qdw2B73djh5q+dQrTQc1YjwZAgRQSCsYnvNu+BO362zzdPBj98 a28g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NjEd6huc; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-142198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xx15-20020a05620a5d8f00b0078bea50bf5dsi3123977qkn.115.2024.04.12.01.04.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 01:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NjEd6huc; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-142198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 852D71C22213 for ; Fri, 12 Apr 2024 08:04:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78BEE5339E; Fri, 12 Apr 2024 08:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="NjEd6huc" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5810253370 for ; Fri, 12 Apr 2024 08:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712908992; cv=none; b=F6gJNs1cvRL8nOUB350mRgNZL+t5jPNdh8mVYZEsANWPm0KUOZ4mVMb4jBlgiec293s//AlBU2MJJt7+eC1+CaI+7rDOmS5AuxjRJnx7Mrhq1vGXh8MYk2hnBgVCurmA+Y+iCNHTaW3sjfjhFbh1waaRKxN2BaCu9K9uptisaMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712908992; c=relaxed/simple; bh=7c1RQocUPxtNkMUYrXuz6Z5XrMBoGDR/AzBjy6t0JNI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KlsUjUaIMAH39o436CYRGkK+xqZaSQamcEYC8tTB/p2GQyWOyge3BW1IVCBZv3j73pXFZE8aVp+a3fcDbCiUFpXWg+d9bBPrrf/4OP6lFTZW+HaP2G3o4THdLZlodA/fLme5Ksod4MGPgA41ijDL8UMS/m+8TMTbbZn+zekhBvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=NjEd6huc; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712908990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PNPGi/LJLZ1f/UWkNAkdI7gt1aIfJVZxqk0hEY+zuuE=; b=NjEd6huc19pviT+tbLzv1wpA5c/GWissv+h1ozZZmNuzxBNQOnCSt6roLoJBHxMoOpfgzH fe+sc665ZNkCcn9RCTNtZa+VHyIGseGnxHEvBd88svH+Ls/Dq1T7DqC4vZ1/E8sSITFHRD sXQtPsUE1rIzJ/1ItIKIgxX+/ViD9uY= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-576-gH4epgrTNWS-JbdwbRUptQ-1; Fri, 12 Apr 2024 04:03:08 -0400 X-MC-Unique: gH4epgrTNWS-JbdwbRUptQ-1 Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-2a2fe3c35a1so641072a91.0 for ; Fri, 12 Apr 2024 01:03:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712908987; x=1713513787; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PNPGi/LJLZ1f/UWkNAkdI7gt1aIfJVZxqk0hEY+zuuE=; b=WKnMoemNeeKUg5Tvj+gLhOOQoPaBlkpFAT3YH6rvJsNEfwzPPdZP9EvAss3oSmLUIA CULtR78flgiYFEpKANBDQolFV5YYPMCODVcUAAInfY1Ice84AoX4sERiQ2wtZ1JK5ifT cbtUTlQggYh2ENyv5hmF3Bzbg9ln1c7kTsEd5kzrbgc01WxKxOQ6cM8ITGSIeKBGScGx yn0wACqvUllgObudnRugEuz7NvsVNRQ69rXliqCAU0W+a0NhSsS3xzvLjEiTHSH+HZ9J 7/zsoIpXkJQjpeT3en+nKyuvrllRSX2F6Oe7MSM8eNxj7v4AV3qDo+0bSQDu7OWNXFpD Ujgw== X-Forwarded-Encrypted: i=1; AJvYcCU/KMa/5/y2nHI9lCv/4368IIDDYstHSoFaDFGE4OV62YXpEop2nwb+cpo2WEbqWaK/ClIoaxTgCLSSS/ZBMiu4qZN9FpDQNKlhohU/ X-Gm-Message-State: AOJu0Yy/T5caYBehlUlRjIP4v6SMq/pzUKoLXpnwJ+6g+bAP1EDyM0gz kanvDwvq2fjfmvDJkidJtnBIFpqA9hlMkoEIz5ysjaEUd9lxcIw7063YbYIoJEiS5fr3a3CZFmc 3LnxtnP/xmEpG7oGNGStCHftnT2/YmHnzObzlQhd2G6m59Fr9nTj6gc/2USVkqQ== X-Received: by 2002:a17:90b:3597:b0:2a5:5334:e223 with SMTP id mm23-20020a17090b359700b002a55334e223mr1616957pjb.24.1712908987666; Fri, 12 Apr 2024 01:03:07 -0700 (PDT) X-Received: by 2002:a17:90b:3597:b0:2a5:5334:e223 with SMTP id mm23-20020a17090b359700b002a55334e223mr1616944pjb.24.1712908987375; Fri, 12 Apr 2024 01:03:07 -0700 (PDT) Received: from Samantha.redhat.com ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id c9-20020a17090abf0900b002a610ef880bsm2601514pjs.6.2024.04.12.01.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 01:03:07 -0700 (PDT) From: wefu@redhat.com To: jszhang@kernel.org, alexandre.belloni@bootlin.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, guoren@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Wei Fu Subject: [PATCH 5/5] riscv: dts: thead: Add XuanTie TH1520 RTC device node Date: Fri, 12 Apr 2024 16:01:47 +0800 Message-ID: <20240412080238.134191-6-wefu@redhat.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240412080238.134191-1-wefu@redhat.com> References: <20240412080238.134191-1-wefu@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Wei Fu Add nodes for the XuanTie TH1520 RTC device node on the XuanTie TH1520 Soc. Signed-off-by: Wei Fu --- arch/riscv/boot/dts/thead/th1520.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index cd6bc89a240c..62e588dbc942 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -463,6 +463,17 @@ timer7: timer@ffffc3303c { status = "disabled"; }; + rtc: rtc@fffff40000 { + compatible = "snps,dw-apb-rtc"; + reg = <0xff 0xfff40000 0x0 0x1000>; + interrupts = <74 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&osc_32k>; + clock-names = "osc_32k"; + wakeup-source; + prescaler = <0x8000>; + status = "okay"; + }; + gpio@fffff41000 { compatible = "snps,dw-apb-gpio"; reg = <0xff 0xfff41000 0x0 0x1000>; -- 2.44.0