]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM64: zynqmp: Add eeprom memories on i2c bus
authorMichal Simek <michal.simek@xilinx.com>
Mon, 27 Jul 2015 09:38:46 +0000 (11:38 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 31 Jul 2015 08:46:29 +0000 (10:46 +0200)
Add i2c eeprom memories on i2c bus.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts

index c5cc8dbd09684cf08a3700d09ec067974fac71c5..3b10111697566c229ed32a2c2ab1a86a63fb0473 100644 (file)
        status = "okay";
 };
 
+&i2c0 {
+       status = "okay";
+       clock-frequency = <400000>;
+       eeprom@54 {
+               compatible = "at,24c64";
+               reg = <0x54>;
+       };
+};
+
+&i2c1 {
+       status = "okay";
+       clock-frequency = <400000>;
+       eeprom@55 {
+               compatible = "at,24c64";
+               reg = <0x55>;
+       };
+};
+
 &sata {
        status = "okay";
        ceva,broken-gen2;