soc: esp32c3: fix cpu vendor name

Build shows warning due to incompatible
CPU vendor name. This fixes it and applies
necessary changes in files.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2022-01-17 23:32:24 -03:00 committed by Anas Nashif
parent 16f9674049
commit eec068b8a5
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#include <dt-bindings/clock/esp32s2_clock.h>
#include "esp32s2/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C3
#define DT_CPU_COMPAT esp_riscv
#define DT_CPU_COMPAT espressif_riscv
#include <dt-bindings/clock/esp32c3_clock.h>
#include "esp32c3/rom/rtc.h"
#include <soc/soc_caps.h>

View File

@ -3,7 +3,7 @@
description: Espressif RISC-V CPU
compatible: "esp,riscv"
compatible: "espressif,riscv"
include: cpu.yaml

View File

@ -24,7 +24,7 @@
cpu0: cpu@0 {
device_type = "cpu";
compatible = "esp,riscv";
compatible = "espressif,riscv";
reg = <0>;
};
};