Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: at91/dt: at91sam9260: remove useless adc properties

Remove the properties that are not used anymore by the at91_adc driver.

Also, add #address-cells, #size-cells and a reg for each trigger to comply to
the ePAPR.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

authored by

Alexandre Belloni and committed by
Nicolas Ferre
e568d698 e33b49c7

+6 -5
+6 -5
arch/arm/boot/dts/at91sam9260.dtsi
··· 608 608 }; 609 609 610 610 adc0: adc@fffe0000 { 611 + #address-cells = <1>; 612 + #size-cells = <0>; 611 613 compatible = "atmel,at91sam9260-adc"; 612 614 reg = <0xfffe0000 0x100>; 613 615 interrupts = <5 IRQ_TYPE_LEVEL_HIGH 0>; 614 616 atmel,adc-use-external-triggers; 615 617 atmel,adc-channels-used = <0xf>; 616 618 atmel,adc-vref = <3300>; 617 - atmel,adc-num-channels = <4>; 618 619 atmel,adc-startup-time = <15>; 619 - atmel,adc-channel-base = <0x30>; 620 - atmel,adc-drdy-mask = <0x10000>; 621 - atmel,adc-status-register = <0x1c>; 622 - atmel,adc-trigger-register = <0x04>; 623 620 atmel,adc-res = <8 10>; 624 621 atmel,adc-res-names = "lowres", "highres"; 625 622 atmel,adc-use-res = "highres"; 626 623 627 624 trigger@0 { 625 + reg = <0>; 628 626 trigger-name = "timer-counter-0"; 629 627 trigger-value = <0x1>; 630 628 }; 631 629 trigger@1 { 630 + reg = <1>; 632 631 trigger-name = "timer-counter-1"; 633 632 trigger-value = <0x3>; 634 633 }; 635 634 636 635 trigger@2 { 636 + reg = <2>; 637 637 trigger-name = "timer-counter-2"; 638 638 trigger-value = <0x5>; 639 639 }; 640 640 641 641 trigger@3 { 642 + reg = <3>; 642 643 trigger-name = "external"; 643 644 trigger-value = <0x13>; 644 645 trigger-external;