From 390ce51a5e69da284677afd441d81b6ab92063a2 Mon Sep 17 00:00:00 2001 From: Timple Raj M Date: Thu, 20 Oct 2022 17:15:29 +0530 Subject: [PATCH] arm: dts: ipq5332: Added spi and i2c gpio's in emulation dts Change-Id: I9e2eff00b20152188acbe335120e5415b460ccad Signed-off-by: Timple Raj M --- arch/arm/dts/ipq5332-emulation.dts | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/dts/ipq5332-emulation.dts b/arch/arm/dts/ipq5332-emulation.dts index d09df38fb0..6eb6d55ae6 100644 --- a/arch/arm/dts/ipq5332-emulation.dts +++ b/arch/arm/dts/ipq5332-emulation.dts @@ -86,6 +86,54 @@ }; }; + spi { + spi_gpio { + blsp0_spi_clk { + gpio = <14>; + func = <1>; + oe = ; + drvstr = ; + }; + blsp0_spi_mosi { + gpio = <15>; + func = <1>; + oe = ; + drvstr = ; + }; + blsp0_spi_miso { + gpio = <16>; + func = <1>; + drvstr = ; + }; + blsp0_spi_cs { + gpio = <17>; + func = <1>; + oe = ; + drvstr = ; + }; + }; + }; + + i2c { + i2c_gpio { + gpio1 { + gpio = <29>; + func = <3>; + pull = ; + drvstr = ; + oe = ; + }; + + gpio2 { + gpio = <30>; + func = <3>; + pull = ; + drvstr = ; + oe = ; + }; + }; + }; + pci0: pci@20000000 { status = "ok"; perst_gpio = <42>;