mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
arm: dts: overlays: add Pi 5 variants for w1-gpio overlays
Make use of the latency-busting read-poll feature on Pi 5 only. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
2fe145bd54
commit
3e29fe26d7
@@ -310,7 +310,9 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
|
||||
vga666.dtbo \
|
||||
vl805.dtbo \
|
||||
w1-gpio.dtbo \
|
||||
w1-gpio-pi5.dtbo \
|
||||
w1-gpio-pullup.dtbo \
|
||||
w1-gpio-pullup-pi5.dtbo \
|
||||
w5500.dtbo \
|
||||
watterott-display.dtbo \
|
||||
waveshare-can-fd-hat-mode-a.dtbo \
|
||||
|
||||
@@ -5056,6 +5056,10 @@ Params: gpiopin GPIO for I/O (default "4")
|
||||
pullup Now enabled by default (ignored)
|
||||
|
||||
|
||||
Name: w1-gpio-pi5
|
||||
Info: See w1-gpio (this is the Pi 5 version)
|
||||
|
||||
|
||||
Name: w1-gpio-pullup
|
||||
Info: Configures the w1-gpio Onewire interface module.
|
||||
Use this overlay if you *do* need a GPIO to drive an external pullup.
|
||||
@@ -5065,6 +5069,10 @@ Params: gpiopin GPIO for I/O (default "4")
|
||||
pullup Now enabled by default (ignored)
|
||||
|
||||
|
||||
Name: w1-gpio-pullup-pi5
|
||||
Info: See w1-gpio-pullup (this is the Pi 5 version)
|
||||
|
||||
|
||||
Name: w5500
|
||||
Info: Overlay for the Wiznet W5500 Ethernet Controller on SPI0
|
||||
Load: dtoverlay=w5500,<param>=<val>
|
||||
|
||||
@@ -470,4 +470,25 @@
|
||||
vl805 {
|
||||
bcm2711;
|
||||
};
|
||||
|
||||
w1-gpio {
|
||||
bcm2835;
|
||||
bcm2711;
|
||||
bcm2712 = "w1-gpio-pi5";
|
||||
};
|
||||
|
||||
w1-gpio-pi5 {
|
||||
bcm2712;
|
||||
};
|
||||
|
||||
w1-gpio-pullup {
|
||||
bcm2835;
|
||||
bcm2711;
|
||||
bcm2712 = "w1-gpio-pullup-pi5";
|
||||
};
|
||||
|
||||
w1-gpio-pullup-pi5 {
|
||||
bcm2712;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
15
arch/arm/boot/dts/overlays/w1-gpio-pi5-overlay.dts
Normal file
15
arch/arm/boot/dts/overlays/w1-gpio-pi5-overlay.dts
Normal file
@@ -0,0 +1,15 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "w1-gpio-overlay.dts"
|
||||
|
||||
/ {
|
||||
compatible = "brcm,bcm2712";
|
||||
|
||||
fragment@2 {
|
||||
target = <&w1>;
|
||||
__overlay__ {
|
||||
raspberrypi,delay-needs-poll;
|
||||
};
|
||||
};
|
||||
};
|
||||
15
arch/arm/boot/dts/overlays/w1-gpio-pullup-pi5-overlay.dts
Normal file
15
arch/arm/boot/dts/overlays/w1-gpio-pullup-pi5-overlay.dts
Normal file
@@ -0,0 +1,15 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include "w1-gpio-pullup-overlay.dts"
|
||||
|
||||
/ {
|
||||
compatible = "brcm,bcm2712";
|
||||
|
||||
fragment@2 {
|
||||
target = <&w1>;
|
||||
__overlay__ {
|
||||
raspberrypi,delay-needs-poll;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user