mxc-w1.txt 918 B

12345678910111213141516171819202122232425262728293031323334353637
  1. NXP i.MX (MXC) One wire bus master controller
  2. =======================
  3. Child nodes are required in device tree. The driver will detect
  4. the devices serial number and then search in the child nodes in the device tree
  5. for the proper node and try to match it with the device.
  6. Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers
  7. Driver:
  8. - drivers/w1/mxc_w1.c
  9. Required properties:
  10. - compatible : should be one of
  11. "fsl,imx21-owire", "fsl,imx27-owire", "fsl,imx31-owire", "fsl,imx25-owire"
  12. "fsl,imx25-owire", "fsl,imx35-owire", "fsl,imx50-owire", "fsl,imx53-owire"
  13. - reg : Address and length of the register set for the device
  14. Optional:
  15. * none
  16. Example:
  17. onewire {
  18. compatible = "fsl,imx53-owire";
  19. reg = <0x63fa4000 0x4000>;
  20. };
  21. Example with child:
  22. onewire {
  23. compatible = "fsl,imx53-owire";
  24. reg = <0x63fa4000 0x4000>;
  25. eeprom1: eeprom@0 {
  26. compatible = "maxim,ds24xxx";
  27. };
  28. };