From dff516e4152c13a4442276c4c5ac5572d1c90bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= Date: Mon, 30 Sep 2024 16:47:20 +0200 Subject: [PATCH] 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 diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile index 2659fdd5f571f2..e14dc0857327a8 100644 --- a/arch/arm/boot/dts/overlays/Makefile +++ b/arch/arm/boot/dts/overlays/Makefile @@ -205,6 +205,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 \ diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index 3d64332c5e92f6..7ea3e623f7a461 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -3735,6 +3735,12 @@ Load: dtoverlay=pineboards-hat-ai Params: +Name: pineboards-hatdrive-poe-plus +Info: Configures the Pineboards HatDrive! PoE+ +Load: dtoverlay=pineboards-hatdrive-poe-plus +Params: + + Name: piscreen Info: PiScreen display by OzzMaker.com Load: dtoverlay=piscreen,= diff --git a/arch/arm/boot/dts/overlays/pineboards-hatdrive-poe-plus-overlay.dts b/arch/arm/boot/dts/overlays/pineboards-hatdrive-poe-plus-overlay.dts new file mode 100644 index 00000000000000..77b8e0d3be3119 --- /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>; + }; + }; + }; +};