]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: NanoPi R1S H5: Add generic compatible string for I2C EEPROM
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 10 Oct 2021 13:50:17 +0000 (21:50 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 14 Oct 2021 07:17:42 +0000 (09:17 +0200)
commit3d99a6a1621935ce5e8c75f7067e3fafd3cffcfe
treea4bcec47fdb575b5fc872801cb92e396a02ca02b
parent994f87d63f4853606e66f14ed18095787b53a4e1
arm64: dts: allwinner: NanoPi R1S H5: Add generic compatible string for I2C EEPROM

The 'microchip,24c02' compatible does not match the at24 driver, so
add this generic fallback to the device node compatible string to
make the device to match the driver using the OF device ID table.

Also set this eeprom to read-only mode because it stores the mac
address of the onboard usb network card.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211010135017.6855-2-amadeus@jmu.edu.cn
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts