[PATCH 09/11] ARM: dts: cortina: almondplus: Add reset button and enable I2C

From: Fil Dunsky via B4 Relay

Date: Mon Oct 12 2026 - 13:36:38 EST


From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>

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 <filipp.dunsky@xxxxxxxxx>
---
.../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 <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
#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 = <KEY_RESTART>;
+ };
+ };
+
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