[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR04MB667637011B99FCC3883AC5A78F940@AM0PR04MB6676.eurprd04.prod.outlook.com>
Date: Tue, 23 Jun 2020 23:12:05 +0000
From: Leo Li <leoyang.li@....com>
To: Qiang Zhao <qiang.zhao@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Qiang Zhao <qiang.zhao@....com>,
Xiaowei Bao <xiaowei.bao@....com>
Subject: RE: [RESEND PATCH] arm64: dts: ls1028a: Add DSPI nodes
> -----Original Message-----
> From: Qiang Zhao <qiang.zhao@....com>
> Sent: Monday, June 22, 2020 3:29 AM
> To: shawnguo@...nel.org
> Cc: devicetree@...r.kernel.org; linux-kernel@...r.kernel.org; Leo Li
> <leoyang.li@....com>; Qiang Zhao <qiang.zhao@....com>; Xiaowei Bao
> <xiaowei.bao@....com>
> Subject: [RESEND PATCH] arm64: dts: ls1028a: Add DSPI nodes
This patch is actually defining dspi flash nodes for LS1028a-qds board instead of adding dspi nodes for the soc.
>
> From: Xiaowei Bao <xiaowei.bao@....com>
>
> Add the DSPI nodes for ls1028a.
>
> Signed-off-by: Xiaowei Bao <xiaowei.bao@....com>
> Signed-off-by: Zhao Qiang <qiang.zhao@....com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 85
> +++++++++++++++++++++++
> 1 file changed, 85 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> index dd69c5b..e4f00c2 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
> @@ -107,6 +107,91 @@
> };
> };
>
> +&dspi0 {
> + bus-num = <0>;
> + status = "okay";
> +
> + flash@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <0>;
> + spi-max-frequency = <10000000>;
> + };
> +
> + flash@1 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <1>;
> + spi-max-frequency = <10000000>;
> + };
> +
> + flash@2 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <2>;
> + spi-max-frequency = <10000000>;
> + };
> +};
> +
> +&dspi1 {
> + bus-num = <1>;
> + status = "okay";
> +
> + flash@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
These probably are not needed when no sub nodes are defined.
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <0>;
> + spi-max-frequency = <10000000>;
> + };
> +
> + flash@1 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <1>;
> + spi-max-frequency = <10000000>;
> + };
> +
> + flash@2 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <2>;
> + spi-max-frequency = <10000000>;
> + };
> +};
> +
> +&dspi2 {
> + bus-num = <2>;
> + status = "okay";
> +
> + flash@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + spi-cpol;
> + spi-cpha;
> + reg = <0>;
> + spi-max-frequency = <10000000>;
> + };
> +};
> +
> &duart0 {
> status = "okay";
> };
> --
> 2.7.4
Powered by blists - more mailing lists