[PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Wed Jul 24 14:33:20 EDT 2013


Hello.

On 07/24/2013 08:35 PM, Philipp Zabel wrote:

> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> ---
>   arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 15 +++++++++++++++
>   1 file changed, 15 insertions(+)

> diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> index f5e1981..5113d29 100644
> --- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> +++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> @@ -20,6 +20,20 @@
>   	};
>   };
>
> +&ecspi3 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_ecspi3_1>;
> +	status = "okay";
> +	fsl,spi-num-chipselects = <1>;
> +	cs-gpios = <&gpio4 24 0>;
> +
> +	flash: m25p80 at 0 {

    Quoting the EPAPR spec [1]: "The name of a node should be somewhat 
generic, reflecting the function of the device and not its precise programming 
model. If appropriate, the name should be one of the following choices:
[...]
    - flash
[...]
"

[1] http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

WBR, Sergei




More information about the linux-arm-kernel mailing list