1 Xilinx XADC device driver
3 This binding document describes the bindings for both of them since the
4 bindings are very similar. The Xilinx XADC is a ADC that can be found in the
5 series 7 FPGAs from Xilinx. The XADC has a DRP interface for communication.
6 Currently two different frontends for the DRP interface exist. One that is only
7 available on the ZYNQ family as a hardmacro in the SoC portion of the ZYNQ. The
8 other one is available on all series 7 platforms and is a softmacro with a AXI
9 interface. This binding document describes the bindings for both of them since
10 the bindings are very similar.
13 - compatible: Should be one of
14 * "xlnx,zynq-xadc-1.00.a": When using the ZYNQ device
15 configuration interface to interface to the XADC hardmacro.
16 * "xlnx,axi-xadc-1.00.a": When using the axi-xadc pcore to
17 interface to the XADC hardmacro.
18 - reg: Address and length of the register set for the device
19 - interrupts: Interrupt for the XADC control interface.
20 - clocks: When using the ZYNQ this must be the ZYNQ PCAP clock,
21 when using the AXI-XADC pcore this must be the clock that provides the
22 clock to the AXI bus interface of the core.
26 * "none": No external multiplexer is used, this is the default
27 if the property is omitted.
28 * "single": External multiplexer mode is used with one
30 * "dual": External multiplexer mode is used with two
31 multiplexers for simultaneous sampling.
32 - xlnx,external-mux-channel: Configures which pair of pins is used to
33 sample data in external mux mode.
34 Valid values for single external multiplexer mode are:
39 16: VAUXP[15]/VAUXN[15]
40 Valid values for dual external multiplexer mode are:
41 1: VAUXP[0]/VAUXN[0] - VAUXP[8]/VAUXN[8]
42 2: VAUXP[1]/VAUXN[1] - VAUXP[9]/VAUXN[9]
44 8: VAUXP[7]/VAUXN[7] - VAUXP[15]/VAUXN[15]
46 This property needs to be present if the device is configured for
47 external multiplexer mode (either single or dual). If the device is
48 not using external multiplexer mode the property is ignored.
49 - xnlx,channels: List of external channels that are connected to the ADC
51 * #address-cells: Should be 1.
52 * #size-cells: Should be 0.
54 The child nodes of this node represent the external channels which are
55 connected to the ADC. If the property is no present no external
56 channels will be assumed to be connected.
58 Each child node represents one channel and has the following
61 * reg: Pair of pins the channel is connected to.
66 16: VAUXP[15]/VAUXN[15]
67 Note each channel number should only be used at most
70 * xlnx,bipolar: If set the channel is used in bipolar
76 compatible = "xlnx,zynq-xadc-1.00.a";
77 reg = <0xf8007100 0x20>;
79 interrupt-parent = <&gic>;
98 compatible = "xlnx,axi-xadc-1.00.a";
99 reg = <0x43200000 0x1000>;
100 interrupts = <0 53 4>;
101 interrupt-parent = <&gic>;
102 clocks = <&fpga1_clk>;
105 #address-cells = <1>;