boards: ambiq: add adc to apollo3 and 3 plus boards
Add adc to apollo3 and 3 plus boards Signed-off-by: BH Li <bli@ambiq.com>
This commit is contained in:
parent
41381fa707
commit
9384e48f8a
6 changed files with 30 additions and 0 deletions
|
@ -96,6 +96,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc0_default: adc0_default{
|
||||
group1 {
|
||||
pinmux = <ADCSE4_P32>, <ADCSE7_P35>;
|
||||
drive-strength = "0.1";
|
||||
};
|
||||
};
|
||||
|
||||
mspi0_default: mspi0_default{
|
||||
group1 {
|
||||
pinmux = <MSPI0_0_P22>,
|
||||
|
|
|
@ -151,6 +151,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
compatible = "ambiq,adc";
|
||||
pinctrl-0 = <&adc0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&gpio0_31 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@ toolchain:
|
|||
- gnuarmemb
|
||||
supported:
|
||||
- uart
|
||||
- adc
|
||||
- watchdog
|
||||
- counter
|
||||
- gpio
|
||||
|
|
|
@ -96,6 +96,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
adc0_default: adc0_default{
|
||||
group1 {
|
||||
pinmux = <ADCSE4_P32>, <ADCSE7_P35>;
|
||||
drive-strength = "0.1";
|
||||
};
|
||||
};
|
||||
|
||||
mspi0_default: mspi0_default{
|
||||
group1 {
|
||||
pinmux = <MSPI0_0_P22>,
|
||||
|
|
|
@ -151,6 +151,13 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
compatible = "ambiq,adc";
|
||||
pinctrl-0 = <&adc0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&gpio0_31 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@ toolchain:
|
|||
- gnuarmemb
|
||||
supported:
|
||||
- uart
|
||||
- adc
|
||||
- watchdog
|
||||
- counter
|
||||
- gpio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue