|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
| 2 | +/* |
| 3 | + * Analog Devices AD4062 |
| 4 | + * |
| 5 | + * hdl_project: <ad4062_ardz/coraz7s> |
| 6 | + * Link: https://github.com/analogdevicesinc/hdl/tree/main/projects/ad4062_ardz |
| 7 | + * board_revision: <A> |
| 8 | + * |
| 9 | + * Copyright (C) 2025 Analog Devices Inc. |
| 10 | + */ |
| 11 | +/dts-v1/; |
| 12 | +#include "zynq-coraz7s.dtsi" |
| 13 | +#include "zynq-coraz7s-axi-sysid.dtsi" |
| 14 | +#include <dt-bindings/interrupt-controller/irq.h> |
| 15 | +#include <dt-bindings/gpio/gpio.h> |
| 16 | + |
| 17 | +/ { |
| 18 | + vdd: regulator-vdd { |
| 19 | + compatible = "regulator-fixed"; |
| 20 | + regulator-name = "vdd-fixed-supply"; |
| 21 | + regulator-min-microvolt = <3300000>; |
| 22 | + regulator-max-microvolt = <3300000>; |
| 23 | + regulator-always-on; |
| 24 | + }; |
| 25 | + |
| 26 | + vio: regulator-vio { |
| 27 | + compatible = "regulator-fixed"; |
| 28 | + regulator-name = "vio-fixed-supply"; |
| 29 | + regulator-min-microvolt = <3300000>; |
| 30 | + regulator-max-microvolt = <3300000>; |
| 31 | + regulator-always-on; |
| 32 | + }; |
| 33 | + |
| 34 | + ref: regulator-ref { |
| 35 | + compatible = "regulator-fixed"; |
| 36 | + regulator-name = "ref-fixed-supply"; |
| 37 | + regulator-min-microvolt = <2500000>; |
| 38 | + regulator-max-microvolt = <2500000>; |
| 39 | + regulator-always-on; |
| 40 | + }; |
| 41 | +}; |
| 42 | + |
| 43 | +&fpga_axi { |
| 44 | + i3c_master: i3c-master@44a00000 { |
| 45 | + compatible = "adi,i3c-master-v1"; |
| 46 | + reg = <0x44a00000 0x1000>; |
| 47 | + interrupt-parent = <&intc>; |
| 48 | + interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>; |
| 49 | + clocks = <&clkc 15>; |
| 50 | + clock-names = "axi"; |
| 51 | + |
| 52 | + #address-cells = <3>; |
| 53 | + #size-cells = <0>; |
| 54 | + |
| 55 | + eeprom1: eeprom@52 { |
| 56 | + compatible = "atmel,24c32"; |
| 57 | + reg = <0x52 0x0 0x10>; |
| 58 | + }; |
| 59 | + |
| 60 | + ad4062: adc@0,2ee007c0000 { |
| 61 | + /* Ensure to update the PID (e.g. <0x0 0x2ee 0x707000> */ |
| 62 | + reg = <0x0 0x2ee 0x7c0000>; |
| 63 | + /* Just for ACE, Linux uses the PID */ |
| 64 | + compatible = "adi,ad4062"; |
| 65 | + gp1-gpios = <&gpio0 87 GPIO_ACTIVE_HIGH>; |
| 66 | + gp0-gpios = <&gpio0 86 GPIO_ACTIVE_HIGH>; |
| 67 | + vdd-supply = <&vdd>; |
| 68 | + vio-supply = <&vio>; |
| 69 | + ref-supply = <&ref>; |
| 70 | + |
| 71 | + interrupt-parent = <&gpio0>; |
| 72 | + interrupts = <86 IRQ_TYPE_EDGE_RISING>, |
| 73 | + <87 IRQ_TYPE_EDGE_FALLING>; |
| 74 | + interrupt-names = "gp0", "gp1"; |
| 75 | + }; |
| 76 | + }; |
| 77 | +}; |
0 commit comments