1 From 5644da4f635a30fc03b4f12d81b2197d716d9cef 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/14] 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
19 +++ b/arch/mips/ralink/dts/rt3050.dtsi
22 + #address-cells = <1>;
24 + compatible = "ralink,rt3050-soc", "ralink,rt3052-soc";
28 + compatible = "mips,mips24KEc";
33 + bootargs = "console=ttyS0,57600 init=/init";
37 + compatible = "palmbus";
38 + reg = <0x10000000 0x200000>;
39 + ranges = <0x0 0x10000000 0x1FFFFF>;
41 + #address-cells = <1>;
45 + compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc";
50 + compatible = "ralink,rt3052-wdt", "ralink,rt2880-wdt";
51 + reg = <0x100 0x100>;
55 + compatible = "ralink,rt3052-intc", "ralink,rt2880-intc";
56 + reg = <0x200 0x100>;
58 + interrupt-controller;
59 + #interrupt-cells = <1>;
63 + compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
64 + reg = <0x300 0x100>;
68 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
74 + ralink,ngpio = <24>;
75 + ralink,regs = [ 00 04 08 0c
81 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
87 + ralink,ngpio = <16>;
88 + ralink,regs = [ 00 04 08 0c
94 + compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
100 + ralink,ngpio = <12>;
101 + ralink,regs = [ 00 04 08 0c
107 + compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
108 + reg = <0xc00 0x100>;
110 + interrupt-parent = <&intc>;
118 +++ b/arch/mips/ralink/dts/rt3052_eval.dts
122 +/include/ "rt3050.dtsi"
125 + #address-cells = <1>;
127 + compatible = "ralink,rt3052-eval-board", "ralink,rt3052-soc";
128 + model = "Ralink RT3052 evaluation board";
131 + reg = <0x0 0x2000000>;
136 + ralink,pinmmux = "uartlite", "spi";
137 + ralink,uartmux = "gpio";
138 + ralink,wdtmux = <0>;
143 + compatible = "cfi-flash";
144 + reg = <0x1f000000 0x800000>;
147 + device-width = <2>;
148 + #address-cells = <1>;
153 + reg = <0x0 0x30000>;
157 + label = "uboot-env";
158 + reg = <0x30000 0x10000>;
162 + label = "calibration";
163 + reg = <0x40000 0x10000>;
168 + reg = <0x50000 0x7b0000>;