ti-ptp-bc.txt 760 B

123456789101112131415161718192021222324252627282930313233
  1. Texas Instruments PTP Boundary Clcok Internal Sync Monitor
  2. ==========================================================
  3. Required properties:
  4. - compatible : Should be
  5. "ti,am57-bc" for AM57xx SoCs
  6. Optional properties:
  7. - pps-sel0-gpios : GPIO specifier, used to select PPS BC mux output
  8. - pps-sel1-gpios : GPIO specifier, used to select PPS BC mux output
  9. Example:
  10. ========
  11. In am57xx-idk-common.dts
  12. ptp_bc: ptp_bc {
  13. compatible = "ti,am57-bc";
  14. status = "disabled";
  15. };
  16. To enable for am572x-idk, in am572x-idk.dts:
  17. &ptp_bc {
  18. status = "okay";
  19. };
  20. To enable for am571x-idk-pps, in am572x-idk-pps.dtso:
  21. &ptp_bc {
  22. pps-sel0-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
  23. pps-sel1-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
  24. status = "okay";
  25. };