dts: Add Peripheral ID field to Atmel SAM drivers

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
Piotr Mienkowski 2017-10-15 15:27:47 +02:00 committed by Kumar Gala
commit 39e1497f1d
6 changed files with 36 additions and 0 deletions

View file

@ -33,6 +33,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E0800 0x124>;
interrupts = <8 0>;
peripheral-id = <8>;
status = "disabled";
label = "UART_0";
};
@ -41,6 +42,7 @@
compatible = "atmel,sam-usart";
reg = <0x40098000 0x130>;
interrupts = <17 0>;
peripheral-id = <17>;
status = "disabled";
label = "USART_0";
};
@ -49,6 +51,7 @@
compatible = "atmel,sam-usart";
reg = <0x4009C000 0x130>;
interrupts = <18 0>;
peripheral-id = <18>;
status = "disabled";
label = "USART_1";
};
@ -57,6 +60,7 @@
compatible = "atmel,sam-usart";
reg = <0x400A0000 0x130>;
interrupts = <19 0>;
peripheral-id = <19>;
status = "disabled";
label = "USART_2";
};
@ -65,6 +69,7 @@
compatible = "atmel,sam-usart";
reg = <0x400A4000 0x130>;
interrupts = <20 0>;
peripheral-id = <20>;
status = "disabled";
label = "USART_3";
};

View file

@ -33,6 +33,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E0600 0x200>;
interrupts = <8 0>;
peripheral-id = <8>;
status = "disabled";
label = "UART_0";
};
@ -41,6 +42,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E0800 0x200>;
interrupts = <9 0>;
peripheral-id = <9>;
status = "disabled";
label = "UART_1";
};
@ -49,6 +51,7 @@
compatible = "atmel,sam-usart";
reg = <0x40024000 0x130>;
interrupts = <14 0>;
peripheral-id = <14>;
status = "disabled";
label = "USART_0";
};
@ -57,6 +60,7 @@
compatible = "atmel,sam-usart";
reg = <0x40028000 0x130>;
interrupts = <15 0>;
peripheral-id = <15>;
status = "disabled";
label = "USART_1";
};

View file

@ -35,6 +35,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E0800 0x100>;
interrupts = <7 0>;
peripheral-id = <7>;
status = "disabled";
label = "UART_0";
};
@ -43,6 +44,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E0A00 0x100>;
interrupts = <8 0>;
peripheral-id = <8>;
status = "disabled";
label = "UART_1";
};
@ -51,6 +53,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E1A00 0x100>;
interrupts = <44 0>;
peripheral-id = <44>;
status = "disabled";
label = "UART_2";
};
@ -59,6 +62,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E1C00 0x100>;
interrupts = <45 0>;
peripheral-id = <45>;
status = "disabled";
label = "UART_3";
};
@ -67,6 +71,7 @@
compatible = "atmel,sam-uart";
reg = <0x400E1E00 0x100>;
interrupts = <46 0>;
peripheral-id = <46>;
status = "disabled";
label = "UART_4";
};
@ -75,6 +80,7 @@
compatible = "atmel,sam-usart";
reg = <0x40024000 0x100>;
interrupts = <13 0>;
peripheral-id = <13>;
status = "disabled";
label = "USART_0";
};
@ -83,6 +89,7 @@
compatible = "atmel,sam-usart";
reg = <0x40028000 0x100>;
interrupts = <14 0>;
peripheral-id = <14>;
status = "disabled";
label = "USART_1";
};
@ -91,6 +98,7 @@
compatible = "atmel,sam-usart";
reg = <0x4002C000 0x100>;
interrupts = <15 0>;
peripheral-id = <15>;
status = "disabled";
label = "USART_2";
};
@ -99,6 +107,7 @@
compatible = "atmel,sam-afec";
reg = <0x4003C000 0x100>;
interrupts = <29 0>;
peripheral-id = <29>;
status = "disabled";
label = "ADC_0";
};
@ -107,6 +116,7 @@
compatible = "atmel,sam-afec";
reg = <0x40064000 0x100>;
interrupts = <40 0>;
peripheral-id = <40>;
status = "disabled";
label = "ADC_1";
};

View file

@ -27,4 +27,10 @@ properties:
category: required
description: required interrupts
generation: define
- peripheral-id:
type: int
description: peripheral ID
generation: define
category: required
...

View file

@ -27,4 +27,10 @@ properties:
category: required
description: required interrupts
generation: define
- peripheral-id:
type: int
description: peripheral ID
generation: define
category: required
...

View file

@ -28,4 +28,9 @@ properties:
description: required interrupts
generation: define
- peripheral-id:
type: int
description: peripheral ID
generation: define
category: required
...