From 36f0949ef9854b82a9a3154d970da4e3b8d12a61 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:29 +0000
Subject: [PATCH] rk3568 rkbin init
---
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