RE: [PATCH 5/6] ARM: dts: Add nodes for spi controllers for Samsung Exynos4 platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Abraham wrote:
> 
> Add device nodes for the three instances of spi controllers in Exynos4
> platforms. Enable instance spi 2 for smdkv310 board and disable all
> spi instances for origen board.
> 
> Signed-off-by: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
> ---
>  arch/arm/boot/dts/exynos4210-origen.dts   |   12 ++++++++
>  arch/arm/boot/dts/exynos4210-smdkv310.dts |   44
> +++++++++++++++++++++++++++++
>  arch/arm/boot/dts/exynos4210.dtsi         |   30 +++++++++++++++++++
>  3 files changed, 86 insertions(+), 0 deletions(-)

[...]

> +	aliases {
> +		spi0 = &spi_0;
> +		spi1 = &spi_1;
> +		spi2 = &spi_2;
> +	};
> +

Do we need above aliases?

[...]

> 
> +	spi_2: spi@13940000 {
> +		gpios = <&gpc1 1 5 3 0>,
> +			<&gpc1 3 5 3 0>,
> +			<&gpc1 4 5 3 0>;
> +
> +		w25x80@0 {
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			compatible = "w25x80";
> +			reg = <0>;
> +			spi-max-frequency = <10000>;
> +
> +			controller-data {
> +				cs-gpio = <&gpc1 2 1 0 3>;
> +				samsung,spi-feedback-delay = <0>;
> +			};
> +
> +			partition@0 {
> +				label = "U-Boot";
> +				reg = <0x0 0x40000>;
> +				read-only;
> +			};
> +
> +			partition@40000 {
> +				label = "Kernel";
> +				reg = <0x40000 0xc0000>;
> +			};
> +		};
> +	};
> +


Is there a serial flash(w25x80) is connected via SPI2 on smdkv310?

[...]

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux