-
Notifications
You must be signed in to change notification settings - Fork 855
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm: dts: zynq-adv7511: ad2s1210: add devicetree for ad2s1210 eval
This offers basic support for EVAL-AD2S1210SDZ on the ZedBoard. Co-developed-by: Apelete Seketeli <[email protected]> Signed-off-by: Apelete Seketeli <[email protected]> Signed-off-by: David Lechner <[email protected]>
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Analog Devices AD2S1210 | ||
* https://wiki.analog.com/resources/tools-software/linux-drivers/iio-resolver/ad2s1210 | ||
* https://wiki.analog.com/resources/eval/user-guides/ad2s1210_sdz | ||
* | ||
* hdl_project: <ad2s1210_sdz/zed> | ||
* board_revision: <> | ||
* | ||
* Copyright (C) 2023 BayLibre SAS. | ||
*/ | ||
/dts-v1/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
#include "zynq-zed.dtsi" | ||
#include "zynq-zed-adv7511.dtsi" | ||
|
||
&spi0 { | ||
status = "okay"; | ||
|
||
ad2s1210@0 { | ||
compatible = "adi,ad2s1210"; | ||
reg = <0>; | ||
spi-cpha; | ||
spi-max-frequency = <20000000>; | ||
clocks = <&ad2s1210_clkin>; | ||
sample-gpios = <&gpio0 90 GPIO_ACTIVE_LOW>; | ||
mode-gpios = <&gpio0 87 0>, <&gpio0 86 0>; | ||
resolution-gpios = <&gpio0 89 0>, <&gpio0 88 0>; | ||
assigned-resolution-bits = <16>; | ||
avdd-supply = <&ad2s1210_avdd>; | ||
dvdd-supply = <&ad2s1210_dvdd>; | ||
vdrive-supply = <&ad2s1210_dvdd>; | ||
}; | ||
}; | ||
|
||
/ { | ||
/* external oscilator on AD2S1210 eval board */ | ||
ad2s1210_clkin: ad2s1210-clkin-clock { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <8192000>; | ||
}; | ||
|
||
/* U704 on eval board */ | ||
ad2s1210_avdd: ad2s1210-avdd-regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "ad2s1210_avdd"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-always-on; | ||
}; | ||
|
||
/* U700 on eval board */ | ||
ad2s1210_dvdd: ad2s1210-dvdd-regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "ad2s1210_dvdd"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
regulator-always-on; | ||
}; | ||
}; |