diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-12 02:27:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 19:19:11 -0400 |
commit | 6fbfe90e58b03c4126e3f21d9d9cc53c116003b2 (patch) | |
tree | 25f2ff741ee4795cf539fa25956201b8641ddc54 /arch/mips/ralink | |
parent | d99e19c799a6b48a5c6d733f5885862df5c77c70 (diff) |
DT: MIPS: ralink: add RT3883 dts files
Add a dtsi file for RT3883 SoC and a sample dts file.
Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Patchwork: http://patchwork.linux-mips.org/patch/5189/
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/Kconfig | 4 | ||||
-rw-r--r-- | arch/mips/ralink/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/ralink/dts/rt3883.dtsi | 58 | ||||
-rw-r--r-- | arch/mips/ralink/dts/rt3883_eval.dts | 16 |
4 files changed, 79 insertions, 0 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig index 2f6fbb809e51..493411f5cd75 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig | |||
@@ -42,6 +42,10 @@ choice | |||
42 | bool "RT305x eval kit" | 42 | bool "RT305x eval kit" |
43 | depends on SOC_RT305X | 43 | depends on SOC_RT305X |
44 | 44 | ||
45 | config DTB_RT3883_EVAL | ||
46 | bool "RT3883 eval kit" | ||
47 | depends on SOC_RT3883 | ||
48 | |||
45 | endchoice | 49 | endchoice |
46 | 50 | ||
47 | endif | 51 | endif |
diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile index f635a010193f..040a986de32c 100644 --- a/arch/mips/ralink/dts/Makefile +++ b/arch/mips/ralink/dts/Makefile | |||
@@ -1,2 +1,3 @@ | |||
1 | obj-$(CONFIG_DTB_RT2880_EVAL) := rt2880_eval.dtb.o | 1 | obj-$(CONFIG_DTB_RT2880_EVAL) := rt2880_eval.dtb.o |
2 | obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o | 2 | obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o |
3 | obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o | ||
diff --git a/arch/mips/ralink/dts/rt3883.dtsi b/arch/mips/ralink/dts/rt3883.dtsi new file mode 100644 index 000000000000..3b131dd0d5ac --- /dev/null +++ b/arch/mips/ralink/dts/rt3883.dtsi | |||
@@ -0,0 +1,58 @@ | |||
1 | / { | ||
2 | #address-cells = <1>; | ||
3 | #size-cells = <1>; | ||
4 | compatible = "ralink,rt3883-soc"; | ||
5 | |||
6 | cpus { | ||
7 | cpu@0 { | ||
8 | compatible = "mips,mips74Kc"; | ||
9 | }; | ||
10 | }; | ||
11 | |||
12 | cpuintc: cpuintc@0 { | ||
13 | #address-cells = <0>; | ||
14 | #interrupt-cells = <1>; | ||
15 | interrupt-controller; | ||
16 | compatible = "mti,cpu-interrupt-controller"; | ||
17 | }; | ||
18 | |||
19 | palmbus@10000000 { | ||
20 | compatible = "palmbus"; | ||
21 | reg = <0x10000000 0x200000>; | ||
22 | ranges = <0x0 0x10000000 0x1FFFFF>; | ||
23 | |||
24 | #address-cells = <1>; | ||
25 | #size-cells = <1>; | ||
26 | |||
27 | sysc@0 { | ||
28 | compatible = "ralink,rt3883-sysc", "ralink,rt3050-sysc"; | ||
29 | reg = <0x0 0x100>; | ||
30 | }; | ||
31 | |||
32 | intc: intc@200 { | ||
33 | compatible = "ralink,rt3883-intc", "ralink,rt2880-intc"; | ||
34 | reg = <0x200 0x100>; | ||
35 | |||
36 | interrupt-controller; | ||
37 | #interrupt-cells = <1>; | ||
38 | |||
39 | interrupt-parent = <&cpuintc>; | ||
40 | interrupts = <2>; | ||
41 | }; | ||
42 | |||
43 | memc@300 { | ||
44 | compatible = "ralink,rt3883-memc", "ralink,rt3050-memc"; | ||
45 | reg = <0x300 0x100>; | ||
46 | }; | ||
47 | |||
48 | uartlite@c00 { | ||
49 | compatible = "ralink,rt3883-uart", "ralink,rt2880-uart", "ns16550a"; | ||
50 | reg = <0xc00 0x100>; | ||
51 | |||
52 | interrupt-parent = <&intc>; | ||
53 | interrupts = <12>; | ||
54 | |||
55 | reg-shift = <2>; | ||
56 | }; | ||
57 | }; | ||
58 | }; | ||
diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts new file mode 100644 index 000000000000..2fa6b330bf4f --- /dev/null +++ b/arch/mips/ralink/dts/rt3883_eval.dts | |||
@@ -0,0 +1,16 @@ | |||
1 | /dts-v1/; | ||
2 | |||
3 | /include/ "rt3883.dtsi" | ||
4 | |||
5 | / { | ||
6 | compatible = "ralink,rt3883-eval-board", "ralink,rt3883-soc"; | ||
7 | model = "Ralink RT3883 evaluation board"; | ||
8 | |||
9 | memory@0 { | ||
10 | reg = <0x0 0x2000000>; | ||
11 | }; | ||
12 | |||
13 | chosen { | ||
14 | bootargs = "console=ttyS0,57600"; | ||
15 | }; | ||
16 | }; | ||