dts: Add Peripheral ID field to Atmel SAM drivers
Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
7e68430bcf
commit
39e1497f1d
6 changed files with 36 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E0800 0x124>;
|
reg = <0x400E0800 0x124>;
|
||||||
interrupts = <8 0>;
|
interrupts = <8 0>;
|
||||||
|
peripheral-id = <8>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_0";
|
label = "UART_0";
|
||||||
};
|
};
|
||||||
|
@ -41,6 +42,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x40098000 0x130>;
|
reg = <0x40098000 0x130>;
|
||||||
interrupts = <17 0>;
|
interrupts = <17 0>;
|
||||||
|
peripheral-id = <17>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_0";
|
label = "USART_0";
|
||||||
};
|
};
|
||||||
|
@ -49,6 +51,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x4009C000 0x130>;
|
reg = <0x4009C000 0x130>;
|
||||||
interrupts = <18 0>;
|
interrupts = <18 0>;
|
||||||
|
peripheral-id = <18>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_1";
|
label = "USART_1";
|
||||||
};
|
};
|
||||||
|
@ -57,6 +60,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x400A0000 0x130>;
|
reg = <0x400A0000 0x130>;
|
||||||
interrupts = <19 0>;
|
interrupts = <19 0>;
|
||||||
|
peripheral-id = <19>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_2";
|
label = "USART_2";
|
||||||
};
|
};
|
||||||
|
@ -65,6 +69,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x400A4000 0x130>;
|
reg = <0x400A4000 0x130>;
|
||||||
interrupts = <20 0>;
|
interrupts = <20 0>;
|
||||||
|
peripheral-id = <20>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_3";
|
label = "USART_3";
|
||||||
};
|
};
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E0600 0x200>;
|
reg = <0x400E0600 0x200>;
|
||||||
interrupts = <8 0>;
|
interrupts = <8 0>;
|
||||||
|
peripheral-id = <8>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_0";
|
label = "UART_0";
|
||||||
};
|
};
|
||||||
|
@ -41,6 +42,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E0800 0x200>;
|
reg = <0x400E0800 0x200>;
|
||||||
interrupts = <9 0>;
|
interrupts = <9 0>;
|
||||||
|
peripheral-id = <9>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_1";
|
label = "UART_1";
|
||||||
};
|
};
|
||||||
|
@ -49,6 +51,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x40024000 0x130>;
|
reg = <0x40024000 0x130>;
|
||||||
interrupts = <14 0>;
|
interrupts = <14 0>;
|
||||||
|
peripheral-id = <14>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_0";
|
label = "USART_0";
|
||||||
};
|
};
|
||||||
|
@ -57,6 +60,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x40028000 0x130>;
|
reg = <0x40028000 0x130>;
|
||||||
interrupts = <15 0>;
|
interrupts = <15 0>;
|
||||||
|
peripheral-id = <15>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_1";
|
label = "USART_1";
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E0800 0x100>;
|
reg = <0x400E0800 0x100>;
|
||||||
interrupts = <7 0>;
|
interrupts = <7 0>;
|
||||||
|
peripheral-id = <7>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_0";
|
label = "UART_0";
|
||||||
};
|
};
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E0A00 0x100>;
|
reg = <0x400E0A00 0x100>;
|
||||||
interrupts = <8 0>;
|
interrupts = <8 0>;
|
||||||
|
peripheral-id = <8>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_1";
|
label = "UART_1";
|
||||||
};
|
};
|
||||||
|
@ -51,6 +53,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E1A00 0x100>;
|
reg = <0x400E1A00 0x100>;
|
||||||
interrupts = <44 0>;
|
interrupts = <44 0>;
|
||||||
|
peripheral-id = <44>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_2";
|
label = "UART_2";
|
||||||
};
|
};
|
||||||
|
@ -59,6 +62,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E1C00 0x100>;
|
reg = <0x400E1C00 0x100>;
|
||||||
interrupts = <45 0>;
|
interrupts = <45 0>;
|
||||||
|
peripheral-id = <45>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_3";
|
label = "UART_3";
|
||||||
};
|
};
|
||||||
|
@ -67,6 +71,7 @@
|
||||||
compatible = "atmel,sam-uart";
|
compatible = "atmel,sam-uart";
|
||||||
reg = <0x400E1E00 0x100>;
|
reg = <0x400E1E00 0x100>;
|
||||||
interrupts = <46 0>;
|
interrupts = <46 0>;
|
||||||
|
peripheral-id = <46>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "UART_4";
|
label = "UART_4";
|
||||||
};
|
};
|
||||||
|
@ -75,6 +80,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x40024000 0x100>;
|
reg = <0x40024000 0x100>;
|
||||||
interrupts = <13 0>;
|
interrupts = <13 0>;
|
||||||
|
peripheral-id = <13>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_0";
|
label = "USART_0";
|
||||||
};
|
};
|
||||||
|
@ -83,6 +89,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x40028000 0x100>;
|
reg = <0x40028000 0x100>;
|
||||||
interrupts = <14 0>;
|
interrupts = <14 0>;
|
||||||
|
peripheral-id = <14>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_1";
|
label = "USART_1";
|
||||||
};
|
};
|
||||||
|
@ -91,6 +98,7 @@
|
||||||
compatible = "atmel,sam-usart";
|
compatible = "atmel,sam-usart";
|
||||||
reg = <0x4002C000 0x100>;
|
reg = <0x4002C000 0x100>;
|
||||||
interrupts = <15 0>;
|
interrupts = <15 0>;
|
||||||
|
peripheral-id = <15>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "USART_2";
|
label = "USART_2";
|
||||||
};
|
};
|
||||||
|
@ -99,6 +107,7 @@
|
||||||
compatible = "atmel,sam-afec";
|
compatible = "atmel,sam-afec";
|
||||||
reg = <0x4003C000 0x100>;
|
reg = <0x4003C000 0x100>;
|
||||||
interrupts = <29 0>;
|
interrupts = <29 0>;
|
||||||
|
peripheral-id = <29>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "ADC_0";
|
label = "ADC_0";
|
||||||
};
|
};
|
||||||
|
@ -107,6 +116,7 @@
|
||||||
compatible = "atmel,sam-afec";
|
compatible = "atmel,sam-afec";
|
||||||
reg = <0x40064000 0x100>;
|
reg = <0x40064000 0x100>;
|
||||||
interrupts = <40 0>;
|
interrupts = <40 0>;
|
||||||
|
peripheral-id = <40>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
label = "ADC_1";
|
label = "ADC_1";
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,4 +27,10 @@ properties:
|
||||||
category: required
|
category: required
|
||||||
description: required interrupts
|
description: required interrupts
|
||||||
generation: define
|
generation: define
|
||||||
|
|
||||||
|
- peripheral-id:
|
||||||
|
type: int
|
||||||
|
description: peripheral ID
|
||||||
|
generation: define
|
||||||
|
category: required
|
||||||
...
|
...
|
||||||
|
|
|
@ -27,4 +27,10 @@ properties:
|
||||||
category: required
|
category: required
|
||||||
description: required interrupts
|
description: required interrupts
|
||||||
generation: define
|
generation: define
|
||||||
|
|
||||||
|
- peripheral-id:
|
||||||
|
type: int
|
||||||
|
description: peripheral ID
|
||||||
|
generation: define
|
||||||
|
category: required
|
||||||
...
|
...
|
||||||
|
|
|
@ -28,4 +28,9 @@ properties:
|
||||||
description: required interrupts
|
description: required interrupts
|
||||||
generation: define
|
generation: define
|
||||||
|
|
||||||
|
- peripheral-id:
|
||||||
|
type: int
|
||||||
|
description: peripheral ID
|
||||||
|
generation: define
|
||||||
|
category: required
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue