diff options
author | Steven J. Hill <sjhill@mips.com> | 2013-01-17 12:37:03 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 04:00:21 -0500 |
commit | 9b73100911ac6886e1bbf54a4626d545f9ba6ddf (patch) | |
tree | e2c1ceef05fe279eba70153908a7df75b18d401d /arch/mips/mti-sead3/sead3.dts | |
parent | 8fba1e588b7ed124bef42548924a6f4f95de9dba (diff) |
MIPS: SEAD3: Implement OF support.
Activate USE_OF for SEAD-3 platform. Add basic DTS file and convert memory
detection and reservations to use OF.
[ralf@linux-mips.org: Remove unnecessary #ifdef wrapper in generic.h. Make
<asm/mips-boards/generic.h> inclusion work even without prior
<linux/of_fdt.h> inclusion.]
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4809/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3/sead3.dts')
-rw-r--r-- | arch/mips/mti-sead3/sead3.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/mips/mti-sead3/sead3.dts b/arch/mips/mti-sead3/sead3.dts new file mode 100644 index 000000000000..658f43787056 --- /dev/null +++ b/arch/mips/mti-sead3/sead3.dts | |||
@@ -0,0 +1,26 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /memreserve/ 0x00000000 0x00001000; // reserved | ||
4 | /memreserve/ 0x00001000 0x000ef000; // ROM data | ||
5 | /memreserve/ 0x000f0000 0x004cc000; // reserved | ||
6 | |||
7 | / { | ||
8 | #address-cells = <1>; | ||
9 | #size-cells = <1>; | ||
10 | compatible = "mti,sead-3"; | ||
11 | |||
12 | cpus { | ||
13 | cpu@0 { | ||
14 | compatible = "mti,mips14KEc", "mti,mips14Kc"; | ||
15 | }; | ||
16 | }; | ||
17 | |||
18 | chosen { | ||
19 | bootargs = "console=ttyS1,38400 rootdelay=10 root=/dev/sda3"; | ||
20 | }; | ||
21 | |||
22 | memory { | ||
23 | device_type = "memory"; | ||
24 | reg = <0x0 0x08000000>; | ||
25 | }; | ||
26 | }; | ||