bcm53xx: enable CONFIG_I2C_BCM_IPROC

This is required for the AT24 EEPROM holding MAC address on Meraki
devices to probe before preinit starts, so all network devices can be
available at the preinit network setup starts

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16634
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Lech Perczak 2024-10-02 16:23:13 +02:00 committed by Hauke Mehrtens
parent 64424c2427
commit a69eaf8079
2 changed files with 6 additions and 4 deletions

View file

@ -183,6 +183,9 @@ CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_BCM2835=y CONFIG_HW_RANDOM_BCM2835=y
CONFIG_HZ_FIXED=0 CONFIG_HZ_FIXED=0
CONFIG_HZ_PERIODIC=y CONFIG_HZ_PERIODIC=y
CONFIG_I2C=y
CONFIG_I2C_BCM_IPROC=y
# CONFIG_I2C_SLAVE_TESTUNIT is not set
CONFIG_INITRAMFS_SOURCE="" CONFIG_INITRAMFS_SOURCE=""
CONFIG_IRQCHIP=y CONFIG_IRQCHIP=y
CONFIG_IRQSTACKS=y CONFIG_IRQSTACKS=y
@ -294,6 +297,7 @@ CONFIG_PWM_SYSFS=y
CONFIG_RANDSTRUCT_NONE=y CONFIG_RANDSTRUCT_NONE=y
CONFIG_RATIONAL=y CONFIG_RATIONAL=y
CONFIG_REGMAP=y CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_MMIO=y CONFIG_REGMAP_MMIO=y
CONFIG_RFS_ACCEL=y CONFIG_RFS_ACCEL=y
CONFIG_RPS=y CONFIG_RPS=y

View file

@ -382,8 +382,7 @@ TARGET_DEVICES += luxul_xwr-3150
define Device/meraki_mr26 define Device/meraki_mr26
DEVICE_VENDOR := Meraki DEVICE_VENDOR := Meraki
DEVICE_MODEL := MR26 DEVICE_MODEL := MR26
DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \ DEVICE_PACKAGES := $(B43) kmod-hwmon-ina2xx kmod-leds-uleds nu801
kmod-hwmon-ina2xx kmod-leds-uleds nu801
DEVICE_DTS := bcm53015-meraki-mr26 DEVICE_DTS := bcm53015-meraki-mr26
# resize the initramfs to fit the size of the existing part.safe. # resize the initramfs to fit the size of the existing part.safe.
KERNEL_LOADADDR := 0x00008000 KERNEL_LOADADDR := 0x00008000
@ -399,8 +398,7 @@ TARGET_DEVICES += meraki_mr26
define Device/meraki_mr32 define Device/meraki_mr32
DEVICE_VENDOR := Meraki DEVICE_VENDOR := Meraki
DEVICE_MODEL := MR32 DEVICE_MODEL := MR32
DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \ DEVICE_PACKAGES := $(B43) kmod-leds-pwm kmod-hwmon-ina2xx kmod-bluetooth
kmod-leds-pwm kmod-hwmon-ina2xx kmod-bluetooth
DEVICE_DTS := bcm53016-meraki-mr32 DEVICE_DTS := bcm53016-meraki-mr32
# Meraki FW r23 tries to resize the part.safe partition before it will # Meraki FW r23 tries to resize the part.safe partition before it will
# flash the image. This is a bit of a problem, since resizing will fail # flash the image. This is a bit of a problem, since resizing will fail