diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2013-03-29 05:13:19 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-04-04 11:44:49 -0400 |
commit | 4b50da658e603ca122a7834b3b14118053b40008 (patch) | |
tree | c4f0adf8465068db090bb015a18d985ee523161c /arch/arm | |
parent | 0d67c9e81351a2269f3ae0e8072cb1d463bf5bc6 (diff) |
ARM: at91: dts: add adc resolution stuff
Add the ADC low and high resolution configuration and which one to use.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/at91sam9260.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/at91sam9x5.dtsi | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi index cb7bcc51608d..367a6045ed48 100644 --- a/arch/arm/boot/dts/at91sam9260.dtsi +++ b/arch/arm/boot/dts/at91sam9260.dtsi | |||
@@ -484,6 +484,9 @@ | |||
484 | atmel,adc-drdy-mask = <0x10000>; | 484 | atmel,adc-drdy-mask = <0x10000>; |
485 | atmel,adc-status-register = <0x1c>; | 485 | atmel,adc-status-register = <0x1c>; |
486 | atmel,adc-trigger-register = <0x04>; | 486 | atmel,adc-trigger-register = <0x04>; |
487 | atmel,adc-res = <8 10>; | ||
488 | atmel,adc-res-names = "lowres", "highres"; | ||
489 | atmel,adc-use-res = "highres"; | ||
487 | 490 | ||
488 | trigger@0 { | 491 | trigger@0 { |
489 | trigger-name = "timer-counter-0"; | 492 | trigger-name = "timer-counter-0"; |
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 6b1d4cab24c2..0fa28af229ed 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi | |||
@@ -484,6 +484,9 @@ | |||
484 | atmel,adc-drdy-mask = <0x10000>; | 484 | atmel,adc-drdy-mask = <0x10000>; |
485 | atmel,adc-status-register = <0x1c>; | 485 | atmel,adc-status-register = <0x1c>; |
486 | atmel,adc-trigger-register = <0x08>; | 486 | atmel,adc-trigger-register = <0x08>; |
487 | atmel,adc-res = <8 10>; | ||
488 | atmel,adc-res-names = "lowres", "highres"; | ||
489 | atmel,adc-use-res = "highres"; | ||
487 | 490 | ||
488 | trigger@0 { | 491 | trigger@0 { |
489 | trigger-name = "external-rising"; | 492 | trigger-name = "external-rising"; |
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 7a32a3f700e1..a3d4464895a0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi | |||
@@ -535,6 +535,9 @@ | |||
535 | atmel,adc-drdy-mask = <0x1000000>; | 535 | atmel,adc-drdy-mask = <0x1000000>; |
536 | atmel,adc-status-register = <0x30>; | 536 | atmel,adc-status-register = <0x30>; |
537 | atmel,adc-trigger-register = <0xc0>; | 537 | atmel,adc-trigger-register = <0xc0>; |
538 | atmel,adc-res = <8 10>; | ||
539 | atmel,adc-res-names = "lowres", "highres"; | ||
540 | atmel,adc-use-res = "highres"; | ||
538 | 541 | ||
539 | trigger@0 { | 542 | trigger@0 { |
540 | trigger-name = "external-rising"; | 543 | trigger-name = "external-rising"; |