Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
pwctrl1-param = [a4 a1];
pvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
nvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
ram-param = [00 F0];
pvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
nvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
ram-param = [00 f0];
rgb-param = [40 02 14];
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
pwctrl1-param = [a4 a1];
pvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
nvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
ram-param = [00 F0];
pvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
nvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
ram-param = [00 f0];
rgb-param = [40 02 14];
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
pwctrl1-param = [a4 a1];
pvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
nvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
ram-param = [00 F0];
pvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
nvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
ram-param = [00 f0];
rgb-param = [40 02 14];
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 01];
pwctrl1-param = [a4 a1];
pvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
nvgam-param = [70 2C 2E 15 10 09 48 33 53 0B 19 18 20 25];
ram-param = [00 F0];
pvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
nvgam-param = [70 2c 2e 15 10 09 48 33 53 0b 19 18 20 25];
ram-param = [00 f0];
rgb-param = [40 02 14];
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/dts-v1/;

Check warning on line 1 in boards/adafruit/macropad_rp2040/adafruit_macropad_rp2040.dts

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

License missing

boards/adafruit/macropad_rp2040/adafruit_macropad_rp2040.dts:1 File has no SPDX-License-Identifier header, consider adding one.

#include <raspberrypi/rpi_pico/rp2040.dtsi>
#include "adafruit_macropad_rp2040-pinctrl.dtsi"
Expand Down Expand Up @@ -187,7 +187,7 @@
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <63>;
prechargep = <0x1F>;
prechargep = <0x1f>;
segment-remap;
com-invdir;
inversion-on;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@

slot0_partition: partition@c000 {
label = "image-0";
reg = <0x0000C000 0x32000>;
reg = <0x0000c000 0x32000>;
};

slot1_partition: partition@3e000 {
label = "image-1";
reg = <0x0003E000 0x32000>;
reg = <0x0003e000 0x32000>;
};

scratch_partition: partition@70000 {
Expand Down
2 changes: 1 addition & 1 deletion boards/adafruit/trinket_m0/adafruit_trinket_m0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

code_partition: partition@2000 {
label = "code";
reg = <0x2000 0x3A000>;
reg = <0x2000 0x3a000>;
read-only;
};

Expand Down
6 changes: 3 additions & 3 deletions boards/adi/apard32690/apard32690_max32690_m4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ pmod_spi: &spi4 {
status = "okay";

port1 {
local-mac-address = [00 E0 22 FE DA C9];
local-mac-address = [00 e0 22 fe da c9];
};

mdio {
Expand Down Expand Up @@ -305,7 +305,7 @@ pmod_spi: &spi4 {
* HPB doesn't support 7-clock latency which is default
*/
config-regs = <0x1000>;
config-reg-vals = <0x801F>;
config-reg-vals = <0x801f>;
};

mem@1 {
Expand All @@ -325,7 +325,7 @@ pmod_spi: &spi4 {
* HPB doesn't support 7-clock latency which is default
*/
config-regs = <0x1000>;
config-reg-vals = <0x801F>;
config-reg-vals = <0x801f>;
};
};

Expand Down
6 changes: 3 additions & 3 deletions boards/adi/eval_adin1110ebz/adi_eval_adin1110ebz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@

slot1_partition: partition@8c000 {
label = "image-1";
reg = <0x0008C000 DT_SIZE_K(432)>;
reg = <0x0008c000 DT_SIZE_K(432)>;
};

scratch_partition: partition@f8000 {
label = "image-scratch";
reg = <0x000F8000 DT_SIZE_K(16)>;
reg = <0x000f8000 DT_SIZE_K(16)>;
};

storage_partition: partition@fc000 {
Expand Down Expand Up @@ -221,7 +221,7 @@
spi-oa-protection;

port1 {
local-mac-address = [00 E0 22 FE DA C8];
local-mac-address = [00 e0 22 fe da c8];
};

mdio {
Expand Down
8 changes: 4 additions & 4 deletions boards/adi/eval_adin2111ebz/adi_eval_adin2111ebz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@

slot1_partition: partition@8c000 {
label = "image-1";
reg = <0x0008C000 DT_SIZE_K(432)>;
reg = <0x0008c000 DT_SIZE_K(432)>;
};

scratch_partition: partition@f8000 {
label = "image-scratch";
reg = <0x000F8000 DT_SIZE_K(16)>;
reg = <0x000f8000 DT_SIZE_K(16)>;
};

storage_partition: partition@fc000 {
Expand Down Expand Up @@ -184,11 +184,11 @@
spi-oa-protection;

port1 {
local-mac-address = [00 E0 22 FE DA C9];
local-mac-address = [00 e0 22 fe da c9];
};

port2 {
local-mac-address = [00 E0 22 FE DA D9];
local-mac-address = [00 e0 22 fe da d9];
};

mdio {
Expand Down
32 changes: 30 additions & 2 deletions boards/aithinker/ai_m61_32s_kit/Kconfig.ai_m61_32s_kit
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
# Copyright (c) 2024-2026 MASSDRIVER EI (massdriver.space)
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_AI_M61_32S_KIT
select SOC_BL618M65Q2I
select SOC_BL618M05Q2I if BOARD_REVISION_DEFAULT
select SOC_BL618M65Q2I if BOARD_REVISION_ALL

if BOARD_AI_M61_32S_KIT

config BOARD_REVISION_DEFAULT
bool

config BOARD_REVISION_ALL
bool

# Avoid adding 8 identical files
config CONSOLE
bool
default y

config SERIAL
bool
default y

config UART_CONSOLE
bool
default y

config MEMC
bool
default y

endif
11 changes: 4 additions & 7 deletions boards/aithinker/ai_m61_32s_kit/ai_m61_32s.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 MASSDRIVER EI (massdriver.space)
* Copyright (c) 2025-2026 MASSDRIVER EI (massdriver.space)
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand All @@ -26,12 +26,9 @@
};

&flashctrl {
flash0: flash@A0000000 {
/* in-chip xmc flash die on ALL variant, NC pins noneffective
* in-module SOIC-8 gigadevice flash on non-ALL variant, NC pins effective
*/
compatible = "soc-nv-flash", "xmc,xm25qw64", "gd,gd25q64e";
reg = <0xA0000000 (0x800000 - 0x2000)>;
flash0: flash@a0000000 {
compatible = "soc-nv-flash", "gd,gd25q64e";
reg = <0xa0000000 (0x800000 - 0x2000)>;
write-block-size = <256>;
erase-block-size = <DT_SIZE_K(4)>;

Expand Down
97 changes: 2 additions & 95 deletions boards/aithinker/ai_m61_32s_kit/ai_m61_32s_kit.dts
Original file line number Diff line number Diff line change
@@ -1,103 +1,10 @@
/*
* Copyright (c) 2025 MASSDRIVER EI (massdriver.space)
* Copyright (c) 2025-2026 MASSDRIVER EI (massdriver.space)
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include "ai_m61_32s.dtsi"
#include "ai_m61_32s_kit-pinctrl.dtsi"

/ {
model = "Ai-Thinker M61-32S development board";

aliases {
led0 = &blue_led;
sw0 = &button_0;
pwm-led0 = &blue_pwm_led;
};

leds {
compatible = "gpio-leds";

blue_led: led_0 {
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
label = "Blue - LED0";
};

green_led: led_1 {
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
label = "Green - LED1";
};

red_led: led_2 {
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
label = "Red - LED2";
};

white_led: led_3 {
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
label = "White - LED3";
};

warmwhite_led: led_4 {
gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
label = "Warm White - LED4";
};
};

pwmleds: pwmleds {
compatible = "pwm-leds";
status = "disabled";

blue_pwm_led: led_pwm_0 {
pwms = <&pwm0 3 PWM_MSEC(1) PWM_POLARITY_NORMAL>;
label = "Blue - LED0 PWM";
};

green_pwm_led: led_pwm_1 {
pwms = <&pwm0 2 PWM_MSEC(1) PWM_POLARITY_NORMAL>;
label = "Green - LED1 PWM";
};

red_pwm_led: led_pwm_2 {
pwms = <&pwm0 0 PWM_MSEC(1) PWM_POLARITY_NORMAL>;
label = "Red - LED2 PWM";
};

white_pwm_led: led_pwm_3 {
pwms = <&pwm0 1 PWM_MSEC(1) PWM_POLARITY_NORMAL>;
label = "White - LED3 PWM";
};

warmwhite_pwm_led: led_pwm_4 {
pwms = <&pwm0 3 PWM_MSEC(1) PWM_POLARITY_NORMAL>;
label = "Warm White - LED4 PWM";
};
};

buttons {
compatible = "gpio-keys";

button_0: sw0 {
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
zephyr,code = <INPUT_KEY_0>;
};
};
};

&i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;

pinctrl-0 = <&i2c0_default>;
pinctrl-names = "default";
};

&spi0 {
status = "okay";

pinctrl-0 = <&spi0_default>;
pinctrl-names = "default";
};
#include "ai_m61_32s_kit_common.dtsi"
12 changes: 12 additions & 0 deletions boards/aithinker/ai_m61_32s_kit/ai_m61_32s_kit_ALL.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2026 MASSDRIVER EI (massdriver.space)
*
* SPDX-License-Identifier: Apache-2.0
*/

&flash0 {
/* ALL revision is BL618M65, which has an internal XMC Flash die
* instead of an external SOIC Flash.
*/
compatible = "soc-nv-flash", "xmc,xm25qw64";
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (c) 2026 MASSDRIVER EI (massdriver.space)
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include "ai_m61_32s.dtsi"
#include "ai_m61_32s_kit_common.dtsi"

&clk_root {
/* Increased PLL speed used as FCLK */
clocks = <&clk_wifipll BL61X_WIFIPLL_OC_480MHz>;
};

&clk_bclk {
/* 120 MHz BCLK and so Flash clock at this FCLK works for both revisions */
divider = <4>;
};

&clk_flash {
/* 0 Units of delay for GD Flash but inverted RX */
read-delay = <0>;
rx-clock-invert;
divider = <1>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright (c) 2026 MASSDRIVER EI (massdriver.space)
*
* SPDX-License-Identifier: Apache-2.0
*/

&flash0 {
/* ALL revision is BL618M65, which has an internal XMC Flash die
* instead of an external SOIC Flash.
*/
compatible = "soc-nv-flash", "xmc,xm25qw64";
};

&clk_flash {
/* 1 Unit of delay (4 Cycles) for XMC Flash at 120 MHz Flash clock */
read-delay = <1>;
/delete-property/ rx-clock-invert;
};
Loading
Loading