]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: am437x: cm-t43: add support for module eeprom
authorNikita Kiryanov <nikita@compulab.co.il>
Tue, 1 Dec 2015 13:54:57 +0000 (15:54 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Dec 2015 16:12:57 +0000 (08:12 -0800)
CM-T43 has an on-board EEPROM on i2c bus 0. Add it to the device tree.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Benoit Cousson <bcousson@baylibre.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-cm-t43.dts

index a131b971315eb316b0676bede6a68f5bf4ad37ca..ce33b416a5b9587a71802c1f87cf3c3480b1d2ed 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pins>;
        clock-frequency = <100000>;
+
+       eeprom_module: at24@50 {
+               compatible = "atmel,24c02";
+               reg = <0x50>;
+               pagesize = <16>;
+       };
 };
 
 &gpio0 {