February 8, 20233 yr This is my DTS file for OrangePi Zero2, opened UART5 for attach a GPS module on GPIO. Tried to add 1wire, PPS and SPI , but can't work. maybe help someone. sun50i-h616-orangepi-zero2.dts
February 9, 20233 yr the new one, add bluetooth, now hciconfig can found hci0, but can't init it. sun50i-h616-orangepi-zero2.dts
November 23, 20232 yr @mantouboji did you ever get this working? I'm also trying to get GPS with PPS on Orange Pi Zero 2. orangepi@orangepi:~$ dmesg | grep pps [ 6.546878] sun50i-h616-pinctrl 300b000.pinctrl: pin PC1 already requested by pps@0; cannot claim for 300b000.pinctrl:65 [ 6.546910] pps-gpio pps@0: error -EINVAL: failed to request PPS GPIO [ 6.546918] pps-gpio: probe of pps@0 failed with error -22 My overlay: /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&pio>; __overlay__ { pps_pins: pps_pins { pins = "PC1"; function = "gpio_in"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { pps@0 { compatible = "pps-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pps_pins>; gpios = <&pio 2 1 0>; /* PC1 */ status = "okay"; }; }; }; };
December 4, 20241 yr two DTS, one for PPS-GPIO, and one for W1-GPIO, test successful . Maybe someone can intergrate into kernel source tree sun50i-h616-pps-gpio.dts sun50i-h616-w1-gpio.dts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.