i2c: at91: add compatible with microchip,sam9x60-i2c
Add compatible and data platform struct for sam9x60 SoC. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
a02af84e03
commit
009b108d80
1 changed files with 6 additions and 0 deletions
|
@ -305,6 +305,11 @@ static const struct at91_i2c_pdata sama5d2_config = {
|
||||||
.clk_offset = 3,
|
.clk_offset = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct at91_i2c_pdata sam9x60_config = {
|
||||||
|
.clk_max_div = 7,
|
||||||
|
.clk_offset = 3,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct udevice_id at91_i2c_ids[] = {
|
static const struct udevice_id at91_i2c_ids[] = {
|
||||||
{ .compatible = "atmel,at91rm9200-i2c", .data = (long)&at91rm9200_config },
|
{ .compatible = "atmel,at91rm9200-i2c", .data = (long)&at91rm9200_config },
|
||||||
{ .compatible = "atmel,at91sam9260-i2c", .data = (long)&at91sam9260_config },
|
{ .compatible = "atmel,at91sam9260-i2c", .data = (long)&at91sam9260_config },
|
||||||
|
@ -314,6 +319,7 @@ static const struct udevice_id at91_i2c_ids[] = {
|
||||||
{ .compatible = "atmel,at91sam9x5-i2c", .data = (long)&at91sam9x5_config },
|
{ .compatible = "atmel,at91sam9x5-i2c", .data = (long)&at91sam9x5_config },
|
||||||
{ .compatible = "atmel,sama5d4-i2c", .data = (long)&sama5d4_config },
|
{ .compatible = "atmel,sama5d4-i2c", .data = (long)&sama5d4_config },
|
||||||
{ .compatible = "atmel,sama5d2-i2c", .data = (long)&sama5d2_config },
|
{ .compatible = "atmel,sama5d2-i2c", .data = (long)&sama5d2_config },
|
||||||
|
{ .compatible = "microchip,sam9x60-i2c", .data = (long)&sam9x60_config },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue