[U-Boot] [PATCH 09/15] arm64: mvebu: Armada 3700: Add SPI device tree nodes

Jagan Teki jagannadh.teki at gmail.com
Wed Sep 21 10:02:16 CEST 2016


On Fri, Sep 16, 2016 at 6:39 PM, Stefan Roese <sr at denx.de> wrote:
> This patch adds the SPI device tree nodes that are still missing to
> the Armada 3700 dts files.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Nadav Haklai <nadavh at marvell.com>
> Cc: Kostya Porotchkin <kostap at marvell.com>
> Cc: Wilson Ding <dingwei at marvell.com>
> Cc: Victor Gu <xigu at marvell.com>
> Cc: Hua Jing <jinghua at marvell.com>
> Cc: Terry Zhou <bjzhou at marvell.com>
> Cc: Hanna Hawa <hannah at marvell.com>
> Cc: Haim Boot <hayim at marvell.com>
> ---
>  arch/arm/dts/armada-3720-db.dts | 17 +++++++++++++++++
>  arch/arm/dts/armada-37xx.dtsi   | 11 +++++++++++
>  2 files changed, 28 insertions(+)
>
> diff --git a/arch/arm/dts/armada-3720-db.dts b/arch/arm/dts/armada-3720-db.dts
> index 86110a6..52c90c2 100644
> --- a/arch/arm/dts/armada-3720-db.dts
> +++ b/arch/arm/dts/armada-3720-db.dts
> @@ -56,6 +56,10 @@
>                 stdout-path = "serial0:115200n8";
>         };
>
> +       aliases {
> +               spi0 = &spi0;
> +       };
> +
>         memory {
>                 device_type = "memory";
>                 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
> @@ -67,6 +71,19 @@
>         status = "okay";
>  };
>
> +&spi0 {
> +       status = "okay";
> +
> +       spi-flash at 0 {
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               compatible = "st,m25p128", "jedec,spi-nor";

Use spi-flash instead of jedec,spi-nor

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list