boards: nxp: frdm_k22f: fix the flash size value
- The MK22FN512VLH12 chip, installed on frdm_k22f, has 512 KB of Program Flash and 128KB SRAM according to the K22P121M120SF7RM.pdf manual (page 55). - Fix the flash size to 512KB (was 1MB). - Add nxp_k22fn512.dtsi with correct flash size value. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
parent
459517badc
commit
26d56eb0a5
3 changed files with 14 additions and 2 deletions
|
@ -26,7 +26,7 @@ MCUs.
|
||||||
Hardware
|
Hardware
|
||||||
********
|
********
|
||||||
|
|
||||||
- MK22FN512VLH12 (120 MHz, 1 MB flash memory, 256 KB RAM, low-power,
|
- MK22FN512VLH12 (120 MHz, 512 KB flash memory, 128 KB RAM, low-power,
|
||||||
crystal-less USB, and 64 pin Low profile Quad Flat Package (LQFP))
|
crystal-less USB, and 64 pin Low profile Quad Flat Package (LQFP))
|
||||||
- Dual role USB interface with micro-B USB connector
|
- Dual role USB interface with micro-B USB connector
|
||||||
- RGB LED
|
- RGB LED
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 Prevas A/S
|
* Copyright (c) 2018 Prevas A/S
|
||||||
|
* Copyright 2024 NXP
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include <nxp/nxp_k2x.dtsi>
|
#include <nxp/nxp_k22fn512.dtsi>
|
||||||
#include <zephyr/dt-bindings/pwm/pwm.h>
|
#include <zephyr/dt-bindings/pwm/pwm.h>
|
||||||
#include "frdm_k22f-pinctrl.dtsi"
|
#include "frdm_k22f-pinctrl.dtsi"
|
||||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||||
|
|
11
dts/arm/nxp/nxp_k22fn512.dtsi
Normal file
11
dts/arm/nxp/nxp_k22fn512.dtsi
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2024 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nxp/nxp_k2x.dtsi>
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
reg = <0 DT_SIZE_K(512)>;
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue