openwrt/target/linux/bcm27xx/patches-6.6/950-1073-overlays-Add-overlay-for-the-Pineboards-Hat-Ai.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

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>;
+ };
+ };
+};