Commit c94afa13 authored by Alexandre Belloni's avatar Alexandre Belloni

ARM: dts: at91: Fix ADC trigger nodes

The triggers don't need a reg property, remove it when prenset. Also remove
the unit-address from their name.

This solves:
Warning (unit_address_vs_reg): Node /ahb/apb/adc@fc034000/trigger@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@fc034000/trigger@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@fc034000/trigger@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@fc034000/trigger@3 has a unit name, but no reg property
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 3cf26566
...@@ -938,25 +938,21 @@ adc0: adc@fffe0000 { ...@@ -938,25 +938,21 @@ adc0: adc@fffe0000 {
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
atmel,adc-use-res = "highres"; atmel,adc-use-res = "highres";
trigger@0 { trigger0 {
reg = <0>;
trigger-name = "timer-counter-0"; trigger-name = "timer-counter-0";
trigger-value = <0x1>; trigger-value = <0x1>;
}; };
trigger@1 { trigger1 {
reg = <1>;
trigger-name = "timer-counter-1"; trigger-name = "timer-counter-1";
trigger-value = <0x3>; trigger-value = <0x3>;
}; };
trigger@2 { trigger2 {
reg = <2>;
trigger-name = "timer-counter-2"; trigger-name = "timer-counter-2";
trigger-value = <0x5>; trigger-value = <0x5>;
}; };
trigger@3 { trigger3 {
reg = <3>;
trigger-name = "external"; trigger-name = "external";
trigger-value = <0xd>; trigger-value = <0xd>;
trigger-external; trigger-external;
......
...@@ -1044,28 +1044,24 @@ adc0: adc@fffb0000 { ...@@ -1044,28 +1044,24 @@ adc0: adc@fffb0000 {
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
atmel,adc-use-res = "highres"; atmel,adc-use-res = "highres";
trigger@0 { trigger0 {
reg = <0>;
trigger-name = "external-rising"; trigger-name = "external-rising";
trigger-value = <0x1>; trigger-value = <0x1>;
trigger-external; trigger-external;
}; };
trigger@1 { trigger1 {
reg = <1>;
trigger-name = "external-falling"; trigger-name = "external-falling";
trigger-value = <0x2>; trigger-value = <0x2>;
trigger-external; trigger-external;
}; };
trigger@2 { trigger2 {
reg = <2>;
trigger-name = "external-any"; trigger-name = "external-any";
trigger-value = <0x3>; trigger-value = <0x3>;
trigger-external; trigger-external;
}; };
trigger@3 { trigger3 {
reg = <3>;
trigger-name = "continuous"; trigger-name = "continuous";
trigger-value = <0x6>; trigger-value = <0x6>;
}; };
......
...@@ -265,25 +265,21 @@ adc0: adc@fffd0000 { ...@@ -265,25 +265,21 @@ adc0: adc@fffd0000 {
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
atmel,adc-use-res = "highres"; atmel,adc-use-res = "highres";
trigger@0 { trigger0 {
reg = <0>;
trigger-name = "timer-counter-0"; trigger-name = "timer-counter-0";
trigger-value = <0x1>; trigger-value = <0x1>;
}; };
trigger@1 { trigger1 {
reg = <1>;
trigger-name = "timer-counter-1"; trigger-name = "timer-counter-1";
trigger-value = <0x3>; trigger-value = <0x3>;
}; };
trigger@2 { trigger2 {
reg = <2>;
trigger-name = "timer-counter-2"; trigger-name = "timer-counter-2";
trigger-value = <0x5>; trigger-value = <0x5>;
}; };
trigger@3 { trigger3 {
reg = <3>;
trigger-name = "external"; trigger-name = "external";
trigger-value = <0x13>; trigger-value = <0x13>;
trigger-external; trigger-external;
......
...@@ -1048,29 +1048,25 @@ adc0: adc@f804c000 { ...@@ -1048,29 +1048,25 @@ adc0: adc@f804c000 {
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
atmel,adc-use-res = "highres"; atmel,adc-use-res = "highres";
trigger@0 { trigger0 {
reg = <0>;
trigger-name = "external-rising"; trigger-name = "external-rising";
trigger-value = <0x1>; trigger-value = <0x1>;
trigger-external; trigger-external;
}; };
trigger@1 { trigger1 {
reg = <1>;
trigger-name = "external-falling"; trigger-name = "external-falling";
trigger-value = <0x2>; trigger-value = <0x2>;
trigger-external; trigger-external;
}; };
trigger@2 { trigger2 {
reg = <2>;
trigger-name = "external-any"; trigger-name = "external-any";
trigger-value = <0x3>; trigger-value = <0x3>;
trigger-external; trigger-external;
}; };
trigger@3 { trigger3 {
reg = <3>;
trigger-name = "continuous"; trigger-name = "continuous";
trigger-value = <0x6>; trigger-value = <0x6>;
}; };
......
...@@ -326,26 +326,22 @@ &pinctrl_adc0_ad11 ...@@ -326,26 +326,22 @@ &pinctrl_adc0_ad11
atmel,adc-res-names = "lowres", "highres"; atmel,adc-res-names = "lowres", "highres";
status = "disabled"; status = "disabled";
trigger@0 { trigger0 {
reg = <0>;
trigger-name = "external-rising"; trigger-name = "external-rising";
trigger-value = <0x1>; trigger-value = <0x1>;
trigger-external; trigger-external;
}; };
trigger@1 { trigger1 {
reg = <1>;
trigger-name = "external-falling"; trigger-name = "external-falling";
trigger-value = <0x2>; trigger-value = <0x2>;
trigger-external; trigger-external;
}; };
trigger@2 { trigger2 {
reg = <2>;
trigger-name = "external-any"; trigger-name = "external-any";
trigger-value = <0x3>; trigger-value = <0x3>;
trigger-external; trigger-external;
}; };
trigger@3 { trigger3 {
reg = <3>;
trigger-name = "continuous"; trigger-name = "continuous";
trigger-value = <0x6>; trigger-value = <0x6>;
}; };
......
...@@ -1226,22 +1226,22 @@ adc0: adc@fc034000 { ...@@ -1226,22 +1226,22 @@ adc0: adc@fc034000 {
atmel,adc-ts-pressure-threshold = <10000>; atmel,adc-ts-pressure-threshold = <10000>;
status = "disabled"; status = "disabled";
trigger@0 { trigger0 {
trigger-name = "external-rising"; trigger-name = "external-rising";
trigger-value = <0x1>; trigger-value = <0x1>;
trigger-external; trigger-external;
}; };
trigger@1 { trigger1 {
trigger-name = "external-falling"; trigger-name = "external-falling";
trigger-value = <0x2>; trigger-value = <0x2>;
trigger-external; trigger-external;
}; };
trigger@2 { trigger2 {
trigger-name = "external-any"; trigger-name = "external-any";
trigger-value = <0x3>; trigger-value = <0x3>;
trigger-external; trigger-external;
}; };
trigger@3 { trigger3 {
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