0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-08 11:58:19 +00:00
Lakka-LibreELEC/projects/RPi/devices/RPiZero-GPiCase/config/pwm-audio-pi-zero-gpi-overlay.dts
2024-04-12 09:28:11 +02:00

25 lines
640 B
Plaintext

// This file has been taken from:
// https://github.com/tsoliman/Retroflag-GPi-case
//
// Thanks @tsoliman !
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&gpio>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&pwm_audio_pins>;
pwm_audio_pins: pwm_audio_pins {
brcm,pins = <18 19>; /* gpio no ('BCM' number) */
brcm,function = <2 2>; /* 0:in, 1:out, 2: alt5, 3: alt4, 4: alt0, 5: alt1, 6: alt2, 7: alt3 */
brcm,pull = <0 0>; /* 2:up 1:down 0:none */
};
};
};
};