Hi,
for a GPS receiver I wanted to use the 1PPS line (Pulse Per Second) with pps-gpio driver. At the CPU this is GPIO2_4.
In the dts-file (very similar to evk335x) I added the following configuration snippets:
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
...
pps_pins: pinmux_pps_pins {
pinctrl-single,pins = <
0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wen.gpio2_4 */
>;
};
};
ocp {
...
pps {
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
compatible = "pps-gpio";
gpios = <&gpio2 4 0>;
status = "okay";
};
};
This compiles to a dtb without comments, but when starting the kernel I see:
[ 3.336041] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_pps_pins
[ 3.343536] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_pps_pins
... and PPS doen't work. I have double-checked the pins adress with the pinmux tool and I also cannot see a conflict with another muxing rule for this pin. Any ideas?
Thanks and regards
Arndt