-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: sdhc: Add overlay for SDHC driver on RA8
Add overlay to confirm SDHC driver on RA8 Signed-off-by: Phi Tran <[email protected]>
- Loading branch information
1 parent
e218cb3
commit 1280afe
Showing
36 changed files
with
423 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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc1 = &sdhc1; | ||
}; | ||
}; | ||
|
||
&sdhc1 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc1 = &sdhc1; | ||
}; | ||
}; | ||
|
||
&sdhc1 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
19 changes: 19 additions & 0 deletions
19
tests/drivers/disk/disk_performance/boards/ek_ra8d1.overlay
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc1 = &sdhc1; | ||
}; | ||
}; | ||
|
||
&sdhc1 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
19 changes: 19 additions & 0 deletions
19
tests/drivers/disk/disk_performance/boards/ek_ra8m1.overlay
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y |
19 changes: 19 additions & 0 deletions
19
tests/drivers/disk/disk_performance/boards/mck_ra8t1.overlay
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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,4 @@ | ||
CONFIG_DISK_DRIVERS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_FLASH=n |
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,27 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc1 = &sdhc1; | ||
}; | ||
}; | ||
|
||
&sdhc1 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
partition { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size_cells = <1>; | ||
slot1_partition: partition@0 { | ||
reg = <0x00000000 0x800000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,4 @@ | ||
CONFIG_DISK_DRIVERS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_FLASH=n |
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,27 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
partition { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size_cells = <1>; | ||
slot1_partition: partition@0 { | ||
reg = <0x00000000 0x800000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,4 @@ | ||
CONFIG_DISK_DRIVERS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_FLASH=n |
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,27 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
partition { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size_cells = <1>; | ||
slot1_partition: partition@0 { | ||
reg = <0x00000000 0x800000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,10 @@ | ||
CONFIG_DISK_ACCESS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_FAT_FILESYSTEM_ELM=y | ||
CONFIG_GPIO=y | ||
CONFIG_MAIN_STACK_SIZE=4096 | ||
CONFIG_LOG=y | ||
|
||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_DISK_DRIVER_FLASH=n | ||
CONFIG_FS_FATFS_HAS_RTC=n |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc1 = &sdhc1; | ||
}; | ||
}; | ||
|
||
&sdhc1 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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,10 @@ | ||
CONFIG_DISK_ACCESS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_FAT_FILESYSTEM_ELM=y | ||
CONFIG_GPIO=y | ||
CONFIG_MAIN_STACK_SIZE=4096 | ||
CONFIG_LOG=y | ||
|
||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_DISK_DRIVER_FLASH=n | ||
CONFIG_FS_FATFS_HAS_RTC=n |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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,10 @@ | ||
CONFIG_DISK_ACCESS=y | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_FAT_FILESYSTEM_ELM=y | ||
CONFIG_GPIO=y | ||
CONFIG_MAIN_STACK_SIZE=4096 | ||
CONFIG_LOG=y | ||
|
||
CONFIG_DISK_DRIVER_RAM=n | ||
CONFIG_DISK_DRIVER_FLASH=n | ||
CONFIG_FS_FATFS_HAS_RTC=n |
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,19 @@ | ||
/* | ||
* Copyright (c) 2024 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
sdhc0 = &sdhc0; | ||
}; | ||
}; | ||
|
||
&sdhc0 { | ||
status = "okay"; | ||
sdmmc { | ||
compatible = "zephyr,sdmmc-disk"; | ||
disk-name = "SD"; | ||
status = "okay"; | ||
}; | ||
}; |
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,2 @@ | ||
CONFIG_DISK_DRIVER_SDMMC=y | ||
CONFIG_DISK_ACCESS=y |
Oops, something went wrong.