This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions[bot]
committed
Jun 20, 2023
1 parent
6a57dfc
commit 7af2158
Showing
7 changed files
with
101 additions
and
8 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
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
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,49 @@ | ||
/* | ||
* Copyright (c) 2023 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&spi3 { | ||
compatible = "nordic,nrf-spim"; | ||
status = "okay"; | ||
cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>, /* D10 */ | ||
<&gpio0 20 GPIO_ACTIVE_LOW>; | ||
|
||
|
||
gd25lb256: gd25lb256e3ir@1 { | ||
compatible = "jedec,spi-nor"; | ||
status = "disabled"; | ||
reg = <1>; | ||
spi-max-frequency = <60000000>; | ||
jedec-id = [c8 67 19]; | ||
sfdp-bfp = [ | ||
e5 20 ea ff ff ff ff 0f 44 eb 08 6b 00 3b 00 bb | ||
fe ff ff ff ff ff 00 ff ff ff 44 eb 0c 20 0f 52 | ||
10 d8 00 ff d5 31 b1 fe 82 e4 14 4c ec 60 06 33 | ||
7a 75 7a 75 04 bd d5 5c 29 06 74 00 08 50 00 01 | ||
]; | ||
size = <268435456>; | ||
has-dpd; | ||
t-enter-dpd = <3000>; | ||
t-exit-dpd = <30000>; | ||
}; | ||
}; | ||
|
||
/* Enable high drive mode for the SPI3 pins to get a square signal at 8 MHz */ | ||
&spi3_default { | ||
group1 { | ||
nordic,drive-mode = <NRF_DRIVE_H0H1>; | ||
}; | ||
}; | ||
|
||
/ { | ||
aliases { | ||
ext-flash = &gd25lb256; | ||
}; | ||
|
||
/* Configure partition manager to use gd25lb256 as the external flash */ | ||
chosen { | ||
nordic,pm-ext-flash = &gd25lb256; | ||
}; | ||
}; |
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) 2022 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/* Use high drive mode on SPI pins that handle communication with nRF7002 | ||
* so that SCK frequency > 4 MHz can be used. */ | ||
&spi3_default { | ||
group1 { | ||
nordic,drive-mode = <NRF_DRIVE_H0H1>; | ||
}; | ||
}; | ||
|
||
/* Disabled because of conflicts on P0.00 and P0.01 - Arduino pins D0 and D1 | ||
* (iovdd-ctrl-gpios and bucken-gpios in nrf7002ek, respectively). */ | ||
&uart1 { | ||
status = "disabled"; | ||
}; |
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
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 @@ | ||
mcuboot_secondary: | ||
region: external_flash | ||
address: 0x0 | ||
size: 0xD0000 |
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