John Crispin | 5644da4 | 2013-01-22 20:19:33 +0100 | [diff] [blame^] | 1 | / { |
| 2 | #address-cells = <1>; |
| 3 | #size-cells = <1>; |
| 4 | compatible = "ralink,rt3050-soc", "ralink,rt3052-soc"; |
| 5 | |
| 6 | cpus { |
| 7 | cpu@0 { |
| 8 | compatible = "mips,mips24KEc"; |
| 9 | }; |
| 10 | }; |
| 11 | |
| 12 | chosen { |
| 13 | bootargs = "console=ttyS0,57600 init=/init"; |
| 14 | }; |
| 15 | |
| 16 | palmbus@10000000 { |
| 17 | compatible = "palmbus"; |
| 18 | reg = <0x10000000 0x200000>; |
| 19 | ranges = <0x0 0x10000000 0x1FFFFF>; |
| 20 | |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <1>; |
| 23 | |
| 24 | sysc@0 { |
| 25 | compatible = "ralink,rt3052-sysc", "ralink,rt3050-sysc"; |
| 26 | reg = <0x0 0x100>; |
| 27 | }; |
| 28 | |
| 29 | timer@100 { |
| 30 | compatible = "ralink,rt3052-wdt", "ralink,rt2880-wdt"; |
| 31 | reg = <0x100 0x100>; |
| 32 | }; |
| 33 | |
| 34 | intc: intc@200 { |
| 35 | compatible = "ralink,rt3052-intc", "ralink,rt2880-intc"; |
| 36 | reg = <0x200 0x100>; |
| 37 | |
| 38 | interrupt-controller; |
| 39 | #interrupt-cells = <1>; |
| 40 | }; |
| 41 | |
| 42 | memc@300 { |
| 43 | compatible = "ralink,rt3052-memc", "ralink,rt3050-memc"; |
| 44 | reg = <0x300 0x100>; |
| 45 | }; |
| 46 | |
| 47 | gpio0: gpio@600 { |
| 48 | compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio"; |
| 49 | reg = <0x600 0x34>; |
| 50 | |
| 51 | gpio-controller; |
| 52 | #gpio-cells = <2>; |
| 53 | |
| 54 | ralink,ngpio = <24>; |
| 55 | ralink,regs = [ 00 04 08 0c |
| 56 | 20 24 28 2c |
| 57 | 30 34 ]; |
| 58 | }; |
| 59 | |
| 60 | gpio1: gpio@638 { |
| 61 | compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio"; |
| 62 | reg = <0x638 0x24>; |
| 63 | |
| 64 | gpio-controller; |
| 65 | #gpio-cells = <2>; |
| 66 | |
| 67 | ralink,ngpio = <16>; |
| 68 | ralink,regs = [ 00 04 08 0c |
| 69 | 10 14 18 1c |
| 70 | 20 24 ]; |
| 71 | }; |
| 72 | |
| 73 | gpio2: gpio@660 { |
| 74 | compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio"; |
| 75 | reg = <0x660 0x24>; |
| 76 | |
| 77 | gpio-controller; |
| 78 | #gpio-cells = <2>; |
| 79 | |
| 80 | ralink,ngpio = <12>; |
| 81 | ralink,regs = [ 00 04 08 0c |
| 82 | 10 14 18 1c |
| 83 | 20 24 ]; |
| 84 | }; |
| 85 | |
| 86 | uartlite@c00 { |
| 87 | compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a"; |
| 88 | reg = <0xc00 0x100>; |
| 89 | |
| 90 | interrupt-parent = <&intc>; |
| 91 | interrupts = <12>; |
| 92 | |
| 93 | reg-shift = <2>; |
| 94 | }; |
| 95 | }; |
| 96 | }; |