From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CB47B4BFE8D; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791826378; cv=none; b=qpmu4fvhYm3nBRKiisBxZ49iLST+gH+t15xTPxN+jOdnxTI4nVj8WLJOoufKTj5R8td58q7HgQnnQ1wHawqux+KxWe+ptXywkeK8qkjEbZcvvil3fPLkjQgfHFlXsEviPdDOcbKd/Oht/msmLUgVA8m30BK8Xdcw29seF3aajLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791826378; c=relaxed/simple; bh=2K57Ukhh2ZtD8p9cC8o3YJWWaJ88JHj5YgPFCwXr2bY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OUF+inF+AiQZWNrscsh//w5+wqQIpaDZauQnx24xF29NAy08Lsl1SB0w3ZBDZQVkG//OOxGrAASJk1rT7vHdaHeST31k7/RRQee4SLfNL8X19VSYV0M1mxSxi6og9KaY/fmsBgKTInnm9k1Zjxh0oo7IkVyATp5P2Orj1b+9m9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=I8PjPJRG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="I8PjPJRG" Received: by smtp.kernel.org (Postfix) with ESMTPS id AB237C2BCC7; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791826378; bh=2K57Ukhh2ZtD8p9cC8o3YJWWaJ88JHj5YgPFCwXr2bY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=I8PjPJRGRTdAZvGIq5e/tseE1Rn3L0aEiLkuZIzEcj0ta7YSTHHqUQdZuT7EuplLf sjq8Ahc2Q5fBuEF2HU5RiUVHsKG2P9pEuyG4FEL9VeJGHEk8sxvPVqtHX4kZpFHCyz oi76LreSbH93y/4ZYypP6p2TOJkzOZlLvzwcvIC/lLnF7EAjLK8r4X5TqLpzvB55oF apQIsaw8upMLYpSryWotvd3jWvD25Exhs9ITRZV7ryu7mcf1lX1yEcxSMQto2j1Cbe W1J9pvEkLoO1n+uc8IshALSiEObv8TAF/NHpFS2YcuLrFrBqsWgAL+aeTB+EqAAWCZ R1T4Jj4FCStvQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97D07CA9ED0; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Mon, 12 Oct 2026 20:33:04 +0300 Subject: [PATCH 09/11] ARM: dts: cortina: almondplus: Add reset button and enable I2C Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261012-b4-cs75xx-s2-v1-9-8a7641b7b79c@gmail.com> References: <20261012-b4-cs75xx-s2-v1-0-8a7641b7b79c@gmail.com> In-Reply-To: <20261012-b4-cs75xx-s2-v1-0-8a7641b7b79c@gmail.com> To: Thomas Gleixner , Radu Rendec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Andi Shyti , Wim Van Sebroeck , Guenter Roeck , Russell King , Arnd Bergmann , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-watchdog@vger.kernel.org, Fil Dunsky X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791826375; l=1441; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=2Dx/b8/3JsG/5KBFCzsSYSUq7LHO1maolj27mYLmFbc=; b=XWXbANLAClu8iyD8TTsgycP74bTBmdKiyDLudB2hH8j1YjH5+rTRpJOhQFTQTtmjisBqTZn1r ikhfSV3SYYgAxpwOP/Igf7+GbMZursjO7mDSWY2rjY8Vzx6VmgWbZCm X-Developer-Key: i=filipp.dunsky@gmail.com; a=ed25519; pk=JAYP8e2rJ54DHOmhNtXud8rl1igAaAXoOHxtJmVXI1g= X-Endpoint-Received: by B4 Relay for filipp.dunsky@gmail.com/20260930 with auth_id=1085 X-Original-From: Fil Dunsky Reply-To: filipp.dunsky@gmail.com From: Fil Dunsky The pinhole button on the back of the Almond+ is connected to GPIO 37 (bank 1, line 5), active low. The stock firmware uses it for restart and factory reset. Enable the I2C bus, which has the touchscreen controller on it; the touchscreen itself will be added together with its driver changes. Signed-off-by: Fil Dunsky --- .../boot/dts/cortina/cs7542-securifi-almondplus.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts b/arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts index e2988c687..0619bd754 100644 --- a/arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts +++ b/arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts @@ -5,6 +5,9 @@ /dts-v1/; +#include +#include + #include "cs7542.dtsi" / { @@ -19,6 +22,16 @@ chosen { stdout-path = "serial0:115200n8"; }; + keys { + compatible = "gpio-keys"; + + button-reset { + label = "reset"; + gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + }; + memory@0 { device_type = "memory"; reg = <0x00000000 0x20000000>; @@ -50,6 +63,12 @@ &apb_clk { clock-frequency = <150000000>; }; +&i2c { + clock-frequency = <400000>; + + status = "okay"; +}; + &uart0 { status = "okay"; }; -- 2.53.0