mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
62 lines
1.7 KiB
Diff
62 lines
1.7 KiB
Diff
|
From 35b3f98bb2bfb80a718c52ba49c167da6c78d2ea Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?=
|
||
|
<mikegapinski@users.noreply.github.com>
|
||
|
Date: Mon, 30 Sep 2024 16:47:20 +0200
|
||
|
Subject: [PATCH 1290/1350] overlays: Add Pineboards HatDrive! POE+ (#6257)
|
||
|
|
||
|
overlays: Add Pineboards HatDrive! POE+
|
||
|
---
|
||
|
arch/arm/boot/dts/overlays/Makefile | 1 +
|
||
|
arch/arm/boot/dts/overlays/README | 6 ++++++
|
||
|
.../pineboards-hatdrive-poe-plus-overlay.dts | 19 +++++++++++++++++++
|
||
|
3 files changed, 26 insertions(+)
|
||
|
create mode 100644 arch/arm/boot/dts/overlays/pineboards-hatdrive-poe-plus-overlay.dts
|
||
|
|
||
|
--- a/arch/arm/boot/dts/overlays/Makefile
|
||
|
+++ b/arch/arm/boot/dts/overlays/Makefile
|
||
|
@@ -204,6 +204,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
|
||
|
pifi-mini-210.dtbo \
|
||
|
piglow.dtbo \
|
||
|
pineboards-hat-ai.dtbo \
|
||
|
+ pineboards-hatdrive-poe-plus.dtbo \
|
||
|
piscreen.dtbo \
|
||
|
piscreen2r.dtbo \
|
||
|
pisound.dtbo \
|
||
|
--- a/arch/arm/boot/dts/overlays/README
|
||
|
+++ b/arch/arm/boot/dts/overlays/README
|
||
|
@@ -3703,6 +3703,12 @@ Load: dtoverlay=pineboards-hat-ai
|
||
|
Params: <None>
|
||
|
|
||
|
|
||
|
+Name: pineboards-hatdrive-poe-plus
|
||
|
+Info: Configures the Pineboards HatDrive! PoE+
|
||
|
+Load: dtoverlay=pineboards-hatdrive-poe-plus
|
||
|
+Params: <None>
|
||
|
+
|
||
|
+
|
||
|
Name: piscreen
|
||
|
Info: PiScreen display by OzzMaker.com
|
||
|
Load: dtoverlay=piscreen,<param>=<val>
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm/boot/dts/overlays/pineboards-hatdrive-poe-plus-overlay.dts
|
||
|
@@ -0,0 +1,19 @@
|
||
|
+/*
|
||
|
+ * Device Tree overlay for Pineboards HatDrive! PoE+.
|
||
|
+ */
|
||
|
+
|
||
|
+/dts-v1/;
|
||
|
+/plugin/;
|
||
|
+
|
||
|
+/ {
|
||
|
+ compatible = "brcm,bcm2712";
|
||
|
+
|
||
|
+ fragment@0 {
|
||
|
+ target-path = "/chosen";
|
||
|
+ __overlay__ {
|
||
|
+ power: power {
|
||
|
+ hat_current_supply = <5000>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|