@librecomputer Thank you for the reply. This is how Armbian handles a rockchip board and is what I used as my model.
/dts-v1/;
/plugin/;
/ {
compatible = "pine64,rock64", "rockchip,rk3328";
fragment@0 {
target-path = "/";
__overlay__ {
pps: pps@0 {
compatible = "pps-gpio";
gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_HIGH>;
};
};
};
};
And this is how Armbian handles a H5 board.
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-h5";
fragment@0 {
target = <&pio>;
__overlay__ {
pps_pins: pps_pins {
pins = "PD14";
function = "gpio_in";
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
pps@0 {
compatible = "pps-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
gpios = <&pio 3 14 0>; /* PD14 */
status = "okay";
};
};
};
};
Which .dts examples should I be looking at for pps-gpio on s905x? I have looked at the overlays here:
But there aren’t any pps examples. I realize now my pps {
line should probably be pps@0 {
but that didn’t work either. Any suggestion of an example would be appreciated.