Adds support for the M5Stack Fire. Board files are adapted from those used for the M5Stack Core2. Aside from the 2 newest revisions the device also contains a BMM150 magnetometer which is not supported. The LED strips on the sides are also not supported because Zephyr does not support fast GPIO switching, see: #11917. The IP5306 charger works by itself but doesn't have a driver written for it thus it's not able to be interfaced with. Signed-off-by: Jakub Novák <jakubnovak.cz@outlook.cz>
31 lines
512 B
Plaintext
31 lines
512 B
Plaintext
/*
|
|
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include <espressif/esp32/esp32_appcpu.dtsi>
|
|
#include <espressif/partitions_0x1000_amp.dtsi>
|
|
|
|
/ {
|
|
model = "M5Stack Fire APPCPU";
|
|
compatible = "espressif,esp32";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram1;
|
|
zephyr,ipc_shm = &shm0;
|
|
zephyr,ipc = &ipm0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,code-partition = &slot0_appcpu_partition;
|
|
};
|
|
};
|
|
|
|
&ipm0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&trng0 {
|
|
status = "okay";
|
|
};
|