Wire A.OUT to an ADC input and D.OUT to a digital input. The original M5Core example reads these on GPIO36 and GPIO26, respectively.
Connector orientation
With the trimmer facing you, probes up and the socket down, read GND, 5V, D.OUT and A.OUT from left to right. Pin 1 is at the right edge of the contact row, in shadow in the main photo.
Probe circuit
The V1.0 schematic places the probe resistance between Ain and ground. Lower resistance pulls the analog voltage down. Calibrate ADC readings with the actual soil and installation. M5Stack specifies the exposed electrodes for short proof-of-concept use.
Revision evidence
The published circuit is revision V1.0. The enclosed PCB revision is unconfirmed in the photographs.