Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards: up_squared_pro_7000: Add new board definition #65019

Merged
merged 6 commits into from Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion boards/x86/index.rst
Expand Up @@ -7,4 +7,4 @@ x86 Boards
:maxdepth: 1
:glob:

**/index
[!common]*/**/*
6 changes: 6 additions & 0 deletions boards/x86/intel_adl/Kconfig.board
Expand Up @@ -12,3 +12,9 @@ config BOARD_INTEL_ADL_RVP
depends on SOC_ALDER_LAKE
select X86_64
select HAS_COVERAGE_SUPPORT

config BOARD_UP_SQUARED_PRO_7000
bool "UP SQUARED PRO 7000 board"
depends on SOC_ALDER_LAKE
select X86_64
select HAS_COVERAGE_SUPPORT
5 changes: 3 additions & 2 deletions boards/x86/intel_adl/Kconfig.defconfig
@@ -1,11 +1,12 @@
# Copyright (c) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

if BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP
if BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP || BOARD_UP_SQUARED_PRO_7000

config BOARD
default "intel_adl_crb" if BOARD_INTEL_ADL_CRB
default "intel_adl_rvp" if BOARD_INTEL_ADL_RVP
default "up_squared_pro_7000" if BOARD_UP_SQUARED_PRO_7000

config BUILD_OUTPUT_STRIPPED
default y
Expand Down Expand Up @@ -45,4 +46,4 @@ config SHELL_STACK_SIZE
endif # SHELL
endif # ACPI

endif # BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP
endif # BOARD_INTEL_ADL_CRB || BOARD_INTEL_ADL_RVP || BOARD_UP_SQUARED_PRO_7000
67 changes: 67 additions & 0 deletions boards/x86/intel_adl/doc/up_squared_pro_7000.rst
@@ -0,0 +1,67 @@
:orphan:

.. _up_squared_pro_7000_board:

UP SQUARED PRO 7000 board
#########################

Overview
********

UP Squared Pro 7000 is the 3rd generation of palm-sized developer board of
UP Boards series. UP Squared Pro 7000 is powered by Intel Alder Lake N
(Intel N-series Platform).

For more information about Intel N-series Platform please refer to
:ref:`intel_adl_n`.

This board configuration enables kernel support for the UP Squared Pro 7000 boards.

Hardware
********

General information about the board can be found at the `UP_SQUARED_PRO_7000`_ website.

Connections and IOs
===================

Refer to the `UP_SQUARED_PRO_7000`_ website for more information.

Programming and Debugging
*************************
Use the following procedures for booting an image for an UP SQUARED PRO 7000 board.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know if that matters on doc generation, but an empty line before might be missing

Copy link
Collaborator Author

@finikorg finikorg Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be OK, https://builds.zephyrproject.io/zephyr/pr/65019/docs/boards/x86/intel_adl/doc/up_squared_pro_7000.html
I'll check probably add empty line like in other places.


.. contents::
:depth: 1
:local:
:backlinks: top

Build Zephyr application
========================

#. Build a Zephyr application; for instance, to build the ``hello_world``
application for UP SQUARED PRO 7000 board:

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: up_squared_pro_7000
:goals: build

.. note::

A Zephyr EFI image file named :file:`zephyr.efi` is automatically
created in the build directory after the application is built.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps a console wiring paragraph would be nice (CN14, CN15, CN16: which one needs to be used for the serial output?)

Booting the UP Squared Pro 7000 Board using UEFI
================================================

.. include:: ../../common/efi_boot.rst
:start-after: start_include_here

Booting the UP Squared Pro 7000 Board over network
==================================================

.. include:: ../../common/net_boot.rst
:start-after: start_include_here

.. _UP_SQUARED_PRO_7000: https://up-board.org/up-squared-pro-7000/
21 changes: 21 additions & 0 deletions boards/x86/intel_adl/up_squared_pro_7000.dts
@@ -0,0 +1,21 @@
/*
* Copyright (c) 2023 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "intel_adl.dts"

/ {
model = "UP Squared Pro 7000 board";
compatible = "aaeon,up_squared_pro_7000";

chosen {
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
};
};

&uart1 {
status = "okay";
};
17 changes: 17 additions & 0 deletions boards/x86/intel_adl/up_squared_pro_7000.yaml
@@ -0,0 +1,17 @@
identifier: up_squared_pro_7000
name: UP SQUARED PRO 7000 board
type: mcu
arch: x86
toolchain:
- zephyr
ram: 2048
supported:
- acpi
- smp
- watchdog
testing:
timeout_multiplier: 4
ignore_tags:
- net
- bluetooth
vendor: UP
15 changes: 15 additions & 0 deletions boards/x86/intel_adl/up_squared_pro_7000_defconfig
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ALDER_LAKE=y
CONFIG_BOARD_UP_SQUARED_PRO_7000=y
CONFIG_PIC_DISABLE=y
CONFIG_LOAPIC=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_NS16550=y
CONFIG_UART_CONSOLE=y
CONFIG_X2APIC=y
CONFIG_SMP=y
CONFIG_BUILD_OUTPUT_EFI=y
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_UART_NS16550_PARENT_INIT_LEVEL=y
2 changes: 1 addition & 1 deletion boards/x86/up_squared/up_squared.dts
Expand Up @@ -14,7 +14,7 @@

/ {
model = "up_squared";
compatible = "up_board,up_squared";
compatible = "aaeon,up_squared";

aliases {
i2c-0 = &i2c0;
Expand Down
1 change: 1 addition & 0 deletions dts/bindings/vendor-prefixes.txt
Expand Up @@ -10,6 +10,7 @@
#
# <vendor-prefix><TAB><Full name of vendor>

aaeon AAEON Technology Inc.
abb ABB
abilis Abilis Systems
abracon Abracon Corporation
Expand Down
9 changes: 9 additions & 0 deletions samples/drivers/watchdog/boards/up_squared_pro_7000.overlay
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2023 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

&tco_wdt {
status = "okay";
};
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2023 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

&tco_wdt {
status = "okay";
};