From: Alexandre Belloni Date: Tue, 31 Jul 2018 14:38:55 +0000 (+0200) Subject: mips: dts: mscc: enable spi and NOR flash support on ocelot PCB123 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84a7f564fa14bf4713240f614c0b9a18730418fa;p=openwrt%2Fstaging%2Fblogic.git mips: dts: mscc: enable spi and NOR flash support on ocelot PCB123 Ocelot PCB123 has a SPI NOR connected on its SPI bus. Signed-off-by: Alexandre Belloni Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/20103/ Cc: Mark Brown Cc: James Hogan Cc: linux-spi@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: Thomas Petazzoni Cc: Allan Nielsen --- diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts index 4ccd65379059..2266027759f9 100644 --- a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts +++ b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts @@ -26,6 +26,16 @@ status = "okay"; }; +&spi { + status = "okay"; + + flash@0 { + compatible = "macronix,mx25l25635f", "jedec,spi-nor"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + &mdio0 { status = "okay"; };