Skip to content

Commit

Permalink
arch: arm: boot: dts: Update coraz7s-cn0540
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gastmaier committed Dec 6, 2024
1 parent 348459f commit bdbcf94
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions arch/arm/boot/dts/xilinx/zynq-coraz7s-cn0540.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
/dts-v1/;
#include "zynq-coraz7s.dtsi"
#include "zynq-coraz7s-iic.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

Expand Down Expand Up @@ -121,7 +122,7 @@
compatible = "adi,axi-spi-engine-1.00.a";
reg = <0x44a00000 0x10000>;
interrupt-parent = <&intc>;
interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15 &spi_clk>;
clock-names = "s_axi_aclk", "spi_clk";
num-cs = <1>;
Expand All @@ -148,23 +149,6 @@
};
};

axi_i2c_0:axi-iic@0x44a40000{
compatible = "xlnx,axi-iic-1.02.a", "xlnx,xps-iic-2.00.a";
reg = <0x44a40000 0x1000>;
interrupt-parent = <&intc>;
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;

#address-cells = <1>;
#size-cells = <0>;

ltc2606: ltc2606@10 {
compatible = "adi,ltc2606";
reg = <0x10>;
vref-supply = <&vref>;
};
};

spi_clk: axi-clkgen@0x44a70000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x44a70000 0x10000>;
Expand All @@ -174,3 +158,11 @@
clock-output-names = "spi_clk";
};
};

&axi_i2c_0 {
ltc2606: ltc2606@10 {
compatible = "adi,ltc2606";
reg = <0x10>;
vref-supply = <&vref>;
};
};

0 comments on commit bdbcf94

Please sign in to comment.