diff mbox series

[U-Boot,02/14] arm: dts: Add dts for Stratix10 SoC

Message ID 1505812951-25088-3-git-send-email-chin.liang.see@intel.com
State Superseded
Delegated to: Marek Vasut
Headers show
Series Enable Stratix10 SoC support | expand

Commit Message

See, Chin Liang Sept. 19, 2017, 9:22 a.m. UTC
From: Chin Liang See <chin.liang.see@intel.com>

Device tree for Stratix10 SoC

Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
---
 arch/arm/dts/Makefile                    |   3 +-
 arch/arm/dts/socfpga_stratix10_socdk.dts | 141 +++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/socfpga_stratix10_socdk.dts

Comments

Dinh Nguyen Sept. 26, 2017, 9:34 p.m. UTC | #1
On Tue, Sep 19, 2017 at 4:22 AM,  <chin.liang.see@intel.com> wrote:
> From: Chin Liang See <chin.liang.see@intel.com>
>
> Device tree for Stratix10 SoC
>
> Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
> ---
>  arch/arm/dts/Makefile                    |   3 +-
>  arch/arm/dts/socfpga_stratix10_socdk.dts | 141 +++++++++++++++++++++++++++++++
>  2 files changed, 143 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/socfpga_stratix10_socdk.dts
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index fee4680..4cf5fd0 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -171,7 +171,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=                               \
>         socfpga_cyclone5_sockit.dtb                     \
>         socfpga_cyclone5_socrates.dtb                   \
>         socfpga_cyclone5_sr1500.dtb                     \
> -       socfpga_cyclone5_vining_fpga.dtb
> +       socfpga_cyclone5_vining_fpga.dtb                \
> +       socfpga_stratix10_socdk.dtb
>
>  dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb  \
>         dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb
> diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts
> new file mode 100644
> index 0000000..484c630
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts
> @@ -0,0 +1,141 @@
> +/*
> + * Copyright (C) 2016-2017 Intel Corporation <www.intel.com>
> + *
> + * SPDX-License-Identifier:    GPL-2.0
> + */
> +
> +/dts-v1/;
> +#include "skeleton.dtsi"
> +#include <dt-bindings/reset/altr,rst-mgr-s10.h>

You don't add the patch for this include file until patch 4/14, which means
the build will fail until patch 4 is applied. You need to move this patch
after 4/14.

> +
> +/ {
> +       model = "Intel SOCFPGA Stratix 10 SoC Development Kit";
> +       compatible = "altr,socfpga-stratix10", "altr,socfpga";
> +
> +       #address-cells = <1>;
> +       #size-cells = <1>;
> +
> +       chosen {
> +               bootargs = "console=ttyS0,115200";
> +       };
> +
> +       aliases {
> +               ethernet0 = &gmac0;
> +               spi0 = &qspi;
> +       };
> +
> +       memory {
> +               name = "memory";
> +               device_type = "memory";
> +               reg = <0x0 0x80000000>; /* 2GB */
> +       };
> +
> +       regulator_3_3v: 3-3-v-regulator {
> +               compatible = "regulator-fixed";
> +               regulator-name = "3.3V";
> +               regulator-min-microvolt = <3300000>;
> +               regulator-max-microvolt = <3300000>;
> +       };
> +
> +       soc {
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               compatible = "simple-bus";
> +               device_type = "soc";
> +               ranges;
> +               u-boot,dm-pre-reloc;
> +
> +               rst: rstmgr@ffd11000 {
> +                       #reset-cells = <1>;
> +                       compatible = "altr,rst-mgr";
> +                       reg = <0xffd11000 0x100>;
> +                       altr,modrst-offset = <0x20>;
> +               };
> +
> +               gmac0: ethernet@ff800000 {
> +                       compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
> +                       reg = <0xff800000 0x2000>;
> +                       interrupts = <0 90 4>;
> +                       interrupt-names = "macirq";
> +                       mac-address = [00 00 00 00 00 00];
> +                       resets = <&rst EMAC0_RESET>;
> +                       reset-names = "stmmaceth";
> +                       phy-mode = "rgmii";
> +                       phy-addr = <0xffffffff>; /* probe for phy addr */
> +                       max-speed = <1000>;
> +                       txd0-skew-ps = <0>; /* -420ps */
> +                       txd1-skew-ps = <0>; /* -420ps */
> +                       txd2-skew-ps = <0>; /* -420ps */
> +                       txd3-skew-ps = <0>; /* -420ps */
> +                       rxd0-skew-ps = <420>; /* 0ps */
> +                       rxd1-skew-ps = <420>; /* 0ps */
> +                       rxd2-skew-ps = <420>; /* 0ps */
> +                       rxd3-skew-ps = <420>; /* 0ps */
> +                       txen-skew-ps = <0>; /* -420ps */
> +                       txc-skew-ps = <1860>; /* 960ps */
> +                       rxdv-skew-ps = <420>; /* 0ps */
> +                       rxc-skew-ps = <1680>; /* 780ps */

These are PHY properties, which should be in a separate PHY node.

Dinh
Dinh Nguyen Sept. 26, 2017, 9:37 p.m. UTC | #2
On Tue, Sep 19, 2017 at 4:22 AM,  <chin.liang.see@intel.com> wrote:
> From: Chin Liang See <chin.liang.see@intel.com>
>
> Device tree for Stratix10 SoC
>
> Signed-off-by: Chin Liang See <chin.liang.see@intel.com>
> ---
>  arch/arm/dts/Makefile                    |   3 +-
>  arch/arm/dts/socfpga_stratix10_socdk.dts | 141 +++++++++++++++++++++++++++++++
>  2 files changed, 143 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/socfpga_stratix10_socdk.dts
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index fee4680..4cf5fd0 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -171,7 +171,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) +=                               \
>         socfpga_cyclone5_sockit.dtb                     \
>         socfpga_cyclone5_socrates.dtb                   \
>         socfpga_cyclone5_sr1500.dtb                     \
> -       socfpga_cyclone5_vining_fpga.dtb
> +       socfpga_cyclone5_vining_fpga.dtb                \
> +       socfpga_stratix10_socdk.dtb
>
>  dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb  \
>         dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb
> diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts
> new file mode 100644
> index 0000000..484c630
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts
> @@ -0,0 +1,141 @@
> +/*
> + * Copyright (C) 2016-2017 Intel Corporation <www.intel.com>
> + *
> + * SPDX-License-Identifier:    GPL-2.0
> + */
> +
> +/dts-v1/;
> +#include "skeleton.dtsi"
> +#include <dt-bindings/reset/altr,rst-mgr-s10.h>
> +
> +/ {
> +       model = "Intel SOCFPGA Stratix 10 SoC Development Kit";
> +       compatible = "altr,socfpga-stratix10", "altr,socfpga";
> +
> +       #address-cells = <1>;
> +       #size-cells = <1>;
> +
> +       chosen {
> +               bootargs = "console=ttyS0,115200";
> +       };
> +
> +       aliases {
> +               ethernet0 = &gmac0;
> +               spi0 = &qspi;
> +       };
> +
> +       memory {
> +               name = "memory";
> +               device_type = "memory";
> +               reg = <0x0 0x80000000>; /* 2GB */
> +       };
> +
> +       regulator_3_3v: 3-3-v-regulator {
> +               compatible = "regulator-fixed";
> +               regulator-name = "3.3V";
> +               regulator-min-microvolt = <3300000>;
> +               regulator-max-microvolt = <3300000>;
> +       };
> +
> +       soc {
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               compatible = "simple-bus";
> +               device_type = "soc";
> +               ranges;
> +               u-boot,dm-pre-reloc;
> +
> +               rst: rstmgr@ffd11000 {
> +                       #reset-cells = <1>;
> +                       compatible = "altr,rst-mgr";
> +                       reg = <0xffd11000 0x100>;
> +                       altr,modrst-offset = <0x20>;
> +               };

Where are the cpu nodes?

Dinh
See, Chin Liang Sept. 29, 2017, 1:06 p.m. UTC | #3
On Tue, 2017-09-26 at 16:34 -0500, Dinh Nguyen wrote:
> On Tue, Sep 19, 2017 at 4:22 AM,  <chin.liang.see@intel.com> wrote:

> > 

> > From: Chin Liang See <chin.liang.see@intel.com>

> > 

> > Device tree for Stratix10 SoC

> > 

> > Signed-off-by: Chin Liang See <chin.liang.see@intel.com>

> > ---

> >  arch/arm/dts/Makefile                    |   3 +-

> >  arch/arm/dts/socfpga_stratix10_socdk.dts | 141

> > +++++++++++++++++++++++++++++++

> >  2 files changed, 143 insertions(+), 1 deletion(-)

> >  create mode 100644 arch/arm/dts/socfpga_stratix10_socdk.dts

> > 

> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile

> > index fee4680..4cf5fd0 100644

> > --- a/arch/arm/dts/Makefile

> > +++ b/arch/arm/dts/Makefile

> > @@ -171,7 +171,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA)

> > +=                               \

> >         socfpga_cyclone5_sockit.dtb                     \

> >         socfpga_cyclone5_socrates.dtb                   \

> >         socfpga_cyclone5_sr1500.dtb                     \

> > -       socfpga_cyclone5_vining_fpga.dtb

> > +       socfpga_cyclone5_vining_fpga.dtb                \

> > +       socfpga_stratix10_socdk.dtb

> > 

> >  dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb  \

> >         dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb

> > diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts

> > b/arch/arm/dts/socfpga_stratix10_socdk.dts

> > new file mode 100644

> > index 0000000..484c630

> > --- /dev/null

> > +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts

> > @@ -0,0 +1,141 @@

> > +/*

> > + * Copyright (C) 2016-2017 Intel Corporation <www.intel.com>

> > + *

> > + * SPDX-License-Identifier:    GPL-2.0

> > + */

> > +

> > +/dts-v1/;

> > +#include "skeleton.dtsi"

> > +#include <dt-bindings/reset/altr,rst-mgr-s10.h>

> You don't add the patch for this include file until patch 4/14, which

> means

> the build will fail until patch 4 is applied. You need to move this

> patch

> after 4/14.


Yes, good catch. Let shuffle this

> 

> > 

> > +

> > +/ {

> > +       model = "Intel SOCFPGA Stratix 10 SoC Development Kit";

> > +       compatible = "altr,socfpga-stratix10", "altr,socfpga";

> > +

> > +       #address-cells = <1>;

> > +       #size-cells = <1>;

> > +

> > +       chosen {

> > +               bootargs = "console=ttyS0,115200";

> > +       };

> > +

> > +       aliases {

> > +               ethernet0 = &gmac0;

> > +               spi0 = &qspi;

> > +       };

> > +

> > +       memory {

> > +               name = "memory";

> > +               device_type = "memory";

> > +               reg = <0x0 0x80000000>; /* 2GB */

> > +       };

> > +

> > +       regulator_3_3v: 3-3-v-regulator {

> > +               compatible = "regulator-fixed";

> > +               regulator-name = "3.3V";

> > +               regulator-min-microvolt = <3300000>;

> > +               regulator-max-microvolt = <3300000>;

> > +       };

> > +

> > +       soc {

> > +               #address-cells = <1>;

> > +               #size-cells = <1>;

> > +               compatible = "simple-bus";

> > +               device_type = "soc";

> > +               ranges;

> > +               u-boot,dm-pre-reloc;

> > +

> > +               rst: rstmgr@ffd11000 {

> > +                       #reset-cells = <1>;

> > +                       compatible = "altr,rst-mgr";

> > +                       reg = <0xffd11000 0x100>;

> > +                       altr,modrst-offset = <0x20>;

> > +               };

> > +

> > +               gmac0: ethernet@ff800000 {

> > +                       compatible = "altr,socfpga-stmmac",

> > "snps,dwmac-3.74a", "snps,dwmac";

> > +                       reg = <0xff800000 0x2000>;

> > +                       interrupts = <0 90 4>;

> > +                       interrupt-names = "macirq";

> > +                       mac-address = [00 00 00 00 00 00];

> > +                       resets = <&rst EMAC0_RESET>;

> > +                       reset-names = "stmmaceth";

> > +                       phy-mode = "rgmii";

> > +                       phy-addr = <0xffffffff>; /* probe for phy

> > addr */

> > +                       max-speed = <1000>;

> > +                       txd0-skew-ps = <0>; /* -420ps */

> > +                       txd1-skew-ps = <0>; /* -420ps */

> > +                       txd2-skew-ps = <0>; /* -420ps */

> > +                       txd3-skew-ps = <0>; /* -420ps */

> > +                       rxd0-skew-ps = <420>; /* 0ps */

> > +                       rxd1-skew-ps = <420>; /* 0ps */

> > +                       rxd2-skew-ps = <420>; /* 0ps */

> > +                       rxd3-skew-ps = <420>; /* 0ps */

> > +                       txen-skew-ps = <0>; /* -420ps */

> > +                       txc-skew-ps = <1860>; /* 960ps */

> > +                       rxdv-skew-ps = <420>; /* 0ps */

> > +                       rxc-skew-ps = <1680>; /* 780ps */

> These are PHY properties, which should be in a separate PHY node.


Let me check on the PHY driver

Chin Liang

> 

> Dinh
See, Chin Liang Sept. 29, 2017, 1:07 p.m. UTC | #4
On Tue, 2017-09-26 at 16:37 -0500, Dinh Nguyen wrote:
> On Tue, Sep 19, 2017 at 4:22 AM,  <chin.liang.see@intel.com> wrote:

> > 

> > From: Chin Liang See <chin.liang.see@intel.com>

> > 

> > Device tree for Stratix10 SoC

> > 

> > Signed-off-by: Chin Liang See <chin.liang.see@intel.com>

> > ---

> >  arch/arm/dts/Makefile                    |   3 +-

> >  arch/arm/dts/socfpga_stratix10_socdk.dts | 141

> > +++++++++++++++++++++++++++++++

> >  2 files changed, 143 insertions(+), 1 deletion(-)

> >  create mode 100644 arch/arm/dts/socfpga_stratix10_socdk.dts

> > 

> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile

> > index fee4680..4cf5fd0 100644

> > --- a/arch/arm/dts/Makefile

> > +++ b/arch/arm/dts/Makefile

> > @@ -171,7 +171,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA)

> > +=                               \

> >         socfpga_cyclone5_sockit.dtb                     \

> >         socfpga_cyclone5_socrates.dtb                   \

> >         socfpga_cyclone5_sr1500.dtb                     \

> > -       socfpga_cyclone5_vining_fpga.dtb

> > +       socfpga_cyclone5_vining_fpga.dtb                \

> > +       socfpga_stratix10_socdk.dtb

> > 

> >  dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb  \

> >         dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb

> > diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts

> > b/arch/arm/dts/socfpga_stratix10_socdk.dts

> > new file mode 100644

> > index 0000000..484c630

> > --- /dev/null

> > +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts

> > @@ -0,0 +1,141 @@

> > +/*

> > + * Copyright (C) 2016-2017 Intel Corporation <www.intel.com>

> > + *

> > + * SPDX-License-Identifier:    GPL-2.0

> > + */

> > +

> > +/dts-v1/;

> > +#include "skeleton.dtsi"

> > +#include <dt-bindings/reset/altr,rst-mgr-s10.h>

> > +

> > +/ {

> > +       model = "Intel SOCFPGA Stratix 10 SoC Development Kit";

> > +       compatible = "altr,socfpga-stratix10", "altr,socfpga";

> > +

> > +       #address-cells = <1>;

> > +       #size-cells = <1>;

> > +

> > +       chosen {

> > +               bootargs = "console=ttyS0,115200";

> > +       };

> > +

> > +       aliases {

> > +               ethernet0 = &gmac0;

> > +               spi0 = &qspi;

> > +       };

> > +

> > +       memory {

> > +               name = "memory";

> > +               device_type = "memory";

> > +               reg = <0x0 0x80000000>; /* 2GB */

> > +       };

> > +

> > +       regulator_3_3v: 3-3-v-regulator {

> > +               compatible = "regulator-fixed";

> > +               regulator-name = "3.3V";

> > +               regulator-min-microvolt = <3300000>;

> > +               regulator-max-microvolt = <3300000>;

> > +       };

> > +

> > +       soc {

> > +               #address-cells = <1>;

> > +               #size-cells = <1>;

> > +               compatible = "simple-bus";

> > +               device_type = "soc";

> > +               ranges;

> > +               u-boot,dm-pre-reloc;

> > +

> > +               rst: rstmgr@ffd11000 {

> > +                       #reset-cells = <1>;

> > +                       compatible = "altr,rst-mgr";

> > +                       reg = <0xffd11000 0x100>;

> > +                       altr,modrst-offset = <0x20>;

> > +               };

> Where are the cpu nodes?


yes, need to be added

CHin Liang
> 

> Dinh
diff mbox series

Patch

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index fee4680..4cf5fd0 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -171,7 +171,8 @@  dtb-$(CONFIG_ARCH_SOCFPGA) +=				\
 	socfpga_cyclone5_sockit.dtb			\
 	socfpga_cyclone5_socrates.dtb			\
 	socfpga_cyclone5_sr1500.dtb			\
-	socfpga_cyclone5_vining_fpga.dtb
+	socfpga_cyclone5_vining_fpga.dtb		\
+	socfpga_stratix10_socdk.dtb
 
 dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb	\
 	dra72-evm-revc.dtb dra71-evm.dtb dra76-evm.dtb
diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts
new file mode 100644
index 0000000..484c630
--- /dev/null
+++ b/arch/arm/dts/socfpga_stratix10_socdk.dts
@@ -0,0 +1,141 @@ 
+/*
+ * Copyright (C) 2016-2017 Intel Corporation <www.intel.com>
+ *
+ * SPDX-License-Identifier:	GPL-2.0
+ */
+
+/dts-v1/;
+#include "skeleton.dtsi"
+#include <dt-bindings/reset/altr,rst-mgr-s10.h>
+
+/ {
+	model = "Intel SOCFPGA Stratix 10 SoC Development Kit";
+	compatible = "altr,socfpga-stratix10", "altr,socfpga";
+
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	aliases {
+		ethernet0 = &gmac0;
+		spi0 = &qspi;
+	};
+
+	memory {
+		name = "memory";
+		device_type = "memory";
+		reg = <0x0 0x80000000>; /* 2GB */
+	};
+
+	regulator_3_3v: 3-3-v-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
+	soc {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "simple-bus";
+		device_type = "soc";
+		ranges;
+		u-boot,dm-pre-reloc;
+
+		rst: rstmgr@ffd11000 {
+			#reset-cells = <1>;
+			compatible = "altr,rst-mgr";
+			reg = <0xffd11000 0x100>;
+			altr,modrst-offset = <0x20>;
+		};
+
+		gmac0: ethernet@ff800000 {
+			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
+			reg = <0xff800000 0x2000>;
+			interrupts = <0 90 4>;
+			interrupt-names = "macirq";
+			mac-address = [00 00 00 00 00 00];
+			resets = <&rst EMAC0_RESET>;
+			reset-names = "stmmaceth";
+			phy-mode = "rgmii";
+			phy-addr = <0xffffffff>; /* probe for phy addr */
+			max-speed = <1000>;
+			txd0-skew-ps = <0>; /* -420ps */
+			txd1-skew-ps = <0>; /* -420ps */
+			txd2-skew-ps = <0>; /* -420ps */
+			txd3-skew-ps = <0>; /* -420ps */
+			rxd0-skew-ps = <420>; /* 0ps */
+			rxd1-skew-ps = <420>; /* 0ps */
+			rxd2-skew-ps = <420>; /* 0ps */
+			rxd3-skew-ps = <420>; /* 0ps */
+			txen-skew-ps = <0>; /* -420ps */
+			txc-skew-ps = <1860>; /* 960ps */
+			rxdv-skew-ps = <420>; /* 0ps */
+			rxc-skew-ps = <1680>; /* 780ps */
+			status = "okay";
+		};
+
+		mmc0: dwmmc0@0xff808000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "altr,socfpga-dw-mshc";
+			reg = <0xff808000 0x1000>;
+			interrupts = <0 96 4>;
+			num-slots = <1>;
+			broken-cd;
+			bus-width = <4>;
+			fifo-depth = <0x400>;
+			cap-mmc-highspeed;
+			cap-sd-highspeed;
+			drvsel = <3>;
+			smplsel = <0>;
+			status = "okay";
+			u-boot,dm-pre-reloc;
+			vmmc-supply = <&regulator_3_3v>;
+			vqmmc-supply = <&regulator_3_3v>;
+		};
+
+		uart0: serial0@ffc02000 {
+			compatible = "snps,dw-apb-uart";
+			reg = <0xffc02000 0x1000>;
+			interrupts = <0 108 4>;
+			reg-shift = <2>;
+			reg-io-width = <4>;
+			status = "okay";
+		};
+
+		qspi: spi@ff8d2000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "cadence,qspi";
+			reg = <0xff8d2000 0x100>,
+				<0xff900000 0x100000>;
+			interrupts = <0 98 4>;
+			sram-size = <1024>;
+			bus-num = <0>;
+			spi-max-frequency = <50000000>;
+			spi-tx-bus-width = <1>;
+			spi-rx-bus-width = <4>;
+			status = "okay";
+			u-boot,dm-pre-reloc;
+
+			flash0: n25q1024a@0 {
+				u-boot,dm-pre-reloc;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "stmicro,n25q1024a";
+				reg = <0>;      /* chip select */
+				spi-max-frequency = <50000000>;
+				page-size = <256>;
+				block-size = <16>; /* 2^16, 64KB */
+				tshsl-ns = <50>;
+				tsd2d-ns = <50>;
+				tchsh-ns = <4>;
+				tslch-ns = <4>;
+			};
+		};
+	};
+};