diff options
author | Steven J. Hill <sjhill@mips.com> | 2013-01-17 11:37:03 -0600 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 10:00:21 +0100 |
commit | 9b73100911ac6886e1bbf54a4626d545f9ba6ddf (patch) | |
tree | e2c1ceef05fe279eba70153908a7df75b18d401d /arch/mips/mti-sead3/sead3.dts | |
parent | 8fba1e588b7ed124bef42548924a6f4f95de9dba (diff) | |
download | lwn-9b73100911ac6886e1bbf54a4626d545f9ba6ddf.tar.gz lwn-9b73100911ac6886e1bbf54a4626d545f9ba6ddf.zip |
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 @@ +/dts-v1/; + +/memreserve/ 0x00000000 0x00001000; // reserved +/memreserve/ 0x00001000 0x000ef000; // ROM data +/memreserve/ 0x000f0000 0x004cc000; // reserved + +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mti,sead-3"; + + cpus { + cpu@0 { + compatible = "mti,mips14KEc", "mti,mips14Kc"; + }; + }; + + chosen { + bootargs = "console=ttyS1,38400 rootdelay=10 root=/dev/sda3"; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; |