blob: b11a5c620b7ff8afda5bb66401f0b14990b5e4f2 [file] [log] [blame]
Jan Kundráteb7e5382019-04-17 12:04:26 +02001#include <dt-bindings/iio/adi,ad5592r.h>
2#include "sdn-roadm-clearfog.dtsi"
3
4&lumentum_ocm {
5 status = "disabled";
6};
7
8&i2c1 {
9 eeprom@54 {
10 compatible = "atmel,24c128";
11 reg = <0x54>;
12 pagesize = <64>;
13 };
14
15 ad5593r@11 {
16 #size-cells = <0>;
17 #address-cells = <1>;
18 #gpio-cells = <2>;
19 compatible = "adi,ad5593r";
20 reg = <0x11>;
21 gpio-controller;
22
23 gpio-line-names =
24 "VOA0_DAC",
25 "VOA1_DAC",
26 "SWITCH1_ON",
27 "SWITCH2_ON",
28 "ST1_34",
29 "ST1_78",
30 "ST2_34",
31 "ST2_78"
32 ;
33
34 channel@0 {
35 reg = <0>;
36 adi,mode = <CH_MODE_DAC_AND_ADC>;
37 adi,off-state = <CH_OFFSTATE_PULLDOWN>;
38 };
39
40 channel@1 {
41 reg = <1>;
42 adi,mode = <CH_MODE_DAC_AND_ADC>;
43 adi,off-state = <CH_OFFSTATE_PULLDOWN>;
44 };
45
46 channel@2 {
47 reg = <2>;
48 adi,mode = <CH_MODE_GPIO>;
49 adi,off-state = <CH_OFFSTATE_PULLDOWN>;
50 };
51
52 channel@3 {
53 reg = <3>;
54 adi,mode = <CH_MODE_GPIO>;
55 adi,off-state = <CH_OFFSTATE_PULLDOWN>;
56 };
57
58 channel@4 {
59 reg = <4>;
60 adi,mode = <CH_MODE_GPIO>;
61 adi,off-state = <CH_OFFSTATE_OUT_TRISTATE>;
62 };
63
64 channel@5 {
65 reg = <5>;
66 adi,mode = <CH_MODE_GPIO>;
67 adi,off-state = <CH_OFFSTATE_OUT_TRISTATE>;
68 };
69
70 channel@6 {
71 reg = <6>;
72 adi,mode = <CH_MODE_GPIO>;
73 adi,off-state = <CH_OFFSTATE_OUT_TRISTATE>;
74 };
75
76 channel@7 {
77 reg = <7>;
78 adi,mode = <CH_MODE_GPIO>;
79 adi,off-state = <CH_OFFSTATE_OUT_TRISTATE>;
80 };
81 };
82};