Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1437854lqj; Tue, 4 Jun 2024 01:10:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2W+XK6hQkcTmtBwSX0nwlVm0QSUE57YsZFtp4dGg+CVG3gP//uRkajBa2uTmgx2/PMrv1Z6pgM2IWPcz3OSWnUtdV+MnFmHYmlS0VPg== X-Google-Smtp-Source: AGHT+IFlp2y3AA2BrnO9896fILYCrxpTIaRNoF/shYr2Xkzb4qlCjH8itBKSqUDy81ssKPGUGQlU X-Received: by 2002:a05:6808:342:b0:3d2:33:84a4 with SMTP id 5614622812f47-3d2003386admr368481b6e.1.1717488613210; Tue, 04 Jun 2024 01:10:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717488613; cv=pass; d=google.com; s=arc-20160816; b=gZPmykyXiVWtb21cVJjVlvibGp6WNiF149nGqMRGABgMhlqghEMsE4uN/pDQSwBkK3 fkOCvOdC8Wp3niLxQRlD0H8q/LqGlYmlU7zhE5cDudnmm1/m7mSdL6Ijdk93Yrk7qkQu NqKhS8QotCsLRbbutBxa3muHkruORzCZXkNm0+KvZ8TbErkuXjIHFojzUD1HRPCHcUic UcC19bG+RnX+sTUCw3PgY7PWgzxRHASElJ03Xxdgv5r/umu1rh6vXSaY1e8652E4m8j5 GP/53l3uDkGrrgMuFEzoavy36LjTkaSyDABaRAT3i8+xpddJwOfg4znHHPVW3wycR9T+ mMkQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=n/JzBlxPKXhRdUDPgfYR8R62q7BdNA63+MhngvZbY1c=; fh=0Pb7GhHDgk+mfC0Rko9eJ2HFlaIfaT2MTuLk0fQAwG0=; b=hj8qQ5Ptaon0AEadq+PIP2Qfrf4bXKmNWeXdGyiEj+tN/BI65jDqqC6l3OIDBopZIv Vd7Ulmemb8ahpqu2cnozgCQ5qBrEYMgPxUEaA2ZENQxt2tkTfRJa9xiaMne7Y7C6fKqB XS+tj0W3XeHKY+bbOYp9Fzp0WUZFku68iA+p7lWVmpTLOJ3f7hKb9bPjZuPCCO4YrPXd p2p6rrxdqusu8ZeLwo33ouBUR+MxN06LLBT9Wz3oD/m62RI6zlezlGzb1W5NUaiQ+dQa aYK4cOWzuKysFgGnwu/bOqovYMfTNhKLeR3/Wrfl2KLoCWkUrZJkbkcemtySJsk0k1Ja UpvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iD54TRUT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242d5a54bsi7845705b3a.350.2024.06.04.01.10.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:10:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iD54TRUT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-200220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 381F2B21457 for ; Tue, 4 Jun 2024 08:10:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE2981422D1; Tue, 4 Jun 2024 08:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iD54TRUT" Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 802191420C8; Tue, 4 Jun 2024 08:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717488593; cv=none; b=cenFM9dH8hKyNN+/GaT/sz8VexmyflwCYsdwsD737X4eac/qjFBJ9AWSzEiiJV0Jj2zUNOvYs9zrDeKwUbNGWLhHvQeRppIjnOdMXPht0AAr7h53yExQSoAuWlZA8xy9XIO13f1dlJQI4ISuzMirrnNsncdanrWUxJUEXYeBPFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717488593; c=relaxed/simple; bh=QfMx1s4NYbFECh0KMXY2fQonXfPgUZeHg/AMZB1cqh8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=D1nmb33OT5KFiqb8klV/9hVkXoGWrPJJE4lWqBX6aZPROTOucuPRFIP0OtyUDRam4reQhLFdr6cgmHRMPJZFrf3GrNlk5zqIu1kYJGfWNYXnd2IEi9tC7q5OSowOOqbpH1+HhUQekTA6drrLxsvr7hcRYxOsdGhce6STivxbswA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iD54TRUT; arc=none smtp.client-ip=209.85.167.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3d1bc6e5f01so487952b6e.0; Tue, 04 Jun 2024 01:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717488591; x=1718093391; 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=n/JzBlxPKXhRdUDPgfYR8R62q7BdNA63+MhngvZbY1c=; b=iD54TRUT2JuHQu+FGmD08Vaj5FUgQcBh5DM/ii5g6nzmI9A0St96IpAoToMtNI7WhO cs5ZPBmy0pXbR/fgDO4ofeU55TGUFp8JUoG253EQcPR4857WZNBeplvYQzgthVT8Qhmr xMvpC56B1k9YSn15ad7w+ezPRLiB7rU90HevzadnTy+Q6sAj1Cyh9HizeWdEQ4kdi+LZ 5XH0kgWmyjZO/Kws9pvRiyoHuymciT2bfC+Wqv9YSq/1OQ4QeH3bzCxjiroD7VqSXavN KYSyhLPJzfQB6RJgamDH3cNNvZ9rRd2MnoLq2NjeVnbOFh/9nH+dbhGQMR4eI4RRd3CY 6FZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717488591; x=1718093391; 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=n/JzBlxPKXhRdUDPgfYR8R62q7BdNA63+MhngvZbY1c=; b=Fr/e5FToxFO9eBcR2n8uWPb/CZk7cUJ6OxEsz4hS/rQG2F83iEydpYNlKjoiMTcYHX aCdQKSrgtTgL3nRvgV9DWLfjktXLpDxIbW29d1FK1LsS/CwdInEhOE3dNrwvLEJM2DWd sKKsz42h0EDryHapWYtsHM+pRVb6JmgiPKhUrrYMXHRn4sefEFj2EcyjMZeu+X35ne94 7U66SnRfLcvLRxk4aj+ceuVtxP86Nmlpx3K/HMm2eo8m4FXl40BviS83iIPISK+pRUJp rd46R5hIeDwutFR20k1Bs5oE7h6yzSZbSqWEX1bsniTiQbF9LUzup+KAzSdacmzShl9d UdOQ== X-Forwarded-Encrypted: i=1; AJvYcCVc+8Wb0gmuYsppr9nU5XSrrhcCSt0GHygO3bycVwO9OCXCDwtizfzYTsGmzFPJuhFVGdrYHEYJ3gwCTfD54Jdy9xMYPge6JfifoJKjff8IwSzHSJLHakqQctT/r1n8rqw7YnWk4E4fnA== X-Gm-Message-State: AOJu0YyQH/LWevGtkRzszCYC5l0w9FoeLzBO7DzYMsjqpb6Ahqgu6sGt +GZj8VNZtvt+QSSxV1QIx9CEaQkHYnzenMeLaJQ1cLfCuFS9h/Z6 X-Received: by 2002:a05:6808:b17:b0:3d2:c8:7efb with SMTP id 5614622812f47-3d200c87f13mr196016b6e.30.1717488591489; Tue, 04 Jun 2024 01:09:51 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-702425e20f8sm6594838b3a.86.2024.06.04.01.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:09:51 -0700 (PDT) From: Jacky Huang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, schung@nuvoton.com, Jacky Huang Subject: [PATCH V1] arm64: dts: nuvoton: ma35d1: add rtc node Date: Tue, 4 Jun 2024 08:09:46 +0000 Message-Id: <20240604080946.80-1-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 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: Jacky Huang Add RTC node on MA35D1 and enable the RTC module on SOM and IoT boards. Signed-off-by: Jacky Huang --- arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts | 4 ++++ arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts | 4 ++++ arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts b/arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts index b89e2be6abae..b3be4331abcf 100644 --- a/arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts +++ b/arch/arm64/boot/dts/nuvoton/ma35d1-iot-512m.dts @@ -54,3 +54,7 @@ &clk { "integer", "integer"; }; + +&rtc { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts b/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts index a1ebddecb7f8..9858788a589c 100644 --- a/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts +++ b/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts @@ -54,3 +54,7 @@ &clk { "integer", "integer"; }; + +&rtc { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi index 781cdae566a0..394395bfd3ae 100644 --- a/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi +++ b/arch/arm64/boot/dts/nuvoton/ma35d1.dtsi @@ -95,6 +95,14 @@ clk: clock-controller@40460200 { clocks = <&clk_hxt>; }; + rtc: rtc@40410000 { + compatible = "nuvoton,ma35d1-rtc"; + reg = <0x0 0x40410000 0x0 0x200>; + interrupts = ; + clocks = <&clk RTC_GATE>; + status = "disabled"; + }; + uart0: serial@40700000 { compatible = "nuvoton,ma35d1-uart"; reg = <0x0 0x40700000 0x0 0x100>; -- 2.34.1