Skip to content

Commit

Permalink
arch: arm: boot: dts: add ad8460
Browse files Browse the repository at this point in the history
Add devicetree for AD8460.

Signed-off-by: Mariel Tinaco <Mariel.Tinaco@analog.com>
  • Loading branch information
MarielTinaco committed Apr 22, 2024
1 parent b9c510d commit 878e088
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions arch/arm/boot/dts/zynq-zed-adv7511-ad8460.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Analog Devices AD8460
* https://www.analog.com/en/products/ad8460.html
* https://wiki.analog.com/resources/tools-software/linux-drivers/platforms/zynq
* https://wiki.analog.com/resources/fpga/xilinx/kc705/ad8460
*
* hdl_project: <ad8460/zed>
* board_revision: <>
*
* Copyright (C) 2012-2019 Analog Devices Inc.
*/
/dts-v1/;

#include "zynq-zed.dtsi"
#include "zynq-zed-adv7511.dtsi"

/ {
clocks {
sync_ext_clk: ext-clk {
#clock-cells = <0x0>;
compatible = "fixed-clock";
clock-frequency = <500000>;
clock-output-names = "sync_ext_clk";
};
};
};

&fpga_axi {

tx_dma: tx_dmac@44000000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44000000 0x1000>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;
#dma-cells = <1>;

adi,channels {
#size-cells = <0>;
#address-cells = <1>;

dma-channel@0 {
reg = <0>;
adi,source-bus-width = <64>;
adi,source-bus-type = <0>;
adi,destination-bus-width = <32>;
adi,destination-bus-type = <2>;
adi,cyclic;
};
};
};
};

&spi0 {
status = "okay";

ad8460: dac@0 {
compatible = "adi,ad8460";
reg = <0>;
spi-max-frequency = <8000000>;
adi,rset-ohms = <2000>;
adi,ilim-microamp = <100000 100000>;
adi,vlim-microvolt = <(-40000000) 40000000>;
adi,temp-lim-millicelsius = <40000>;

clocks = <&sync_ext_clk>;
clock-names = "sync_clk";

dma-names = "tx";
dmas = <&tx_dma 0>;
};
};

0 comments on commit 878e088

Please sign in to comment.