raspberry-pi/4: Fix comments and indentation.

This commit is contained in:
Frédéric Christ 2023-03-26 20:11:16 +02:00
parent bd6381e513
commit 3023004e99

View file

@ -20,15 +20,8 @@ in
};
config = lib.mkIf cfg.enable {
# Configure for modesetting in the device tree
hardware.deviceTree = {
overlays = [
# this *should* be equivalent to (which doesn't work):
# https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/dwc2-overlay.dts
# but actually it's obtained using
# dtc -I dtb -O dts ${config.hardware.deviceTree.kernelPackage}/dtbs/overlays/dwc2.dtbo
# (changes: modified top-level "compatible" field)
# which is slightly different and works
{
name = "rpi-ft5406-overlay";
dtsText = ''