mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
60 lines
1.7 KiB
Diff
60 lines
1.7 KiB
Diff
|
From 269a721326f2b4c8789af450f580f27a18a9d6af Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <mike@gapinski.eu>
|
||
|
Date: Wed, 24 Apr 2024 18:54:39 +0200
|
||
|
Subject: [PATCH 1073/1085] overlays: Add overlay for the Pineboards Hat Ai!
|
||
|
|
||
|
This overlay simplifies the configuration of the Coral Edge TPU (Single and Dual Edge) on the Pi 5.
|
||
|
---
|
||
|
arch/arm/boot/dts/overlays/Makefile | 1 +
|
||
|
arch/arm/boot/dts/overlays/README | 6 ++++++
|
||
|
.../dts/overlays/pineboards-hat-ai-overlay.dts | 18 ++++++++++++++++++
|
||
|
3 files changed, 25 insertions(+)
|
||
|
create mode 100644 arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts
|
||
|
|
||
|
--- a/arch/arm/boot/dts/overlays/Makefile
|
||
|
+++ b/arch/arm/boot/dts/overlays/Makefile
|
||
|
@@ -196,6 +196,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
|
||
|
pifi-dac-zero.dtbo \
|
||
|
pifi-mini-210.dtbo \
|
||
|
piglow.dtbo \
|
||
|
+ pineboards-hat-ai.dtbo \
|
||
|
piscreen.dtbo \
|
||
|
piscreen2r.dtbo \
|
||
|
pisound.dtbo \
|
||
|
--- a/arch/arm/boot/dts/overlays/README
|
||
|
+++ b/arch/arm/boot/dts/overlays/README
|
||
|
@@ -3618,6 +3618,12 @@ Load: dtoverlay=piglow
|
||
|
Params: <None>
|
||
|
|
||
|
|
||
|
+Name: pineboards-hat-ai
|
||
|
+Info: Pineboards Hat Ai! overlay for the Google Coral Edge TPU
|
||
|
+Load: dtoverlay=pineboards-hat-ai
|
||
|
+Params: <None>
|
||
|
+
|
||
|
+
|
||
|
Name: piscreen
|
||
|
Info: PiScreen display by OzzMaker.com
|
||
|
Load: dtoverlay=piscreen,<param>=<val>
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts
|
||
|
@@ -0,0 +1,18 @@
|
||
|
+/*
|
||
|
+ * Device Tree overlay for Pineboards Hat Ai!.
|
||
|
+ * Compatible with the Google Coral Edge TPU (Single and Dual Edge).
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+/plugin/;
|
||
|
+
|
||
|
+/ {
|
||
|
+ compatible = "brcm,bcm2712";
|
||
|
+
|
||
|
+ fragment@0 {
|
||
|
+ target = <&pcie1>;
|
||
|
+ __overlay__ {
|
||
|
+ msi-parent = <&pcie1>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|