Skip to content

Commit

Permalink
Merge pull request torvalds#544 from analogdevicesinc/adrv9009-zu11eg…
Browse files Browse the repository at this point in the history
…-revb

Add adrv9009-zu11eg-revb support
  • Loading branch information
mhennerich authored Aug 28, 2019
2 parents 83475d7 + 388eeb9 commit c4d7e93
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Licensed under the GPL-2.
*/

#include "zynqmp-adrv9009-zu11eg-adrv2crr-fmc.dts"
#include "zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc.dts"

&spi0 {
hmc7044_fmc_car: hmc7044-car@3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* pb_gpio_0})); 0 78
*/

#include "zynqmp-adrv9009-zu11eg.dts"
#include "zynqmp-adrv9009-zu11eg-reva.dts"

/ {
leds {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <dt-bindings/iio/frequency/hmc7044.h>

/ {
model = "Analog Devices ADRV9009-ZU11EG";
model = "Analog Devices ADRV9009-ZU11EG Rev.A";
compatible = "xlnx,zynqmp";

aliases {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#include "zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc-sync.dts"
#include "zynqmp-adrv9009-zu11eg-revb.dts"

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#include "zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc.dts"
#include "zynqmp-adrv9009-zu11eg-revb.dts"

44 changes: 44 additions & 0 deletions arch/arm64/boot/dts/xilinx/zynqmp-adrv9009-zu11eg-revb.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* Summary of RevA -> RevB changes:
*
*
* OUT 1,3,8,9 -- LVPECL force & force to logic zero
* OUT 6,7 -- CML no pull-up(will be LVPECL on rev C)
*/

/ {
model = "Analog Devices ADRV9009-ZU11EG Rev.B";
};

&hmc7044_c1 {
adi,force-mute-enable;
adi,driver-mode = <HMC7044_DRIVER_MODE_LVPECL>;
adi,control0-rb4-enable;
};

&hmc7044_c3 {
adi,force-mute-enable;
adi,driver-mode = <HMC7044_DRIVER_MODE_LVPECL>;
adi,control0-rb4-enable;
};

&hmc7044_c8 {
adi,force-mute-enable;
adi,driver-mode = <HMC7044_DRIVER_MODE_LVPECL>;
adi,control0-rb4-enable;
};

&hmc7044_c9 {
adi,force-mute-enable;
adi,driver-mode = <HMC7044_DRIVER_MODE_LVPECL>;
adi,control0-rb4-enable;
};

&hmc7044_c6 {
adi,driver-mode = <HMC7044_DRIVER_MODE_CML>;
};

&hmc7044_c7 {
adi,driver-mode = <HMC7044_DRIVER_MODE_CML>;
};

0 comments on commit c4d7e93

Please sign in to comment.