1 From 8208a43c301d9164802dedeec7455dbdd70ca286 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 22 Jan 2013 20:19:33 +0100
4 Subject: [PATCH 09/79] MIPS: ralink: adds rt305x devicetree
6 This adds the devicetree file that describes the rt305x evaluation kit.
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10 Patchwork: http://patchwork.linux-mips.org/patch/4898/
12 arch/mips/ralink/dts/rt3050.dtsi | 96 ++++++++++++++++++++++++++++++++++
13 arch/mips/ralink/dts/rt3052_eval.dts | 52 ++++++++++++++++++
14 2 files changed, 148 insertions(+)
15 create mode 100644 arch/mips/ralink/dts/rt3050.dtsi
16 create mode 100644 arch/mips/ralink/dts/rt3052_eval.dts
18 diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi
20 index 0000000..fd49daa
22 +++ b/arch/mips/ralink/dts/rt3050.dtsi
25 + #address-cells = <1>;
27 + compatible = "ralink,rt3050-soc", "ralink,rt3052-soc";
31 + compatible = "mips,mips24KEc";
36 + bootargs = "console=ttyS0,57600 init=/init";
40 + compatible = "palmbus";
41 + reg = <0x10000000 0x200000>;
42 + ranges = <0x0 0x10000000 0x1FFFFF>;
44 + #address-cells = <1>;
48 + compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc";
53 + compatible = "ralink,rt3052-wdt", "ralink,rt2880-wdt";
54 + reg = <0x100 0x100>;
58 + compatible = "ralink,rt3052-intc", "ralink,rt2880-intc";
59 + reg = <0x200 0x100>;
61 + interrupt-controller;
62 + #interrupt-cells = <1>;
66 + compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
67 + reg = <0x300 0x100>;
71 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
77 + ralink,ngpio = <24>;
78 + ralink,regs = [ 00 04 08 0c
84 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
90 + ralink,ngpio = <16>;
91 + ralink,regs = [ 00 04 08 0c
97 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
103 + ralink,ngpio = <12>;
104 + ralink,regs = [ 00 04 08 0c
110 + compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
111 + reg = <0xc00 0x100>;
113 + interrupt-parent = <&intc>;
120 diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts
122 index 0000000..dc56e58
124 +++ b/arch/mips/ralink/dts/rt3052_eval.dts
128 +/include/ "rt3050.dtsi"
131 + #address-cells = <1>;
133 + compatible = "ralink,rt3052-eval-board", "ralink,rt3052-soc";
134 + model = "Ralink RT3052 evaluation board";
137 + reg = <0x0 0x2000000>;
142 + ralink,pinmux = "uartlite", "spi";
143 + ralink,uartmux = "gpio";
144 + ralink,wdtmux = <0>;
149 + compatible = "cfi-flash";
150 + reg = <0x1f000000 0x800000>;
153 + device-width = <2>;
154 + #address-cells = <1>;
159 + reg = <0x0 0x30000>;
163 + label = "uboot-env";
164 + reg = <0x30000 0x10000>;
168 + label = "calibration";
169 + reg = <0x40000 0x10000>;
174 + reg = <0x50000 0x7b0000>;