Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions config/boards/walnutpi-1b-ddr3.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Allwinner H618 quad core 1GB DDR3 RAM SoC WiFi/BT
# Early 1B revision with 2x 512MB DDR3 (vendor schematic v1.0); newer 1GB
# boards use LPDDR4 and are covered by walnutpi-1b. Untested on hardware.
BOARD_NAME="Walnut Pi 1B DDR3"
BOARD_VENDOR="walnut"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="TallGuy74"
INTRODUCED="2026"
BOOTCONFIG="walnutpi_1b_ddr3_defconfig"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="sun50i-h618-walnutpi-1b.dtb"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
SERIALCON="ttyS0"

enable_extension "uwe5622-allwinner"
18 changes: 18 additions & 0 deletions config/boards/walnutpi-1b.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Allwinner H618 quad core 1GB/2GB/4GB LPDDR4 RAM SoC WiFi/BT
# Covers all LPDDR4 revisions (1G/2G/4G, size auto-detected); early DDR3
# revision boards are covered by walnutpi-1b-ddr3.
BOARD_NAME="Walnut Pi 1B"
BOARD_VENDOR="walnut"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="TallGuy74"
INTRODUCED="2026"
BOOTCONFIG="walnutpi_1b_defconfig"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="sun50i-h618-walnutpi-1b.dtb"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
SERIALCON="ttyS0"

enable_extension "uwe5622-allwinner"
16 changes: 16 additions & 0 deletions config/boards/walnutpi-box.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Allwinner H618 quad core 1GB/2GB/4GB RAM SoC eMMC WiFi/BT
BOARD_NAME="Walnut Pi Box"
BOARD_VENDOR="walnut"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="TallGuy74"
INTRODUCED="2026"
BOOTCONFIG="walnutpi_box_defconfig"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="sun50i-h618-walnutpi-box.dtb"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
SERIALCON="ttyS0"

enable_extension "uwe5622-allwinner"
16 changes: 16 additions & 0 deletions config/boards/walnutpi-zerow.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Allwinner H618 quad core 1GB/2GB/4GB RAM SoC WiFi/BT
BOARD_NAME="Walnut Pi ZeroW"
BOARD_VENDOR="walnut"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="TallGuy74"
INTRODUCED="2026"
BOOTCONFIG="walnutpi_zerow_defconfig"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="sun50i-h618-walnutpi-zerow.dtb"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
SERIALCON="ttyS0"

enable_extension "uwe5622-allwinner"
2 changes: 2 additions & 0 deletions config/kernel/linux-sunxi64-current.config
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,8 @@ CONFIG_DRM_DW_HDMI_I2S_AUDIO=m
CONFIG_DRM_DW_HDMI_GP_AUDIO=m
CONFIG_DRM_DW_HDMI_CEC=m
CONFIG_DRM_PANEL_MIPI_DBI=m
CONFIG_DRM_SSD130X=m
CONFIG_DRM_SSD130X_I2C=m
CONFIG_TINYDRM_HX8357D=m
CONFIG_TINYDRM_ILI9163=m
CONFIG_TINYDRM_ILI9225=m
Expand Down
2 changes: 2 additions & 0 deletions config/kernel/linux-sunxi64-edge.config
Original file line number Diff line number Diff line change
Expand Up @@ -1872,6 +1872,8 @@ CONFIG_DRM_PANTHOR=m
CONFIG_DRM_PL111=m
CONFIG_DRM_SUN4I=y
CONFIG_DRM_PANEL_MIPI_DBI=m
CONFIG_DRM_SSD130X=m
CONFIG_DRM_SSD130X_I2C=m
CONFIG_TINYDRM_HX8357D=m
CONFIG_TINYDRM_ILI9163=m
CONFIG_TINYDRM_ILI9225=m
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Walnut Pi 1B: Walnut Pi 1 family SBC. Micro HDMI, 100 Mbit Ethernet,
* USB 2.0 host ports (VBUS switched via PC16), 40-pin header, status
* LED on PC13, no eMMC.
*/

/dts-v1/;

#include "sun50i-h618-walnutpi.dtsi"

/ {
model = "Walnut Pi 1B";
compatible = "walnutpi,walnutpi-1b", "allwinner,sun50i-h618";

leds {
compatible = "gpio-leds";

led-0 {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 2 13 GPIO_ACTIVE_HIGH>; /* PC13 */
default-state = "on";
};
};
};

&reg_usb1_vbus {
enable-active-high;
gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; /* PC16 */
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Walnut Pi Box: Walnut Pi CM1 on the Box IO carrier.
* Full-size HDMI, 100 Mbit Ethernet, 2x USB 2.0 host, 3.5mm audio,
* IR receiver, 40-pin header (peripherals via overlays), OLED header
* (I2C, via overlay), USB-C 5V power input (power only).
*/

/dts-v1/;

#include "sun50i-h618-walnutpi-cm1.dtsi"

#include <dt-bindings/input/linux-event-codes.h>

/ {
model = "Walnut Pi Box";
compatible = "walnutpi,walnutpi-box", "allwinner,sun50i-h618";

gpio-keys-polled {
compatible = "gpio-keys-polled";
poll-interval = <100>;

key-user {
label = "KEY";
linux,code = <KEY_PROG1>;
gpios = <&pio 2 12 GPIO_ACTIVE_LOW>; /* PC12 */
};
};

leds {
/* carrier LED, next to the module's PC7 status LED */
led-1 {
function = LED_FUNCTION_ACTIVITY;
color = <LED_COLOR_ID_BLUE>;
gpios = <&pio 2 13 GPIO_ACTIVE_HIGH>; /* PC13 */
linux,default-trigger = "heartbeat";
};
};
};

/* USB1 is not routed on the Box IO carrier */
&ehci1 {
status = "disabled";
};

&hdmi_connector {
type = "a";
};

&ohci1 {
status = "disabled";
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Walnut Pi CM1 compute module: Walnut Pi 1 family core with eMMC
* populated (mmc2) and the status LED on PC7.
*/

#include "sun50i-h618-walnutpi.dtsi"

/ {
aliases {
mmc2 = &mmc2;
};

leds {
compatible = "gpio-leds";

led-0 {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */
default-state = "on";
};
};
};

&mmc2 {
status = "okay";
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Walnut Pi ZeroW: compact Walnut Pi 1 family board. Micro HDMI,
* 2x USB-C (USB0 = OTG/power, USB1 = second port on ehci1/ohci1),
* 40-pin header, status LED on PC13. Ethernet, USB2/USB3 host,
* line-out audio and IR live on the FPC expansion board and are
* disabled here; attach the expansion and enable them with the
* walnutpi-zerow-expansion overlay.
*/

/dts-v1/;

#include "sun50i-h618-walnutpi.dtsi"

/ {
model = "Walnut Pi ZeroW";
compatible = "walnutpi,walnutpi-zerow", "allwinner,sun50i-h618";

leds {
compatible = "gpio-leds";

led-0 {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_GREEN>;
gpios = <&pio 2 13 GPIO_ACTIVE_HIGH>; /* PC13 */
default-state = "on";
};
};
};

/* line-out is only on the FPC expansion board */
&codec {
status = "disabled";
};

/* 100M Ethernet is only on the FPC expansion board */
&emac1 {
status = "disabled";
};

/* USB2/USB3 host ports are only on the FPC expansion board */
&ehci2 {
status = "disabled";
};

&ohci2 {
status = "disabled";
};

&ehci3 {
status = "disabled";
};

&ohci3 {
status = "disabled";
};

/* IR receiver is only on the FPC expansion board */
&ir {
status = "disabled";
};
Loading
Loading