117 lines
2.2 KiB

  1. chip "pc87366-*"
  2. # Soekris net4801 configuration
  3. # Written by Henrik Brix Andersen <henrik@brixandersen.dk>
  4. # Latest version can be found at http://www.brixandersen.dk/
  5. # The configuration is partly based on the PC87366 datasheet and
  6. # partly borrowed from the env4801 utility by Poul-Henning
  7. # Kamp <phk@phk.freebsd.dk>
  8. # Datasheet: http://www.winbond.com/PDF/APCsheet/PC87366.pdf
  9. # env4801: http://phk.freebsd.dk/soekris/env4801/
  10. # Voltage inputs
  11. ignore vid
  12. # Unknown
  13. # label in0 "avi0"
  14. ignore in0
  15. # Core Voltage, +2.0V
  16. label in1 "VCORE"
  17. set in1_min 1.9
  18. set in1_max 2.1
  19. # VCC, +5.0V
  20. label in2 "VCC"
  21. compute in2 @*2, @/2
  22. # Power Supply Input, +6.0V - +28.0V
  23. label in3 "VPWR"
  24. compute in3 @*20.1, @/20.1
  25. set in3_min 6.0
  26. set in3_max 28.0
  27. # +12V
  28. label in4 "+12V"
  29. compute in4 @*4.83, @/4.83
  30. set in4_min 11
  31. set in4_max 13
  32. # -12V
  33. label in5 "-12V"
  34. # If in10 on your net4801 doesn't have the 3.3V reference, use this
  35. # compute line instead:
  36. # compute in5 (@-3.3)*19.2+3.3, (@-3.3)/19.2+3.3
  37. compute in5 (@-in10)*19.2+in10, (@-in10)/19.2+in10
  38. set in5_min -13
  39. set in5_max -11
  40. # GND, 0V
  41. label in6 "GND"
  42. set in6_min 0
  43. set in6_max 0
  44. # Standby Voltage, +3.3V
  45. # Internally divided by 2
  46. label in7 "Vsb"
  47. compute in7 @*2, @/2
  48. set in7_min 3.0
  49. set in7_max 3.6
  50. # Supply Voltage, +3.3V
  51. # Internally divided by 2
  52. label in8 "Vdd"
  53. compute in8 @*2, @/2
  54. set in8_min 3.0
  55. set in8_max 3.6
  56. # Battery Backup Supply Voltage, +3.0V
  57. label in9 "Vbat"
  58. set in9_min 2.4
  59. set in9_max 3.6
  60. # Analog Supply Voltage, +3.3V
  61. # Internally divided by 2
  62. label in10 "AVdd"
  63. compute in10 @*2, @/2
  64. set in10_min 3.0
  65. set in10_max 3.6
  66. # Temperature inputs
  67. ignore temp1
  68. ignore temp2
  69. # PC87366 Internal Temperature
  70. # PC87366 Recommended Operating Conditions: 0 - 70C
  71. # SC1100 Recommended Operating Conditions: 0 - 85C
  72. label temp3 "Temp"
  73. label temp3_crit "Critical"
  74. set temp3_min 0
  75. set temp3_max 70
  76. set temp3_crit 85
  77. ignore temp4
  78. ignore temp5
  79. ignore temp6
  80. # Fan inputs
  81. ignore fan1
  82. ignore fan2
  83. ignore fan3