Lakka-LibreELEC/projects/RPi/devices/GPICase/config/dpi24-gpi-overlay.dts
Tomáš Kelemen (vudiq) 8a11bbb678 add support for GPICase
Co-authored-by: Albert Malina <albert.malina@gmail.com>
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-10-07 10:58:42 +02: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 */
};
};
};
};