--- /dev/null
+# Top level Makefile for the QuantiMotor software Debian package
+# Copyright 2025 Bdale Garbee <bdale@gag.com>, GPL-3+
+
+SUBDIRS := devicetree
+SUBDIRS-clean := $(addsuffix -clean,$(SUBDIRS))
+
+all: $(SUBDIRS)
+
+clean: $(SUBDIRS-clean)
+
+$(SUBDIRS):
+ $(MAKE) -C $@
+
+$(SUBDIRS-clean):
+ $(MAKE) -C $(subst -clean,,$@) clean
+
+.Suffixes:
+.PHONY: all clean $(SUBDIRS) $(SUBDIRS-clean)
bcm2837-rpi-zero-2-w.dtb usr/share/quantimotor
z99-quantimotor etc/kernel/postinst.d
+devicetree/append_cmdline.dtbo boot/firmware/overlays
+devicetree/raspi-firmware-custom etc/default
--- /dev/null
+all: append_cmdline.dtbo
+
+append_cmdline.dtbo: append_cmdline.dts
+ dtc -I dts -O dtb -o $@ $<
+
+clean:
+ rm -f append_cmdline.dtbo
+
+.PHONY: clean
--- /dev/null
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "brcm,bcm2835";
+
+ fragment@0 {
+ target = <&chosen>;
+ frag0: __overlay__ {
+ };
+ };
+
+ __overrides__ {
+ append = <&frag0>, "bootargs";
+ };
+};
--- /dev/null
+dtoverlay=append_cmdline,append=pinctrl_bcm2835.persist_gpio_outputs=y