Introduce dtsi files representing the current portfolio of chips and modules based on the followint criteria: - flash size - psram size - gpio count - certification status Update the boards dts files according to which SOC/SIP they are using. Signed-off-by: Marek Matej <marek.matej@espressif.com>
29 lines
508 B
Text
29 lines
508 B
Text
/*
|
|
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "esp32_common.dtsi"
|
|
|
|
/* Reserved GPIO pins */
|
|
&gpio0 {
|
|
gpio-reserved-ranges = <20>, <24>, <28 31>;
|
|
gpio-reserved-ranges = <6 11>,<16 17>, // flash&psram
|
|
<20>,<24>,<28 31>; // NC
|
|
};
|
|
|
|
&gpio1 {
|
|
gpio-reserved-ranges = <6>,<7>; // GPIO37-38 NC
|
|
};
|
|
|
|
/* 8MB flash */
|
|
&flash0 {
|
|
reg = <0x0 DT_SIZE_M(8)>;
|
|
};
|
|
|
|
/* 8MB flash */
|
|
&psram0 {
|
|
reg = <0x3f800000 DT_SIZE_M(8)>;
|
|
status = "okay";
|
|
};
|