Skip to content

Commit c515bca

Browse files
committed
Add device tree and update configuration for Aiot-rk3588a board
1 parent d2ea197 commit c515bca

File tree

3 files changed

+34
-12
lines changed

3 files changed

+34
-12
lines changed

config/boards/shimeta-aiot-rk3588a.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#Rockchip RK3588 SoC octa core 4-16GB SoC 2.5GBe PoE eMMC USB3 NvME
1+
#Rockchip RK3588 SoC octa core 4-8GB SoC 1Gbe eMMC USB3 USB2 HDMI Type-c LVDS EDP EDPx MIPI MIPI_CAN RS485 RS232 Mic Headphones,4G/5G Module,SATA,HDMI in,Ir Speaker I2C TP,TF Card,FAN
2+
#Note: Optional 2k EEPROM, PCIe switchable to M.2, speaker output (supports left/right channel output, max. dual 20W/4Ω or 10W/8Ω), eMMC supports 16–128GB. This development board has three versions: V1.1, V1.2, and V1.3.
23
BOARD_NAME="Aiot rk3588"
34
BOARDFAMILY="rockchip-rk3588"
45
BOARD_MAINTAINER="ghhccghk"

patch/u-boot/legacy/u-boot-radxa-rk35xx/defconfig/aiot_rk3588a_defconfig

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CONFIG_TARGET_EVB_RK3588=y
2222
CONFIG_SPL_LIBDISK_SUPPORT=y
2323
CONFIG_SPL_SPI_FLASH_SUPPORT=y
2424
CONFIG_SPL_SPI_SUPPORT=y
25-
CONFIG_DEFAULT_DEVICE_TREE="rk3588-evb"
25+
CONFIG_DEFAULT_DEVICE_TREE="rk3588-aiot-rk3588a"
2626
CONFIG_DEBUG_UART=y
2727
CONFIG_LOCALVERSION="-armbian"
2828
# CONFIG_LOCALVERSION_AUTO is not set
@@ -215,10 +215,6 @@ CONFIG_AVB_LIBAVB_ATX=y
215215
CONFIG_AVB_LIBAVB_USER=y
216216
CONFIG_RK_AVB_LIBAVB_USER=y
217217
CONFIG_VERSION_VARIABLE=y
218-
219-
#
220-
# Graphics support
221-
#
222218
CONFIG_DM_VIDEO=y
223219
# CONFIG_SPL_DM_VIDEO is not set
224220
CONFIG_BACKLIGHT_PWM=y
@@ -227,13 +223,7 @@ CONFIG_VIDEO_BPP8=y
227223
CONFIG_VIDEO_BPP16=y
228224
CONFIG_VIDEO_BPP32=y
229225
CONFIG_CONSOLE_NORMAL=y
230-
# CONFIG_CONSOLE_ROTATION is not set
231-
# CONFIG_CONSOLE_TRUETYPE is not set
232226
CONFIG_SYS_WHITE_ON_BLACK=y
233-
234-
#
235-
# TrueType Fonts
236-
#
237227
# CONFIG_VIDCONSOLE_AS_LCD is not set
238228
# CONFIG_VIDEO_VESA is not set
239229
# CONFIG_VIDEO_LCD_ANX9804 is not set
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2021 Rockchip Electronics Co., Ltd
4+
*
5+
*/
6+
7+
/dts-v1/;
8+
#include "rk3588.dtsi"
9+
#include "rk3588-u-boot.dtsi"
10+
#include <dt-bindings/input/input.h>
11+
12+
/ {
13+
model = "Shimeta Aiot rk3588a";
14+
compatible = "rockchip,rk3588-aiot-rk3588a", "rockchip,rk3588";
15+
16+
adc-keys {
17+
compatible = "adc-keys";
18+
io-channels = <&saradc 1>;
19+
io-channel-names = "buttons";
20+
keyup-threshold-microvolt = <1800000>;
21+
u-boot,dm-pre-reloc;
22+
status = "okay";
23+
24+
volumeup-key {
25+
u-boot,dm-pre-reloc;
26+
linux,code = <KEY_VOLUMEUP>;
27+
label = "volume up";
28+
press-threshold-microvolt = <1750>;
29+
};
30+
};
31+
};

0 commit comments

Comments
 (0)