Lakka-LibreELEC/projects/RPi/devices/Pi02GPi/config/dpi24-gpi-overlay.dts
Tomáš Kelemen (vudiq) 42ec40ee45
Add support for Raspberry Pi Zero 2 W with GPICase
Co-authored-by: Cicirifu <54900043+Cicirifu@users.noreply.github.com>
2022-03-03 18:45:14 +01:00

37 lines
891 B
Plaintext

// This file has been taken from:
// https://github.com/tsoliman/Retroflag-GPi-case
//
// Thanks @tsoliman !
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2835";
// There is no DPI driver module, but we need a platform device
// node (that doesn't already use pinctrl) to hang the pinctrl
// reference on - leds will do
fragment@0 {
target = <&leds>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&dpi24_pins>;
};
};
fragment@1 {
target = <&gpio>;
__overlay__ {
dpi24_pins: dpi24_pins {
brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11
12 13 14 15 16 17 20
21 22 23 24 25 26 27>;
brcm,function = <6>; /* alt2 */
brcm,pull = <0>; /* no pull */
};
};
};
};