Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1621636pxm; Thu, 3 Mar 2022 23:37:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPJX4beMhC9uuvb/yBuaDOocbku+arYsUO+DBUrmkCEnlTNR36DbDr8aNcYdBNF5I2UYom X-Received: by 2002:a05:6402:1941:b0:413:2b5f:9074 with SMTP id f1-20020a056402194100b004132b5f9074mr38102757edz.414.1646379449665; Thu, 03 Mar 2022 23:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646379449; cv=none; d=google.com; s=arc-20160816; b=AJd4Va4hyiZ211QlrcxqsZXYOLVCA2buehm6csQmqAc55UtzX9iXlsvpj6yKxGNbsw fMI1/N+GnG56sXvJ0C3G7oPmshdsTXzC6jms1ljqKe85a7Fttc28z2Tn/inkZJHF/sWl JVzid87aidgxO7Ua14P2iN6ik3N+21pu8BkS8SzL2wP8I0gXDG/JRLYHX7Ov06WLXjJB TyMWn3Uzq9LxLCXxjLf76dxJcqrI3HtOH0v3UsgoELPrQNVvmenjYptYqLy06/MEg1EX zW/MLsSIrXftfbx5opl9wwI4ZiaOZh6xtNUm87r6oNSfO72HSeJ1ztUXAKyvE2bpsBOe WNZA== 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=JobIQTdVa1Qzoa/xblVhovTFLHut2/haEzPrC4QAwU4=; b=kgTgmHU20M8txG9v1UQyT0jt56wE7M04usx17fF/Y1wlSCWWKQFi8UQp1BZlWXb672 8ZbbuKxdthxkCtiGY/irDwIWo0ZL0rvz6e8gcTDeOkR5Yc9GQg9iPD5deZQNPRduI1kV cq9mPZAZxu7xbIOIT/mV9jWw9RkWnoFYBh0M3ufLL53d+ca+Ot+DvwNHx/uzw0c9nJVl 821qeHEKFdv6bImBcOdEFxFMtNW9xen/k3w+HG0A7ixg8TMZvYFERHIcQRkbpOJBdFq5 sA9CRuqdsw++LaP57+8Kt10A21G1kAaCaoqq3JxtHxeP01O+PSn12E2QAWb7nYpHyhx8 0j0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=c3P1S5kS; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb11-20020a170907960b00b006da824ec8c3si3948820ejc.386.2022.03.03.23.37.07; Thu, 03 Mar 2022 23:37:29 -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=fail header.i=@microchip.com header.s=mchp header.b=c3P1S5kS; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233965AbiCCONY (ORCPT + 99 others); Thu, 3 Mar 2022 09:13:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiCCONT (ORCPT ); Thu, 3 Mar 2022 09:13:19 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C290C10FC5; Thu, 3 Mar 2022 06:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646316754; x=1677852754; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TJ2IyJE4LtYevCR0x/vecLHr65fgQK+fMxds3YexPB4=; b=c3P1S5kS3Z5ng12DMEPVHGXlFoWmWdNNvvUViR4N76kaXuXTYVbiT6eW vhfEUZS90GG+fFPQSbxPvd2Lrerrl3tqN8XQ5ksXJboGGeouuS4INfDPW pFwtd+T5tbIGKqkGzwaSxL7crDTzA9w0XYgO2JBU4LMWssklK6jb4L0Ic 91U/7J7vydo7RX3cw9+uSIOtkgLLuwHjPO58pAI7X26OKqE4tpLFO0VXF 8f0oFFZcwiVjTHVM2EsU+xDSpmIit7jwCepDkOEceClRbQyWnrBzmwjv4 rvMK/i+tvcTGwS5cD2c5K1IOkioXQItgBoQMOlCv/Kz9NcTOzg5XIRI0r Q==; X-IronPort-AV: E=Sophos;i="5.90,151,1643698800"; d="scan'208";a="155125641" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Mar 2022 07:12:32 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 3 Mar 2022 07:12:31 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 3 Mar 2022 07:12:26 -0700 From: Sergiu Moga To: , , , , , CC: , , , , Sergiu Moga Subject: [PATCH v2 1/5] ARM: dts: at91: Move rtt node properties from "dts" file to "dtsi" file Date: Thu, 3 Mar 2022 16:06:22 +0200 Message-ID: <20220303140626.38129-2-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220303140626.38129-1-sergiu.moga@microchip.com> References: <20220303140626.38129-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR 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 Move the properties of the rtt node of RTT IPs from the "dts" file to the "dtsi" file, since it is more IP specific than it is board specific. Signed-off-by: Sergiu Moga --- arch/arm/boot/dts/at91-sam9x60ek.dts | 5 ----- arch/arm/boot/dts/at91-sama7g5ek.dts | 4 ---- arch/arm/boot/dts/at91sam9260.dtsi | 1 + arch/arm/boot/dts/at91sam9260ek.dts | 1 - arch/arm/boot/dts/at91sam9g45.dtsi | 1 + arch/arm/boot/dts/at91sam9m10g45ek.dts | 1 - arch/arm/boot/dts/sam9x60.dtsi | 1 + arch/arm/boot/dts/sama7g5.dtsi | 1 + 8 files changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index b1068cca4228..97ff91346cb4 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -656,11 +656,6 @@ kernel@200000 { }; }; -&rtt { - atmel,rtt-rtc-time-reg = <&gpbr 0x0>; - status = "okay"; -}; - &shutdown_controller { debounce-delay-us = <976>; status = "okay"; diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index ccf9e224da78..b7416d9469e3 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -708,10 +708,6 @@ &pwm { status = "disabled"; /* Conflict with leds. */ }; -&rtt { - atmel,rtt-rtc-time-reg = <&gpbr 0x0>; -}; - &sdmmc0 { bus-width = <8>; non-removable; diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi index 7368347c9357..66d11c8f1a9b 100644 --- a/arch/arm/boot/dts/at91sam9260.dtsi +++ b/arch/arm/boot/dts/at91sam9260.dtsi @@ -713,6 +713,7 @@ rtc@fffffd20 { reg = <0xfffffd20 0x10>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>; + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/at91sam9260ek.dts b/arch/arm/boot/dts/at91sam9260ek.dts index ce96345d28a3..6932dab42f2e 100644 --- a/arch/arm/boot/dts/at91sam9260ek.dts +++ b/arch/arm/boot/dts/at91sam9260ek.dts @@ -118,7 +118,6 @@ shdwc@fffffd10 { }; rtc@fffffd20 { - atmel,rtt-rtc-time-reg = <&gpbr 0x0>; status = "okay"; }; diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 2ab730fd6472..fd308e2c15e8 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi @@ -929,6 +929,7 @@ rtc@fffffd20 { reg = <0xfffffd20 0x10>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; clocks = <&clk32k>; + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts index b6256a20fbc7..07bfa8ef715d 100644 --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts @@ -220,7 +220,6 @@ pwm0: pwm@fffb8000 { }; rtc@fffffd20 { - atmel,rtt-rtc-time-reg = <&gpbr 0x0>; status = "okay"; }; diff --git a/arch/arm/boot/dts/sam9x60.dtsi b/arch/arm/boot/dts/sam9x60.dtsi index ec45ced3cde6..57ba47c54043 100644 --- a/arch/arm/boot/dts/sam9x60.dtsi +++ b/arch/arm/boot/dts/sam9x60.dtsi @@ -693,6 +693,7 @@ rtt: rtt@fffffe20 { reg = <0xfffffe20 0x20>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; clocks = <&clk32k 0>; + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; }; pit: timer@fffffe40 { diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index eddcfbf4d223..1530d88ce80f 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -138,6 +138,7 @@ rtt: rtt@e001d020 { reg = <0xe001d020 0x30>; interrupts = ; clocks = <&clk32k 0>; + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; }; clk32k: clock-controller@e001d050 { -- 2.25.1