From: Seung-Woo Kim Date: Fri, 14 Aug 2020 07:24:24 +0000 (+0900) Subject: rpi4: boot: config: disable eeprom i2c hat auto detect X-Git-Tag: accepted/tizen/unified/20210330.111217~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dc36ce1fe0cfcaddd3f0f36401606f0bb3e54a8;p=platform%2Fkernel%2Flinux-rpi.git rpi4: boot: config: disable eeprom i2c hat auto detect 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 --- diff --git a/rpi4/boot/config.txt b/rpi4/boot/config.txt index 6bdc59b..2a4fb5b 100644 --- a/rpi4/boot/config.txt +++ b/rpi4/boot/config.txt @@ -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] diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index ee241b1..d071525 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -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]