diff --git a/device/testing/device-pine64-rock64/APKBUILD b/device/testing/device-pine64-rock64/APKBUILD
new file mode 100644
index 0000000000000000000000000000000000000000..2748b767c837843accab34257f1c3765eb6588bb
--- /dev/null
+++ b/device/testing/device-pine64-rock64/APKBUILD
@@ -0,0 +1,30 @@
+# Reference: <https://postmarketos.org/devicepkg>
+# Maintainer: Timothy Valldeperas <tvall43@gmail.com>
+pkgname=device-pine64-rock64
+pkgver=1
+pkgrel=0
+pkgdesc="PINE64 ROCK64"
+url="https://postmarketos.org"
+license="MIT"
+arch="aarch64"
+options="!check !archcheck"
+depends="postmarketos-base linux-postmarketos-rockchip u-boot-rock64 mesa-dri-gallium"
+makedepends="devicepkg-dev"
+source="deviceinfo
+	extlinux.conf
+	"
+
+build() {
+	devicepkg_build $startdir $pkgname
+}
+
+package() {
+	devicepkg_package $startdir $pkgname
+	install -D -m644 "$srcdir"/extlinux.conf \
+		"$pkgdir"/boot/extlinux/extlinux.conf
+}
+
+sha512sums="
+ff1e00dbc17d854ff2f8fbd977f11589d4e0d73d205e94b320d5af48eaec8b8a4be20d1a904a91010cfbb78bf47f9765d2138a0cafdd204d78b636f5ff439494  deviceinfo
+0e0f4f44da43f4a64a3e15ec8c796f0d9d71b8ce51b94c7b3b3e850d6c23fc751aa3d22fe8297ee3ceceba9f040fd58e83f67b72f7548e6a49841939fd900d70  extlinux.conf
+"
diff --git a/device/testing/device-pine64-rock64/deviceinfo b/device/testing/device-pine64-rock64/deviceinfo
new file mode 100644
index 0000000000000000000000000000000000000000..eca229e888bfe8c2468cb8436badae21712eeb60
--- /dev/null
+++ b/device/testing/device-pine64-rock64/deviceinfo
@@ -0,0 +1,24 @@
+# Reference: <https://postmarketos.org/deviceinfo>
+# Please use double quotes only. You can source this file in shell scripts.
+
+deviceinfo_format_version="0"
+deviceinfo_name="PINE64 Rock64"
+deviceinfo_manufacturer="PINE64"
+deviceinfo_codename="pine64-rock64"
+deviceinfo_year="2017"
+deviceinfo_dtb=""
+deviceinfo_modules_initfs=""
+deviceinfo_arch="aarch64"
+
+# Device related
+deviceinfo_gpu_accelerated="true"
+deviceinfo_chassis="embedded"
+deviceinfo_keyboard="true"
+deviceinfo_external_storage="true"
+deviceinfo_screen_width="1920"
+deviceinfo_screen_height="1080"
+
+# Bootloader related
+deviceinfo_flash_method="none"
+deviceinfo_sd_embed_firmware="u-boot/pine64-rock64/u-boot-rockchip.bin:32"
+deviceinfo_boot_part_start="32768"
diff --git a/device/testing/device-pine64-rock64/extlinux.conf b/device/testing/device-pine64-rock64/extlinux.conf
new file mode 100644
index 0000000000000000000000000000000000000000..e3f5b708a3f7afcad3a9848df89dcd872ada4a5e
--- /dev/null
+++ b/device/testing/device-pine64-rock64/extlinux.conf
@@ -0,0 +1,9 @@
+timeout 10
+default POSTMARKETOS
+menu title boot prev kernel
+
+label POSTMARKETOS
+  kernel /vmlinuz-postmarketos-rockchip
+  fdt /dtbs-postmarketos-rockchip/rockchip/rk3328-rock64.dtb
+  initrd /initramfs-postmarketos-rockchip
+  append console=tty0 console=ttyS0,1500000n8 panic=10 coherent_pool=1M video=HDMI-A-1:1920x1080@60 video=eDP-1:1920x1080@60 loglevel=5 PMOS_NO_OUTPUT_REDIRECT