ARM: sun5i: dt: Add AT24 device on A10S-OLinuXino-Micro
authorEmilio López <emilio@elopez.com.ar>
Sun, 7 Jul 2013 21:31:59 +0000 (18:31 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 15 Jul 2013 07:58:40 +0000 (09:58 +0200)
This OLIMEX board has a AT24C16BN-SH EEPROM holding the MAC address.
This patch adds the corresponding device tree node to reflect this.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

index 2a69ddf..24dd8bb 100644 (file)
                        pinctrl-names = "default";
                        pinctrl-0 = <&i2c1_pins_a>;
                        status = "okay";
+
+                       at24@50 {
+                               compatible = "at,24c16";
+                               pagesize = <16>;
+                               reg = <0x50>;
+                               read-only;
+                       };
                };
 
                i2c2: i2c@01c2b400 {