[PATCH 2/3] ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module
Shawn Guo
shawn.guo at linaro.org
Mon Apr 8 02:35:59 EDT 2013
On Sun, Apr 07, 2013 at 07:29:13PM +0400, Alexander Shiyan wrote:
> Added SPI node to imx27-phytec-phycore DT file.
>
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
> arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
> index 7228153..354dc77 100644
> --- a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
> +++ b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp
> @@ -77,3 +77,9 @@
> nand-ecc-mode = "hw";
> status = "okay";
> };
> +
> +&cspi1 {
> + fsl,spi-num-chipselects = <1>;
> + cs-gpios = <&gpio4 28 0>;
> + status = "okay";
> +};
I would suggest these codes be sorted in alphabet order of label name.
IOW, &cspi1 should be put before &nfc.
Shawn
> --
> 1.8.1.5
>
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
More information about the linux-arm-kernel
mailing list