diff --git a/boards/google/kukui/Kconfig.google_kukui b/boards/google/kukui/Kconfig.google_kukui deleted file mode 100644 index 51b960645ee..00000000000 --- a/boards/google/kukui/Kconfig.google_kukui +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2019 The Chromium OS Authors -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_GOOGLE_KUKUI - select SOC_STM32F098XX diff --git a/boards/google/kukui/board.cmake b/boards/google/kukui/board.cmake deleted file mode 100644 index 9881313609a..00000000000 --- a/boards/google/kukui/board.cmake +++ /dev/null @@ -1 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 diff --git a/boards/google/kukui/board.yml b/boards/google/kukui/board.yml deleted file mode 100644 index 699218ade22..00000000000 --- a/boards/google/kukui/board.yml +++ /dev/null @@ -1,5 +0,0 @@ -board: - name: google_kukui - vendor: google - socs: - - name: stm32f098xx diff --git a/boards/google/kukui/doc/index.rst b/boards/google/kukui/doc/index.rst deleted file mode 100644 index a68586f311f..00000000000 --- a/boards/google/kukui/doc/index.rst +++ /dev/null @@ -1,88 +0,0 @@ -.. _google_kukui_board: - -Google Kukui EC -############### - -Overview -******** - -Kukui is a reference board for Chromium OS-based devices Krane and -Kodama. These are known as the Lenovo Chromebook Duet and 10e Chromebook -Tablet, respectively. - -Zephyr has support for the STM32-based embedded controller (EC) on-board. - -Hardware -******** - -- STM32F098RCH6 -- MT6370 battery charger -- BMM150 compass -- BMM160 gyroscope -- Connections to the MediaTek AP - -Supported Features -================== - -The following features are supported: - -+-----------+------------+-------------------------------------+ -| Interface | Controller | Driver/Component | -+===========+============+=====================================+ -| NVIC | on-chip | nested vector interrupt controller | -+-----------+------------+-------------------------------------+ -| UART | on-chip | serial port-polling; | -| | | serial port-interrupt | -+-----------+------------+-------------------------------------+ -| PINMUX | on-chip | pinmux | -+-----------+------------+-------------------------------------+ -| GPIO | on-chip | gpio | -+-----------+------------+-------------------------------------+ -| CLOCK | on-chip | reset and clock control | -+-----------+------------+-------------------------------------+ -| FLASH | on-chip | flash memory | -+-----------+------------+-------------------------------------+ -| WATCHDOG | on-chip | independent watchdog | -+-----------+------------+-------------------------------------+ - -Other features (such as I2C) are not available in Zephyr. - -The default configuration can be found in -:zephyr_file:`boards/google/kukui/google_kukui_defconfig` - -Connections and IOs -=================== - -Each of the GPIO pins can be configured by software as output -(push-pull or open-drain), as input (with or without pull-up or -pull-down), or as peripheral alternate function. - -Default Zephyr Peripheral Mapping: ----------------------------------- - -- UART_1 TX/RX : PA10/PA9 -- I2C_1 SCL/SDA : PB8/PB9 -- I2C_2 SCL/SDA : PA11/PA12 -- Volume down : GPIOB pin 11 -- Volume up : GPIOB pin 10 -- Power : GPIOA pin 0 - -Programming and Debugging -************************* - -Build application as usual for the ``google_kukui`` board, and flash -using Servo V2, μServo, or Servo V4 (CCD). See the -`Chromium EC Flashing Documentation`_ for more information. - -Debugging -========= - -Use SWD with a J-Link or ST-Link. - -References -********** - -.. target-notes:: - -.. _Chromium EC Flashing Documentation: - https://chromium.googlesource.com/chromiumos/platform/ec#Flashing-via-the-servo-debug-board diff --git a/boards/google/kukui/google_kukui.dts b/boards/google/kukui/google_kukui.dts deleted file mode 100644 index cbebcc00c82..00000000000 --- a/boards/google/kukui/google_kukui.dts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2019 The Chromium OS Authors - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/dts-v1/; -#include -#include - -/ { - model = "Google Kukui EC"; - compatible = "google,kukui-ec", "st,stm32f098"; - - chosen { - zephyr,console = &usart1; - zephyr,shell-uart = &usart1; - zephyr,sram = &sram0; - zephyr,flash = &flash0; - }; -}; - -&clk_hsi { - status = "okay"; -}; - -&rcc { - clocks = <&clk_hsi>; - clock-frequency = ; - ahb-prescaler = <1>; - apb1-prescaler = <1>; -}; - -&usart1 { - pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; - pinctrl-names = "default"; - current-speed = <115200>; - status = "okay"; -}; - -&flash0 { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - /* Set 6Kb of storage at the end of the 256Kb of flash */ - storage_partition: partition@3e800 { - label = "storage"; - reg = <0x0003e800 DT_SIZE_K(6)>; - }; - }; -}; - -&i2c1 { - pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>; - pinctrl-names = "default"; - status = "okay"; - clock-frequency = ; -}; - -&i2c2 { - pinctrl-0 = <&i2c2_scl_pa11 &i2c2_sda_pa12>; - pinctrl-names = "default"; - status = "okay"; - clock-frequency = ; -}; diff --git a/boards/google/kukui/google_kukui.yaml b/boards/google/kukui/google_kukui.yaml deleted file mode 100644 index ad95d286cb2..00000000000 --- a/boards/google/kukui/google_kukui.yaml +++ /dev/null @@ -1,15 +0,0 @@ -identifier: google_kukui -name: Google Kukui EC -type: mcu -arch: arm -toolchain: - - zephyr - - gnuarmemb - - xtools -ram: 32 -flash: 256 -testing: - ignore_tags: - - net - - bluetooth -vendor: google diff --git a/boards/google/kukui/google_kukui_defconfig b/boards/google/kukui/google_kukui_defconfig deleted file mode 100644 index 0196b219b8f..00000000000 --- a/boards/google/kukui/google_kukui_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -# Serial Drivers -CONFIG_SERIAL=y -CONFIG_UART_INTERRUPT_DRIVEN=y - -# Enable console -CONFIG_CONSOLE=y -CONFIG_UART_CONSOLE=y - -# GPIO Controller -CONFIG_GPIO=y - -# Enable Clocks -CONFIG_CLOCK_CONTROL=y - -# enable pin controller -CONFIG_PINCTRL=y diff --git a/doc/releases/release-notes-4.0.rst b/doc/releases/release-notes-4.0.rst index 9ce47293b84..78c10fa47dd 100644 --- a/doc/releases/release-notes-4.0.rst +++ b/doc/releases/release-notes-4.0.rst @@ -100,6 +100,7 @@ Boards & SoC Support * :ref:`native_posix` has been deprecated in favour of :ref:`native_sim`. + * Support for Google Kukui EC board (``google_kukui``) has been dropped. * Added support for the following shields: diff --git a/samples/boards/google_kukui/CMakeLists.txt b/samples/boards/google_kukui/CMakeLists.txt deleted file mode 100644 index df1467634c6..00000000000 --- a/samples/boards/google_kukui/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.20.0) - -find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) -project(google_kukui) - -FILE(GLOB app_sources src/*.c) -target_sources(app PRIVATE ${app_sources}) diff --git a/samples/boards/google_kukui/README.rst b/samples/boards/google_kukui/README.rst deleted file mode 100644 index 444ad4a5eea..00000000000 --- a/samples/boards/google_kukui/README.rst +++ /dev/null @@ -1,33 +0,0 @@ -.. _google_kukui: - -Kukui general features -###################### - -Overview -******** - -This provides access to :ref:`Kukui ` through a serial shell -so you can try out the supported features, including I2C, GPIO and flash access. - -Building -******** - -The sample can be built as follows: - -.. zephyr-app-commands:: - :zephyr-app: samples/boards/google_kukui - :board: google_kukui - :goals: build - :compact: - -Sample Output -============= - -.. code-block:: console - - Welcome to Google Kukui - - uart:~$ (press tab) - clear flash gpio help history i2c resize shell - uart:~$ i2c read I2C_2 36 - 00000000: 82 00 00 ff 80 7f 00 ff 00 00 c1 0a c8 5b 0c 62 |........ .....[.b| diff --git a/samples/boards/google_kukui/prj.conf b/samples/boards/google_kukui/prj.conf deleted file mode 100644 index f6f8124f52b..00000000000 --- a/samples/boards/google_kukui/prj.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Enable all useful shell commands (i.e. those with driver support) -CONFIG_SHELL=y -CONFIG_SHELL_BACKENDS=y -CONFIG_SHELL_BACKEND_SERIAL=y -CONFIG_GPIO_SHELL=y -CONFIG_I2C_SHELL=y diff --git a/samples/boards/google_kukui/sample.yaml b/samples/boards/google_kukui/sample.yaml deleted file mode 100644 index 1d4d39a82e6..00000000000 --- a/samples/boards/google_kukui/sample.yaml +++ /dev/null @@ -1,6 +0,0 @@ -sample: - name: Kukui general features -tests: - sample.board.google_kukui: - platform_allow: google_kukui - tags: ec diff --git a/samples/boards/google_kukui/src/main.c b/samples/boards/google_kukui/src/main.c deleted file mode 100644 index 6717beb7268..00000000000 --- a/samples/boards/google_kukui/src/main.c +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include - -int main(void) -{ - printk("Welcome to Google Kukui\n"); - return 0; -}