From ab41ed7d558bbbe2f91b2c6ba248d4895032136e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 13 Oct 2014 19:41:36 +0000 Subject: ralink: Build 8M image for 7Links PX-4885 7Links PX-4885 (clones) can also be purchased with 8MB flash. Creating images for these routers, use dtsi for common part Signed-off-by: Cezary Jackiewicz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42892 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/PX4885-4M.dts | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 target/linux/ramips/dts/PX4885-4M.dts (limited to 'target/linux/ramips/dts/PX4885-4M.dts') diff --git a/target/linux/ramips/dts/PX4885-4M.dts b/target/linux/ramips/dts/PX4885-4M.dts new file mode 100644 index 0000000000..39bca1c760 --- /dev/null +++ b/target/linux/ramips/dts/PX4885-4M.dts @@ -0,0 +1,42 @@ +/dts-v1/; + +/include/ "PX4885.dtsi" + +/ { + palmbus@10000000 { + spi@b00 { + status = "okay"; + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mx25l3205d"; + reg = <0 0>; + linux,modalias = "m25p80", "mx25l3205d"; + spi-max-frequency = <10000000>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x20000>; + read-only; + }; + + partition@20000 { + label = "devdata"; + reg = <0x20000 0x20000>; + read-only; + }; + + factory: partition@40000 { + label = "devconf"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0x3b0000>; + }; + }; + }; + }; +}; -- cgit v1.2.3