rpi4: boot: config: disable eeprom i2c hat auto detect
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 14 Aug 2020 07:24:24 +0000 (16:24 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 08:46:07 +0000 (17:46 +0900)
From raspberry pi gpio pins, ID_SC and ID_SD are reserved by
firmware to detect HAT with i2c, but in Tizen, auto-detection
and dynamical setting dt with overlay is not supported.
To use the pins for uart2, explictly disable eeprom i2c hat
auto detect.

Ref: https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md

Change-Id: Id5cf016b09e7661317529e1174842915165955bc
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
rpi4/boot/config.txt
rpi4/boot/config_64bit.txt

index da8a863..af7c8de 100644 (file)
@@ -59,6 +59,10 @@ dtparam=audio=on
 # Enable DRM VC4 V3D driver on top of the dispmanx display stack
 dtoverlay=vc4-fkms-v3d
 max_framebuffers=2
+
+# Disable ID_SC and ID_SD pins to use UART2
+force_eeprom_read=0
+
 kernel=u-boot.bin
 
 [all]
index ee241b1..d071525 100644 (file)
@@ -59,6 +59,10 @@ dtparam=audio=on
 # Enable DRM VC4 V3D driver on top of the dispmanx display stack
 dtoverlay=vc4-fkms-v3d
 max_framebuffers=2
+
+# Disable ID_SC and ID_SD pins to use UART2
+force_eeprom_read=0
+
 kernel=u-boot.bin
 
 [all]