Skip to content

Commit

Permalink
overlays: Add overlay for the Pineboards Hat Ai!
Browse files Browse the repository at this point in the history
This overlay simplifies the configuration of the Coral Edge TPU (Single and Dual Edge) on the Pi 5.
  • Loading branch information
mikegapinski committed Apr 24, 2024
1 parent 85cc26d commit 781e140
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Device Tree overlay for Pineboards Hat Ai!. Compatible with the Google Coral Edge TPU (Single and Dual Edge).

Check failure on line 2 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: line length of 112 exceeds 100 columns
*/

/dts-v1/;
/plugin/;

/ {
compatible = "brcm,bcm2712";

Check failure on line 9 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line

fragment@0 {

Check failure on line 11 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
target = <&pcie1>;

Check failure on line 12 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 12 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
__overlay__ {

Check failure on line 13 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 13 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
msi-parent = <&pcie1>;
};

Check failure on line 15 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 15 in arch/arm/boot/dts/overlays/pineboards-hat-ai-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
};
};

0 comments on commit 781e140

Please sign in to comment.