Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / gpio-hog-overlay.dts
1 // Configure a "hog" on the specified GPIO
2 /dts-v1/;
3 /plugin/;
4
5 #include <dt-bindings/gpio/gpio.h>
6
7 / {
8         compatible = "brcm,bcm2835";
9
10         fragment@0 {
11                 target = <&gpio>;
12                 __overlay__ {
13                         hog: hog@1a {
14                              gpio-hog;
15                              gpios = <26 GPIO_ACTIVE_HIGH>;
16                              output-high;
17                         };
18                 };
19         };
20
21         __overrides__ {
22                 gpio =       <&hog>,"reg:0",
23                              <&hog>,"gpios:0";
24                 active_low = <&hog>,"output-high!",
25                              <&hog>,"output-low?";
26         };
27 };