Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7740 SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 Renesas Solutions Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | /include/ "skeleton.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "renesas,r8a7740"; |
| 15 | |
| 16 | cpus { |
| 17 | cpu@0 { |
| 18 | compatible = "arm,cortex-a9"; |
| 19 | }; |
| 20 | }; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame^] | 21 | |
| 22 | gic: interrupt-controller@c2800000 { |
| 23 | compatible = "arm,cortex-a9-gic"; |
| 24 | #interrupt-cells = <3>; |
| 25 | #address-cells = <1>; |
| 26 | interrupt-controller; |
| 27 | reg = <0xc2800000 0x1000>, |
| 28 | <0xc2000000 0x1000>; |
| 29 | }; |
| 30 | |
| 31 | /* irqpin0: IRQ0 - IRQ7 */ |
| 32 | irqpin0: irqpin@e6900000 { |
| 33 | compatible = "renesas,intc-irqpin"; |
| 34 | #interrupt-cells = <2>; |
| 35 | interrupt-controller; |
| 36 | reg = <0xe6900000 4>, |
| 37 | <0xe6900010 4>, |
| 38 | <0xe6900020 1>, |
| 39 | <0xe6900040 1>, |
| 40 | <0xe6900060 1>; |
| 41 | interrupt-parent = <&gic>; |
| 42 | interrupts = <0 149 0x4 |
| 43 | 0 149 0x4 |
| 44 | 0 149 0x4 |
| 45 | 0 149 0x4 |
| 46 | 0 149 0x4 |
| 47 | 0 149 0x4 |
| 48 | 0 149 0x4 |
| 49 | 0 149 0x4>; |
| 50 | }; |
| 51 | |
| 52 | /* irqpin1: IRQ8 - IRQ15 */ |
| 53 | irqpin1: irqpin@e6900004 { |
| 54 | compatible = "renesas,intc-irqpin"; |
| 55 | #interrupt-cells = <2>; |
| 56 | interrupt-controller; |
| 57 | reg = <0xe6900004 4>, |
| 58 | <0xe6900014 4>, |
| 59 | <0xe6900024 1>, |
| 60 | <0xe6900044 1>, |
| 61 | <0xe6900064 1>; |
| 62 | interrupt-parent = <&gic>; |
| 63 | interrupts = <0 149 0x4 |
| 64 | 0 149 0x4 |
| 65 | 0 149 0x4 |
| 66 | 0 149 0x4 |
| 67 | 0 149 0x4 |
| 68 | 0 149 0x4 |
| 69 | 0 149 0x4 |
| 70 | 0 149 0x4>; |
| 71 | }; |
| 72 | |
| 73 | /* irqpin2: IRQ16 - IRQ23 */ |
| 74 | irqpin2: irqpin@e6900008 { |
| 75 | compatible = "renesas,intc-irqpin"; |
| 76 | #interrupt-cells = <2>; |
| 77 | interrupt-controller; |
| 78 | reg = <0xe6900008 4>, |
| 79 | <0xe6900018 4>, |
| 80 | <0xe6900028 1>, |
| 81 | <0xe6900048 1>, |
| 82 | <0xe6900068 1>; |
| 83 | interrupt-parent = <&gic>; |
| 84 | interrupts = <0 149 0x4 |
| 85 | 0 149 0x4 |
| 86 | 0 149 0x4 |
| 87 | 0 149 0x4 |
| 88 | 0 149 0x4 |
| 89 | 0 149 0x4 |
| 90 | 0 149 0x4 |
| 91 | 0 149 0x4>; |
| 92 | }; |
| 93 | |
| 94 | /* irqpin3: IRQ24 - IRQ31 */ |
| 95 | irqpin3: irqpin@e690000c { |
| 96 | compatible = "renesas,intc-irqpin"; |
| 97 | #interrupt-cells = <2>; |
| 98 | interrupt-controller; |
| 99 | reg = <0xe690000c 4>, |
| 100 | <0xe690001c 4>, |
| 101 | <0xe690002c 1>, |
| 102 | <0xe690004c 1>, |
| 103 | <0xe690006c 1>; |
| 104 | interrupt-parent = <&gic>; |
| 105 | interrupts = <0 149 0x4 |
| 106 | 0 149 0x4 |
| 107 | 0 149 0x4 |
| 108 | 0 149 0x4 |
| 109 | 0 149 0x4 |
| 110 | 0 149 0x4 |
| 111 | 0 149 0x4 |
| 112 | 0 149 0x4>; |
| 113 | }; |
| 114 | |
| 115 | i2c0: i2c@fff20000 { |
| 116 | #address-cells = <1>; |
| 117 | #size-cells = <0>; |
| 118 | compatible = "renesas,rmobile-iic"; |
| 119 | reg = <0xfff20000 0x425>; |
| 120 | interrupt-parent = <&gic>; |
| 121 | interrupts = <0 201 0x4 |
| 122 | 0 202 0x4 |
| 123 | 0 203 0x4 |
| 124 | 0 204 0x4>; |
| 125 | }; |
| 126 | |
| 127 | i2c1: i2c@e6c20000 { |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <0>; |
| 130 | compatible = "renesas,rmobile-iic"; |
| 131 | reg = <0xe6c20000 0x425>; |
| 132 | interrupt-parent = <&gic>; |
| 133 | interrupts = <0 70 0x4 |
| 134 | 0 71 0x4 |
| 135 | 0 72 0x4 |
| 136 | 0 73 0x4>; |
| 137 | }; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 138 | }; |