hello matthew141,
here’s an example of DTS changes, please add below device tree node in kernel dtb
pps {
gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
compatible = “pps-gpio”;
assert-falling-edge;
status = “okay”;
};
here’re steps for your reference.
- Set CONFIG_PPS_CLIENT_GPIO=m.
- Make sure that it is set in tegra_defconfig as well
- Build, and manually copy device tree blob to target.
- After adding the PPS GPIO with insmod, /dev/pps1 should shown