diff --git a/trunk/linux-4.4.x/arch/mips/boot/dts/ralink/jdcloud-re-sp-01b.dts b/trunk/linux-4.4.x/arch/mips/boot/dts/ralink/jdcloud-re-sp-01b.dts index 06f0e501ea..c9707f5754 100644 --- a/trunk/linux-4.4.x/arch/mips/boot/dts/ralink/jdcloud-re-sp-01b.dts +++ b/trunk/linux-4.4.x/arch/mips/boot/dts/ralink/jdcloud-re-sp-01b.dts @@ -2,7 +2,6 @@ #include "mt7621.dtsi" #include -#include "mt7621-spi-32m-layout.dtsi" #include "mt7621-raeth-gmac2.dtsi" #include "mt7621-pinctrl-default-gpio.dtsi" @@ -48,6 +47,54 @@ }; }; +&spi0 { + status = "okay"; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <25000000>; + m25p,fast-read; + + partition@0 { + label = "Bootloader"; + reg = <0x00000 0x30000>; /* 192K */ + }; + + partition@30000 { + label = "Reserved"; + reg = <0x30000 0x10000>; /* 64K */ + }; + + partition@40000 { + label = "Factory"; + reg = <0x40000 0x10000>; /* 64K */ + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0x1f20000>; + }; + + partition@1f70000 { + label = "Config"; + reg = <0x1f70000 0x10000>; + }; + + partition@1f80000 { + label = "Storage"; + reg = <0x1f80000 0x80000>; /* 512K */ + }; + + partition@all { + label = "ALL"; + reg = <0x0 0x2000000>; + }; + }; +}; + &pcie { status = "okay"; };