Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions dts/arm/xilinx/zynq7000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@
#interrupt-cells = <4>;
};

i2c0: i2c@e0004000 {
compatible = "cdns,i2c";
reg = <0xe0004000 0x1000>;
status = "disabled";
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>;
#address-cells = <1>;
#size-cells = <0>;
fifo-depth = <16>;
};

i2c1: i2c@e0005000 {
compatible = "cdns,i2c";
reg = <0xe0005000 0x1000>;
status = "disabled";
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>;
#address-cells = <1>;
#size-cells = <0>;
fifo-depth = <16>;
};

gem0: ethernet@e000b000 {
compatible = "xlnx,gem";
status = "disabled";
Expand Down
7 changes: 7 additions & 0 deletions soc/xlnx/zynq7000/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ config FLASH_BASE_ADDRESS
config SOC_RESET_HOOK
default y

if I2C_CADENCE

config I2C_CADENCE_BROKEN_HOLD_BIT
default y if $(dt_nodelabel_enabled,i2c0) || $(dt_nodelabel_enabled,i2c1)

endif # I2C_CADENCE

endif # SOC_FAMILY_XILINX_ZYNQ7000
Loading