Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7790 SoC |
| 3 | * |
| 4 | * Copyright (C) 2013 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 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 11 | / { |
| 12 | compatible = "renesas,r8a7790"; |
| 13 | interrupt-parent = <&gic>; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 16 | |
| 17 | cpus { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
| 20 | |
| 21 | cpu0: cpu@0 { |
| 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a15"; |
| 24 | reg = <0>; |
| 25 | clock-frequency = <1300000000>; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | gic: interrupt-controller@f1001000 { |
| 30 | compatible = "arm,cortex-a15-gic"; |
| 31 | #interrupt-cells = <3>; |
| 32 | #address-cells = <0>; |
| 33 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 34 | reg = <0 0xf1001000 0 0x1000>, |
| 35 | <0 0xf1002000 0 0x1000>, |
| 36 | <0 0xf1004000 0 0x2000>, |
| 37 | <0 0xf1006000 0 0x2000>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 38 | interrupts = <1 9 0xf04>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 39 | }; |
| 40 | |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame^] | 41 | gpio0: gpio@ffc40000 { |
| 42 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 43 | reg = <0 0xffc40000 0 0x2c>; |
| 44 | interrupt-parent = <&gic>; |
| 45 | interrupts = <0 4 0x4>; |
| 46 | #gpio-cells = <2>; |
| 47 | gpio-controller; |
| 48 | gpio-ranges = <&pfc 0 0 32>; |
| 49 | #interrupt-cells = <2>; |
| 50 | interrupt-controller; |
| 51 | }; |
| 52 | |
| 53 | gpio1: gpio@ffc41000 { |
| 54 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 55 | reg = <0 0xffc41000 0 0x2c>; |
| 56 | interrupt-parent = <&gic>; |
| 57 | interrupts = <0 5 0x4>; |
| 58 | #gpio-cells = <2>; |
| 59 | gpio-controller; |
| 60 | gpio-ranges = <&pfc 0 32 32>; |
| 61 | #interrupt-cells = <2>; |
| 62 | interrupt-controller; |
| 63 | }; |
| 64 | |
| 65 | gpio2: gpio@ffc42000 { |
| 66 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 67 | reg = <0 0xffc42000 0 0x2c>; |
| 68 | interrupt-parent = <&gic>; |
| 69 | interrupts = <0 6 0x4>; |
| 70 | #gpio-cells = <2>; |
| 71 | gpio-controller; |
| 72 | gpio-ranges = <&pfc 0 64 32>; |
| 73 | #interrupt-cells = <2>; |
| 74 | interrupt-controller; |
| 75 | }; |
| 76 | |
| 77 | gpio3: gpio@ffc43000 { |
| 78 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 79 | reg = <0 0xffc43000 0 0x2c>; |
| 80 | interrupt-parent = <&gic>; |
| 81 | interrupts = <0 7 0x4>; |
| 82 | #gpio-cells = <2>; |
| 83 | gpio-controller; |
| 84 | gpio-ranges = <&pfc 0 96 32>; |
| 85 | #interrupt-cells = <2>; |
| 86 | interrupt-controller; |
| 87 | }; |
| 88 | |
| 89 | gpio4: gpio@ffc44000 { |
| 90 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 91 | reg = <0 0xffc44000 0 0x2c>; |
| 92 | interrupt-parent = <&gic>; |
| 93 | interrupts = <0 8 0x4>; |
| 94 | #gpio-cells = <2>; |
| 95 | gpio-controller; |
| 96 | gpio-ranges = <&pfc 0 128 32>; |
| 97 | #interrupt-cells = <2>; |
| 98 | interrupt-controller; |
| 99 | }; |
| 100 | |
| 101 | gpio5: gpio@ffc45000 { |
| 102 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
| 103 | reg = <0 0xffc45000 0 0x2c>; |
| 104 | interrupt-parent = <&gic>; |
| 105 | interrupts = <0 9 0x4>; |
| 106 | #gpio-cells = <2>; |
| 107 | gpio-controller; |
| 108 | gpio-ranges = <&pfc 0 160 32>; |
| 109 | #interrupt-cells = <2>; |
| 110 | interrupt-controller; |
| 111 | }; |
| 112 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 113 | timer { |
| 114 | compatible = "arm,armv7-timer"; |
| 115 | interrupts = <1 13 0xf08>, |
| 116 | <1 14 0xf08>, |
| 117 | <1 11 0xf08>, |
| 118 | <1 10 0xf08>; |
| 119 | }; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 120 | |
| 121 | irqc0: interrupt-controller@e61c0000 { |
| 122 | compatible = "renesas,irqc"; |
| 123 | #interrupt-cells = <2>; |
| 124 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 125 | reg = <0 0xe61c0000 0 0x200>; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 126 | interrupt-parent = <&gic>; |
| 127 | interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>; |
| 128 | }; |
Laurent Pinchart | 9694c77 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 129 | |
| 130 | pfc: pfc@e6060000 { |
| 131 | compatible = "renesas,pfc-r8a7790"; |
| 132 | reg = <0 0xe6060000 0 0x250>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame^] | 133 | #gpio-range-cells = <3>; |
Laurent Pinchart | 9694c77 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 134 | }; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 135 | }; |