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:
Andrej Butok 2024-06-04 15:47:48 +02:00 committed by Anas Nashif
commit 26d56eb0a5
3 changed files with 14 additions and 2 deletions

View file

@ -26,7 +26,7 @@ MCUs.
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))
- Dual role USB interface with micro-B USB connector
- RGB LED

View file

@ -1,12 +1,13 @@
/*
* Copyright (c) 2018 Prevas A/S
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_k2x.dtsi>
#include <nxp/nxp_k22fn512.dtsi>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "frdm_k22f-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>