From 58e4e2036b13e05e6c3ce5d290ac3b35e8c500c9 Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Wed, 3 Apr 2019 11:24:27 +0530 Subject: [PATCH] dts: ipq6018: configuring spi nor gpio's in emulation Change-Id: I7cf174af173fde5e506dae3388fb3906fcad614b Signed-off-by: Antony Arun T --- arch/arm/dts/ipq6018-emulation.dts | 34 +++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/ipq6018-emulation.dts b/arch/arm/dts/ipq6018-emulation.dts index 6d2f97a2d0..169bc568e4 100644 --- a/arch/arm/dts/ipq6018-emulation.dts +++ b/arch/arm/dts/ipq6018-emulation.dts @@ -67,7 +67,39 @@ wr_pipe_1 = <14>; rd_pipe_1 = <15>; status = "ok"; - spi_gpio {}; + spi_gpio { + gpio1 { + gpio = <38>; + func = <1>; + pull = ; + drvstr = ; + oe = ; + }; + + gpio2 { + gpio = <39>; + func = <1>; + pull = ; + drvstr = ; + oe = ; + }; + + gpio3 { + gpio = <40>; + func = <1>; + pull = ; + drvstr = ; + oe = ; + }; + + gpio4 { + gpio = <41>; + func = <1>; + pull = ; + drvstr = ; + oe = ; + }; + }; spi_nand { bus-num = <1>; cs = <0>;