-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: i2s: output: Adds nucleo_f401re support
Adds support for the STMicroelectronics Nucleo F401RE development board. Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
- Loading branch information
1 parent
0a79085
commit 8c9c638
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright 2024 Cirrus Logic, Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
i2s-tx = &i2s_tx; | ||
}; | ||
}; | ||
|
||
|
||
&dma1 { | ||
status = "okay"; | ||
}; | ||
|
||
&clk_hsi { | ||
status = "okay"; | ||
}; | ||
|
||
&pll { | ||
div-m = <16>; | ||
mul-n = <336>; | ||
div-p = <4>; | ||
div-q = <7>; | ||
clocks = <&clk_hsi>; | ||
status = "okay"; | ||
}; | ||
|
||
&plli2s { | ||
mul-n = <271>; | ||
div-r = <6>; | ||
status = "okay"; | ||
}; | ||
|
||
&rcc { | ||
clocks = <&pll>; | ||
clock-frequency = <DT_FREQ_M(84)>; | ||
ahb-prescaler = <1>; | ||
apb1-prescaler = <2>; | ||
apb2-prescaler = <1>; | ||
}; | ||
|
||
i2s_tx: &i2s3 { | ||
pinctrl-0 = <&i2s3_ck_pb3 &i2s3_sd_pb5 &i2s3_ws_pa4 &i2s3_mck_pc7>; | ||
pinctrl-names = "default"; | ||
mck-enabled; | ||
status = "okay"; | ||
}; | ||
|