Skip to content

Commit

Permalink
change RPI-RF-MOD gpio pin id for the LXC platform use case when a Ra…
Browse files Browse the repository at this point in the history
…spberryPi5 with latest kernel is used (fixes #2763).
  • Loading branch information
jens-maus committed Jun 21, 2024
1 parent 33ea0a4 commit 430625a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot-external/overlay/base/etc/init.d/S02InitRTC
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ init_rtc_device() {
# check underlying hardware model
if grep -Eq "^Raspberry Pi 5" /proc/device-tree/model; then
# This is a RaspberryPi 5 hardware
modprobe -q rpi_rf_mod_led red_gpio_pin="415" green_gpio_pin="419" blue_gpio_pin="420"
modprobe -q rpi_rf_mod_led red_gpio_pin="587" green_gpio_pin="591" blue_gpio_pin="592"
elif grep -Eq "^Raspberry Pi" /proc/device-tree/model; then
# This is a RaspberryPi hardware
modprobe -q rpi_rf_mod_led red_gpio_pin="16" green_gpio_pin="20" blue_gpio_pin="21"
Expand Down

0 comments on commit 430625a

Please sign in to comment.