From ee930fffee469d076998274a2ca55e13dc1efb67 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 08:50:54 +0000
Subject: [PATCH] enable tun/tap/iptables

---
 u-boot/arch/arm/dts/rv1106-evb2.dts |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/u-boot/arch/arm/dts/rv1106-evb2.dts b/u-boot/arch/arm/dts/rv1106-evb2.dts
index ffc431c..71ad07b 100644
--- a/u-boot/arch/arm/dts/rv1106-evb2.dts
+++ b/u-boot/arch/arm/dts/rv1106-evb2.dts
@@ -7,6 +7,7 @@
 
 #include "rv1106.dtsi"
 #include "rv1106-u-boot.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Rockchip RV1106 EVB2 Board";
@@ -15,6 +16,22 @@
 	chosen {
 		stdout-path = &uart2;
 		u-boot,spl-boot-order = &spi_nor, &emmc;
+	};
+
+	adc-keys {
+		compatible = "adc-keys";
+		io-channels = <&saradc 0>;
+		io-channel-names = "buttons";
+		keyup-threshold-microvolt = <1800000>;
+		u-boot,dm-spl;
+		status = "okay";
+
+		volumeup-key {
+			u-boot,dm-spl;
+			linux,code = <KEY_VOLUMEUP>;
+			label = "volume up";
+			press-threshold-microvolt = <17578>;
+		};
 	};
 };
 
@@ -63,6 +80,11 @@
 	status = "disabled";
 };
 
+&saradc {
+	u-boot,dm-spl;
+	status = "okay";
+};
+
 &sdmmc {
 	/delete-property/ u-boot,dm-spl;
 	status = "disabled";

--
Gitblit v1.6.2