1
0
Fork 0

ARM: at91: sam9g45 add i2c DT support

For now on use i2c-gpio driver on the same pin as the hardware IP.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
hifive-unleashed-5.1
Jean-Christophe PLAGNIOL-VILLARD 2012-02-05 18:32:37 +08:00
parent b71e1b75d6
commit 8f24bdaac9
1 changed files with 13 additions and 0 deletions

View File

@ -197,4 +197,17 @@
status = "disabled";
};
};
i2c@0 {
compatible = "i2c-gpio";
gpios = <&pioA 20 0 /* sda */
&pioA 21 0 /* scl */
>;
i2c-gpio,sda-open-drain;
i2c-gpio,scl-open-drain;
i2c-gpio,delay-us = <5>; /* ~100 kHz */
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
};