config-pin does not have the functionality necessary, especially for the PRU pins. We lack the ability to allow pull ups and pull downs with the pin functions. In general, I believe it would make more sense to allow or-ing of speed | input | up/down | enable pull | mode.
Should config-pin be changed to allow more flexibility?