Skip to content

Commit bdbcf94

Browse files
committed
arch: arm: boot: dts: Update coraz7s-cn0540
Include IIC Controller from the coraz7s-iic.dtsi. Update SPI Engine IRQ index. To sync with the changes on the HDL project. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
1 parent 348459f commit bdbcf94

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

arch/arm/boot/dts/xilinx/zynq-coraz7s-cn0540.dts

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313
/dts-v1/;
1414
#include "zynq-coraz7s.dtsi"
15+
#include "zynq-coraz7s-iic.dtsi"
1516
#include <dt-bindings/interrupt-controller/irq.h>
1617
#include <dt-bindings/gpio/gpio.h>
1718

@@ -121,7 +122,7 @@
121122
compatible = "adi,axi-spi-engine-1.00.a";
122123
reg = <0x44a00000 0x10000>;
123124
interrupt-parent = <&intc>;
124-
interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
125+
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
125126
clocks = <&clkc 15 &spi_clk>;
126127
clock-names = "s_axi_aclk", "spi_clk";
127128
num-cs = <1>;
@@ -148,23 +149,6 @@
148149
};
149150
};
150151

151-
axi_i2c_0:axi-iic@0x44a40000{
152-
compatible = "xlnx,axi-iic-1.02.a", "xlnx,xps-iic-2.00.a";
153-
reg = <0x44a40000 0x1000>;
154-
interrupt-parent = <&intc>;
155-
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
156-
clocks = <&clkc 15>;
157-
158-
#address-cells = <1>;
159-
#size-cells = <0>;
160-
161-
ltc2606: ltc2606@10 {
162-
compatible = "adi,ltc2606";
163-
reg = <0x10>;
164-
vref-supply = <&vref>;
165-
};
166-
};
167-
168152
spi_clk: axi-clkgen@0x44a70000 {
169153
compatible = "adi,axi-clkgen-2.00.a";
170154
reg = <0x44a70000 0x10000>;
@@ -174,3 +158,11 @@
174158
clock-output-names = "spi_clk";
175159
};
176160
};
161+
162+
&axi_i2c_0 {
163+
ltc2606: ltc2606@10 {
164+
compatible = "adi,ltc2606";
165+
reg = <0x10>;
166+
vref-supply = <&vref>;
167+
};
168+
};

0 commit comments

Comments
 (0)