From nobody Thu Dec 18 18:47:15 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C983E732DB for ; Thu, 28 Sep 2023 14:37:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229469AbjI1Ohr (ORCPT ); Thu, 28 Sep 2023 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbjI1Oho (ORCPT ); Thu, 28 Sep 2023 10:37:44 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27F1B136; Thu, 28 Sep 2023 07:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1695911860; x=1727447860; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VX9nwVrqBkZ7pbyV1snJDbtj8uP2ZRcb8DPHidThz1s=; b=sazsowTwNhvyoYy5NL/VSbFdomLdEM5yzLki8QVuvGUf8HCyIdHCxSOL 3MrUlu7ZLECvXxSbbekadsYrA5JpknOttmFhVRYl2ItN6jyNQiBst6A5O oJeyZvr2tVio0jh4sldsjA+VczMt6MKcxblUXsGwZGURTZEn8cyujImiV lXkoCSorXF3Dv4kIRZMgzixbxv/00pKxtGhS2BB3b8Kr2o/xnvMckqD5e 12CsxmMpJH+fTkxaPWk+P83AkTiKDC+3N18VEB/TzwrFhzbZ0sdXJTJVX 2nLqqw8tCRHLohTqIad3P8KArCLK5/FXefgwl60aaDr0EyBEuGo1w1iKQ A==; X-CSE-ConnectionGUID: Xa7eooHcQCaStKetqeRDsQ== X-CSE-MsgGUID: yGN/veqWQmCaCtwapdt2aQ== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="7359184" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 28 Sep 2023 07:37:40 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 28 Sep 2023 07:37:10 -0700 Received: from ROU-LL-M43238.home (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Thu, 28 Sep 2023 07:37:08 -0700 From: To: Claudiu Beznea , CC: Alexandre Belloni , , , Tudor Ambarus Subject: [PATCH] ARM: dts: at91: sam9x60_curiosity: Add mandatory dt property for RTT Date: Thu, 28 Sep 2023 16:36:44 +0200 Message-ID: <20230928143644.208515-1-nicolas.ferre@microchip.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Tudor Ambarus atmel,rtt-rtc-time-reg is a mandatory property and encodes the GPBR register used to store the time base when the RTT is used as an RTC. Align the RTT with what's currently done for sam9x60ek and sama7g5ek, and enable it by default even if RTC is also enabled. Signed-off-by: Tudor Ambarus [nicolas.ferre@microchip.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre Reviewed-by: Claudiu Beznea --- arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts b/arch/= arm/boot/dts/microchip/at91-sam9x60_curiosity.dts index cb86a3a170ce..83372c1f291b 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts @@ -439,6 +439,10 @@ &pwm0 { status =3D "okay"; }; =20 +&rtt { + atmel,rtt-rtc-time-reg =3D <&gpbr 0x0>; +}; + &sdmmc0 { bus-width =3D <4>; pinctrl-names =3D "default"; --=20 2.39.2