boards: Fix variants and revisions

Fixes revisions and variants which do not have the soc name in
the filenames

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-03-01 12:45:13 +00:00
committed by Carles Cufi
parent 196cfda66d
commit 651a4370ad
22 changed files with 4 additions and 165 deletions

View File

@@ -6,7 +6,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "reel_board_2-pinctrl.dtsi"
#include "reel_board_nrf52840_2-pinctrl.dtsi"
/ {
model = "reel board v2";

View File

@@ -1,56 +0,0 @@
/*
* Copyright (c) 2021 Seagate Technology LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
model = "Seagate Legend 2.5 HDD board";
compatible = "legend25_hdd", "seagate,legend25_hdd";
aliases {
pwm-led0 = &pwm_led0;
led-strip = &led_strip_spi;
};
led_pwm: pwmleds {
compatible = "pwm-leds";
label = "LED PWM";
pwm_led0: pwm_led_0 {
label = "Activity LED";
pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
};
};
};
&clk_hsi {
status = "okay";
};
&pll {
clocks = <&clk_hsi>;
prediv = <1>;
mul = <6>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(48)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
};
&led_strip_spi {
chain-length = <6>;
status = "okay";
};
&timers3 {
status = "okay";
};
&pwm3 {
status = "okay";
};

View File

@@ -1,42 +0,0 @@
/*
* Copyright (c) 2021 Seagate Technology LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
model = "Seagate Legend 2.5 SSD board";
compatible = "legend25_ssd", "seagate,legend25_ssd";
aliases {
led-strip = &led_strip_spi;
};
};
&clk_hse {
clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
status = "okay";
};
&pll {
clocks = <&clk_hse>;
prediv = <1>;
mul = <2>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(48)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
};
&led_strip_spi {
chain-length = <4>;
status = "okay";
};
&usb {
status = "okay";
};

View File

@@ -1,62 +0,0 @@
/*
* Copyright (c) 2021 Seagate Technology LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
model = "Seagate Legend 3.5 board";
compatible = "legend35", "seagate,legend35";
aliases {
pwm-led0 = &pwm_led0;
led-strip = &led_strip_spi;
};
led_pwm: pwmleds {
compatible = "pwm-leds";
label = "LED PWM";
pwm_led0: pwm_led_0 {
label = "Activity LED";
pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
};
};
};
&clk_hse {
clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
status = "okay";
};
&pll {
clocks = <&clk_hse>;
prediv = <1>;
mul = <2>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(48)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
};
&led_strip_spi {
chain-length = <12>;
status = "okay";
};
&timers3 {
status = "okay";
};
&pwm3 {
status = "okay";
};
&usb {
status = "okay";
};

View File

@@ -1,11 +1,10 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
# Platform Configuration
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
# enable console
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
@@ -15,5 +14,5 @@ CONFIG_GPIO=y
# Clock Control
CONFIG_CLOCK_CONTROL=y
# enable pin controller
# Enable pin controller
CONFIG_PINCTRL=y