@@ -16,10 +16,15 @@ allOf:
properties:
compatible:
contains:
- enum:
- - atmel,sama5d4-i2c
- - atmel,sama5d2-i2c
- - microchip,sam9x60-i2c
+ oneOf:
+ - items:
+ - enum:
+ - atmel,sama5d4-i2c
+ - atmel,sama5d2-i2c
+ - microchip,sam9x60-i2c
+ - items:
+ - const: microchip,sama7g5-i2c
+ - const: microchip,sam9x60-i2c
then:
properties:
i2c-sda-hold-time-ns:
@@ -29,16 +34,21 @@ allOf:
properties:
compatible:
- enum:
- - atmel,at91rm9200-i2c
- - atmel,at91sam9261-i2c
- - atmel,at91sam9260-i2c
- - atmel,at91sam9g20-i2c
- - atmel,at91sam9g10-i2c
- - atmel,at91sam9x5-i2c
- - atmel,sama5d4-i2c
- - atmel,sama5d2-i2c
- - microchip,sam9x60-i2c
+ oneOf:
+ - items:
+ - enum:
+ - atmel,at91rm9200-i2c
+ - atmel,at91sam9261-i2c
+ - atmel,at91sam9260-i2c
+ - atmel,at91sam9g20-i2c
+ - atmel,at91sam9g10-i2c
+ - atmel,at91sam9x5-i2c
+ - atmel,sama5d4-i2c
+ - atmel,sama5d2-i2c
+ - microchip,sam9x60-i2c
+ - items:
+ - const: microchip,sama7g5-i2c
+ - const: microchip,sam9x60-i2c
reg:
maxItems: 1
Add compatible strings list for SAMA7G5. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com> --- .../bindings/i2c/atmel,at91sam-i2c.yaml | 38 ++++++++++++------- 1 file changed, 24 insertions(+), 14 deletions(-)