Skip to content

Commit

Permalink
dts: ambiq: use macros to represent reg address/size
Browse files Browse the repository at this point in the history
Changed to use macros defined in HAL to represent reg
address/size in dtsi.

Signed-off-by: Hao Luo <[email protected]>
  • Loading branch information
AlessandroLuo committed Jan 9, 2025
1 parent bdb04db commit 2de01ce
Show file tree
Hide file tree
Showing 7 changed files with 435 additions and 432 deletions.
4 changes: 2 additions & 2 deletions boards/ambiq/apollo4p_evb/apollo4p_evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
status = "okay";
};

&iom0_i2c {
&i2c0 {
compatible = "ambiq,i2c";
pinctrl-0 = <&i2c0_default>;
pinctrl-names = "default";
Expand All @@ -105,7 +105,7 @@
status = "okay";
};

&iom1_spi {
&spi1 {
compatible = "ambiq,spi";
pinctrl-0 = <&spi1_default>;
pinctrl-names = "default";
Expand Down
2 changes: 1 addition & 1 deletion boards/ambiq/apollo4p_evb/apollo4p_evb_connector.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@
};
};

spi1: &iom1_spi {};
spi1: &spi1 {};
Loading

0 comments on commit 2de01ce

Please sign in to comment.