summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2017-05-23 15:34:32 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-06-17 08:16:46 +0200
commit97800cf8b6a81cf17ad216ec9d0c8e78c68b7aef (patch)
tree5b4a1038fc5d8845603e8b8e4dfec61fd45c9f3e /arch/arm/boot/dts
parent41c8652096268988207d4fa13ee9236c9980d34d (diff)
downloadlinux-97800cf8b6a81cf17ad216ec9d0c8e78c68b7aef.tar.gz
linux-97800cf8b6a81cf17ad216ec9d0c8e78c68b7aef.tar.bz2
linux-97800cf8b6a81cf17ad216ec9d0c8e78c68b7aef.zip
ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROM
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken into account so the driver defines only a set of compatible strings using the "atmel" vendor as a generic fallback for compatible I2C devices. 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. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/armada-385-turris-omnia.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
index 28eede180e4f..be16ce39fb3d 100644
--- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
+++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
@@ -171,7 +171,7 @@
/* leds device (in STM32F0) at address 0x2b */
eeprom@54 {
- compatible = "at,24c64";
+ compatible = "atmel,24c64";
reg = <0x54>;
/* The EEPROM contains data for bootloader.