Commit e6e1b6df authored by Rene Habraken's avatar Rene Habraken
Browse files

added ad5593 to device tree (for AD5593 PMOD debug brd)

parent bf05213d
......@@ -16,6 +16,7 @@
#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/iio/frequency/ad9528.h>
#include <dt-bindings/iio/adi,ad5592r.h>
#include "zynqmp-zcu102-rev1.0.dts"
/ {
......@@ -25,7 +26,7 @@
aliases { serial1 = &uart0; };
chosen {
bootargs = "console=ttyPS0,115200 earlyprintk clk_ignore_unused root=mtd:jffs2 rw rootfstype=jffs2";
bootargs = "earlyprintk console=ttyPS0,115200 clk_ignore_unused root=/dev/nfs nfsroot=192.168.10.1:/srv/nfs,vers=3,nolock,tcp ip=192.168.10.2:192.168.10.1 rw nfsrootdebug";
stdout-path = "serial0:115200n8";
xlnx,eeprom = &eeprom;
};
......@@ -34,7 +35,16 @@
xtal48MHz: xtal_48_clock {
compatible = "fixed-clock";
#clock-cells = <0x0>;
clock-frequency = <48000000>;
clock-frequency = <48000000>;
};
/* VREF FOR AD5593 */
vref: regulator-vref {
compatible = "regulator-fixed";
regulator-name = "vref-ad559x";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
/* AXI INTERFACE */
......@@ -266,6 +276,37 @@
};
};
/* AD5593 GPIO - ADC - DAC */
ad5593r@11 {
#size-cells = <0>;
#address-cells = <1>;
#gpio-cells = <2>;
compatible = "adi,ad5593r";
reg = <0x11>;
gpio-controller;
channel@0 {
reg = <0>;
adi,mode = <CH_MODE_DAC>;
adi,off-state = <CH_OFFSTATE_PULLDOWN>;
};
channel@1 {
reg = <1>;
adi,mode = <CH_MODE_ADC>;
adi,off-state = <CH_OFFSTATE_PULLDOWN>;
};
channel@2 {
reg = <2>;
adi,mode = <CH_MODE_DAC_AND_ADC>;
adi,off-state = <CH_OFFSTATE_PULLDOWN>;
};
channel@6 {
reg = <6>;
adi,mode = <CH_MODE_GPIO>;
adi,off-state = <CH_OFFSTATE_PULLDOWN>;
};
};
/* MAXIM_PMBUS - 00 */
u88: max15301@0A { /* u88 */
compatible = "maxim,max15301";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment