From patchwork Wed Oct 26 12:41:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020526 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3C0CC38A2D for ; Wed, 26 Oct 2022 12:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Qgn72f+UclQ3tg9ISmxY42ja259Rj2lJl0a2F355rXk=; b=Paw0sROBVAIHwb 50STwngtfdS4QLKvhCQktFSwbbKEloTeOW9Qg+rJyToQ8kOcCQN8xHZqEq3pkfnQV6Ns6tMFNFR07 mCOnJHwxdwuzxg3oLqmRoeRYqh2L1sZ+JRaJEhbyVzXv3gqRNcyy3W/aDHMXB12pTYf2AHBKA/Ejp 0S9YlndZkUNEpu9j6P9NVm8p44U6SRpATD4jul1Agej6oPmxTWb23MEaTxj1hflrT3mg5pd5ELqAs zZhw14EpAUWODVYSgP5RlB+EGYFXjwqBP9riM/KZc3K+v/r+CJ5S3wsBwIHX+xZhmOrXmvOHW67RL DUwDKDXMEZ350tK/dDhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgk-009CIK-BB; Wed, 26 Oct 2022 12:39:18 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgc-009CEr-AF for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787950; x=1698323950; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bisr1L61KhLBriG5s6EIXVlEsBRRUoDJM4tZkzJXrUM=; b=D9eQEvNaYK5ODXudQHsuFWbxcdBc+4Qf6fRVVENpBpmnBXV1G8XSHwFz yfB4lbPrpuxM1t6Sz6oLPGiZvSUi823yxhnyJxkLGolUqPY0F46EItgum jDats/OGOvCA6BLHk+EiXViJwjE/lI9FaZdkwo15YLwbornAuA3TfGuVL alqMQv6TcKxqaMI9FDs8zJWtZjN57++tzbGVNvp/tZPZUpY5F0jufVsD9 uzprPt2INPMkkGqu/UYiMvZsDA/r1ndDOMdJxZLxrjm3W80yShRS5gjqD iDkmkZOngG68f/0n1P91lyYjBmmh68/fq8NG69qSE/00QC4ZmyBjuI9dz w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="186447241" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:08 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:08 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:05 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 02/11] ARM: dts: at91: sama7g5: add otpc node Date: Wed, 26 Oct 2022 15:41:05 +0300 Message-ID: <20221026124114.985876-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221026_053910_391727_CFB78873 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add OTPC node along with temperature calibration cell. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index 7bd8ae8e8d38..ccba1ba5336d 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -15,6 +15,7 @@ #include #include #include +#include / { model = "Microchip SAMA7G5 family SoC"; @@ -888,6 +889,17 @@ ddr3phy: ddr3phy@e3804000 { reg = <0xe3804000 0x1000>; }; + otpc: otpc@e8c00000 { + compatible = "microchip,sama7g5-otpc", "syscon"; + reg = <0xe8c00000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + temperature_calib: calib@1 { + reg = ; + }; + }; + gic: interrupt-controller@e8c11000 { compatible = "arm,cortex-a7-gic"; #interrupt-cells = <3>;