Message ID | 1365348554-24345-2-git-send-email-shc_work@mail.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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@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@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/devicetree-discuss
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"; +};
Added SPI node to imx27-phytec-phycore DT file. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> --- arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++ 1 file changed, 6 insertions(+)