Commit ec50b184 authored by Mulin Chao's avatar Mulin Chao Committed by Ioannis Glaropoulos
Browse files

soc: arm: Add Nuvoton NPCX7M6FB SoC



Initial support for Nuvoton NPCX7M6FB SoC of NPCX series which is a chip
family of embedded controllers (EC) and targeted for a wide range of
portable applications. We implemented the SoC skeleton in
soc/arm/nuvoton_npcx since there're many chip families in Nuvoton and
aim to different markets such as PC, General MCU, and Audio. The
architectures and hardware modules are different between them. Hence, we
suggest using the company name plus with chip series for better
understanding.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent 236759b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
/soc/arm/nxp*/                            @MaureenHelm
/soc/arm/nordic_nrf/                      @ioannisg
/soc/arm/nuvoton/                         @ssekar15
/soc/arm/nuvoton_npcx/                    @MulinChao
/soc/arm/qemu_cortex_a53/                 @carlocaione
/soc/arm/silabs_exx32/efr32mg21/          @l-alfred
/soc/arm/st_stm32/                        @erwango
+34 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020 Nuvoton Technology Corporation.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <arm/armv7-m.dtsi>

/ {
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;

		cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-m4f";
			reg = <0>;
		};
	};

	flash0: flash@10090000 {
		reg = <0x10090000 0x30000>;
	};

	sram0: memory@200c0000 {
		compatible = "mmio-sram";
		reg = <0x200C0000 0x10000>;
	};
};

&nvic {
	arm,num-irq-priority-bits = <3>;
};
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(common)
add_subdirectory(${SOC_SERIES})
+17 −0
Original line number Diff line number Diff line
# Nuvoton Cortex-M4 Embedded Controller

# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0

config SOC_FAMILY_NPCX
	bool

if SOC_FAMILY_NPCX
config SOC_FAMILY
	string
	default "nuvoton_npcx"

# Select SoC Part No. and configuration options
source "soc/arm/nuvoton_npcx/*/Kconfig.soc"

endif # SOC_FAMILY_NPCX
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0

source "soc/arm/nuvoton_npcx/*/Kconfig.defconfig.series"
Loading