Commit e1abeb72 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre

ARM: at91/dt: at91sam9g45: 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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent e568d698
...@@ -632,40 +632,41 @@ ssc1: ssc@fffa0000 { ...@@ -632,40 +632,41 @@ ssc1: ssc@fffa0000 {
}; };
adc0: adc@fffb0000 { adc0: adc@fffb0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "atmel,at91sam9260-adc"; compatible = "atmel,at91sam9260-adc";
reg = <0xfffb0000 0x100>; reg = <0xfffb0000 0x100>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
atmel,adc-use-external-triggers; atmel,adc-use-external-triggers;
atmel,adc-channels-used = <0xff>; atmel,adc-channels-used = <0xff>;
atmel,adc-vref = <3300>; atmel,adc-vref = <3300>;
atmel,adc-num-channels = <8>;
atmel,adc-startup-time = <40>; atmel,adc-startup-time = <40>;
atmel,adc-channel-base = <0x30>;
atmel,adc-drdy-mask = <0x10000>;
atmel,adc-status-register = <0x1c>;
atmel,adc-trigger-register = <0x08>;
atmel,adc-res = <8 10>; atmel,adc-res = <8 10>;
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
atmel,adc-use-res = "highres"; atmel,adc-use-res = "highres";
trigger@0 { trigger@0 {
reg = <0>;
trigger-name = "external-rising"; trigger-name = "external-rising";
trigger-value = <0x1>; trigger-value = <0x1>;
trigger-external; trigger-external;
}; };
trigger@1 { trigger@1 {
reg = <1>;
trigger-name = "external-falling"; trigger-name = "external-falling";
trigger-value = <0x2>; trigger-value = <0x2>;
trigger-external; trigger-external;
}; };
trigger@2 { trigger@2 {
reg = <2>;
trigger-name = "external-any"; trigger-name = "external-any";
trigger-value = <0x3>; trigger-value = <0x3>;
trigger-external; trigger-external;
}; };
trigger@3 { trigger@3 {
reg = <3>;
trigger-name = "continuous"; trigger-name = "continuous";
trigger-value = <0x6>; trigger-value = <0x6>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment