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 955D2494831; Tue, 13 Oct 2026 06:07:13 +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=1791871633; cv=none; b=I/Y8rc7iTe9QoffQ/TsIVAORWm0jgD2jr92Hp4lAo0VDTfFpqrsvfOsodQq6flvS1bXwLfNxwbiwJQs1w5/ZCOWKNQIpRsjsXmsFBsA/LLySmz0n4/rHWDifJ+7cik5KwVnNkcatWTjwEjzZqGIQWQVAM4yD/QTD4A242MmqdvI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791871633; c=relaxed/simple; bh=2K57Ukhh2ZtD8p9cC8o3YJWWaJ88JHj5YgPFCwXr2bY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DpTuY3zgDfQSZa5VJGwMaU1F3mZO8vHHV4Q/AbUy4j7tDQVLhvcmgtefEGvYVsAv2tvLDpzS3Mh47MKrKg3Y3HdsVG4aqbVEBq0GcygSwL6QK2x/YaP00ZCPUQtAXT+AKntUlm6urZ1DUARJ8qrPnh9H41RaW6ahvXBl1Pdt2Lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CMbmH9Qv; 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="CMbmH9Qv" Received: by smtp.kernel.org (Postfix) with ESMTPS id 5C71FC2BD05; Tue, 13 Oct 2026 06:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791871633; bh=2K57Ukhh2ZtD8p9cC8o3YJWWaJ88JHj5YgPFCwXr2bY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=CMbmH9Qvk2dMe+WS1ZEv5SRxVdgfME5Kew/jBOgMj2yM6H1iiXmHG31scWy4YBBJB CxDTXZMM20aX5Hnov+d03DMlbMX1X3cAMbYIdh2yuIL3ihpFjV1S9PkEUbD3T8ogtQ p+KMVy2o01IlTE2pLQXGx07WFqtrrS+Eav95JvYUxdf8NiWX9Nc3LvjtDnoGuFl7ug M+aYonLAHVE7gfx0rPr8H32D/MnLunNCoR7eFP1TbyP7ILDNzGYqKFnUWZQlptuqL/ 7cQyv7wfg2wxHTd+L57KDNgZlEELbLSlROOYs4mrQ9iUeHaueRyKaWWjC+elVrUXZm c2LZVcarhM6ig== 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 48463CC6B0E; Tue, 13 Oct 2026 06:07:13 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Tue, 13 Oct 2026 09:07:19 +0300 Subject: [PATCH v3 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: <20261013-b4-cs75xx-s2-v3-9-181bb0d23f4c@gmail.com> References: <20261013-b4-cs75xx-s2-v3-0-181bb0d23f4c@gmail.com> In-Reply-To: <20261013-b4-cs75xx-s2-v3-0-181bb0d23f4c@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=1791871630; l=1441; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=2Dx/b8/3JsG/5KBFCzsSYSUq7LHO1maolj27mYLmFbc=; b=7fbgBpySB6PGY2S7I5unTWm+I9hy3FPsKQdnoUJTTk135b0RLR1eny3evGhNZBvCryWAP6f3C Yoq4l+qZaZJAP3U40xdhxFiZ5jyrIg3PjjGqYIrOQwXBgoL9tAyn/UA 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