Commit e02ee513 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman
Browse files

ARM: shmobile: koelsch dts: Add QSPI nodes



Add pinctrl and SPI devices for QSPI on Koelsch.
Add Spansion s25fl512s SPI FLASH and MTD partitions.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 4d5b59cd
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -121,8 +121,44 @@
		renesas,groups = "scif1_data_d";
		renesas,function = "scif1";
	};

	qspi_pins: spi {
		renesas,groups = "qspi_ctrl", "qspi_data4";
		renesas,function = "qspi";
	};
};

&sata0 {
	status = "okay";
};

&spi {
	pinctrl-0 = <&qspi_pins>;
	pinctrl-names = "default";

	status = "okay";

	flash: flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "spansion,s25fl512s";
		reg = <0>;
		spi-max-frequency = <30000000>;
		m25p,fast-read;

		partition@0 {
			label = "loader";
			reg = <0x00000000 0x00080000>;
			read-only;
		};
		partition@80000 {
			label = "bootenv";
			reg = <0x00080000 0x00080000>;
			read-only;
		};
		partition@100000 {
			label = "data";
			reg = <0x00100000 0x03f00000>;
		};
	};
};