Created
August 4, 2013 21:52
-
-
Save ion1/6152104 to your computer and use it in GitHub Desktop.
Beagle Bone GPS PPS via GPIO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/plugin/; | |
/ { | |
compatible = "ti,beaglebone", "ti,beaglebone-black"; | |
part-number = "gps-pps"; | |
version = "00A0"; | |
exclusive-use = "P8.4", "gpio1_7"; | |
fragment@0 { | |
target = <&am33xx_pinmux>; | |
__overlay__ { | |
pps_pins: pinmux_pps_pins { | |
pinctrl-single,pins = <0x1c 0x27>; | |
}; | |
}; | |
}; | |
fragment@1 { | |
target = <&ocp>; | |
__overlay__ { | |
pps { | |
compatible = "pps-gpio"; | |
status = "okay"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&pps_pins>; | |
gpios = <&gpio2 7 0>; | |
assert-rising-edge; | |
}; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which kernel did you use to make this work?