]>
Commit | Line | Data |
---|---|---|
ccb7cc74 KM |
1 | /* |
2 | * Device Tree Source for Renesas r8a7778 | |
3 | * | |
4 | * Copyright (C) 2013 Renesas Solutions Corp. | |
5 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | |
6 | * | |
7 | * based on r8a7779 | |
8 | * | |
9 | * Copyright (C) 2013 Renesas Solutions Corp. | |
10 | * Copyright (C) 2013 Simon Horman | |
11 | * | |
12 | * This file is licensed under the terms of the GNU General Public License | |
13 | * version 2. This program is licensed "as is" without any warranty of any | |
14 | * kind, whether express or implied. | |
15 | */ | |
16 | ||
17 | /include/ "skeleton.dtsi" | |
18 | ||
19 | / { | |
20 | compatible = "renesas,r8a7778"; | |
21 | ||
22 | cpus { | |
23 | cpu@0 { | |
24 | compatible = "arm,cortex-a9"; | |
25 | }; | |
26 | }; | |
27 | ||
28 | gic: interrupt-controller@fe438000 { | |
29 | compatible = "arm,cortex-a9-gic"; | |
30 | #interrupt-cells = <3>; | |
31 | interrupt-controller; | |
32 | reg = <0xfe438000 0x1000>, | |
33 | <0xfe430000 0x100>; | |
34 | }; | |
0697ccc0 | 35 | |
aaf7eda8 LP |
36 | gpio0: gpio@ffc40000 { |
37 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | |
38 | reg = <0xffc40000 0x2c>; | |
39 | interrupt-parent = <&gic>; | |
40 | interrupts = <0 103 0x4>; | |
41 | #gpio-cells = <2>; | |
42 | gpio-controller; | |
43 | gpio-ranges = <&pfc 0 0 32>; | |
44 | #interrupt-cells = <2>; | |
45 | interrupt-controller; | |
46 | }; | |
47 | ||
48 | gpio1: gpio@ffc41000 { | |
49 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | |
50 | reg = <0xffc41000 0x2c>; | |
51 | interrupt-parent = <&gic>; | |
52 | interrupts = <0 103 0x4>; | |
53 | #gpio-cells = <2>; | |
54 | gpio-controller; | |
55 | gpio-ranges = <&pfc 0 32 32>; | |
56 | #interrupt-cells = <2>; | |
57 | interrupt-controller; | |
58 | }; | |
59 | ||
60 | gpio2: gpio@ffc42000 { | |
61 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | |
62 | reg = <0xffc42000 0x2c>; | |
63 | interrupt-parent = <&gic>; | |
64 | interrupts = <0 103 0x4>; | |
65 | #gpio-cells = <2>; | |
66 | gpio-controller; | |
67 | gpio-ranges = <&pfc 0 64 32>; | |
68 | #interrupt-cells = <2>; | |
69 | interrupt-controller; | |
70 | }; | |
71 | ||
72 | gpio3: gpio@ffc43000 { | |
73 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | |
74 | reg = <0xffc43000 0x2c>; | |
75 | interrupt-parent = <&gic>; | |
76 | interrupts = <0 103 0x4>; | |
77 | #gpio-cells = <2>; | |
78 | gpio-controller; | |
79 | gpio-ranges = <&pfc 0 96 32>; | |
80 | #interrupt-cells = <2>; | |
81 | interrupt-controller; | |
82 | }; | |
83 | ||
84 | gpio4: gpio@ffc44000 { | |
85 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | |
86 | reg = <0xffc44000 0x2c>; | |
87 | interrupt-parent = <&gic>; | |
88 | interrupts = <0 103 0x4>; | |
89 | #gpio-cells = <2>; | |
90 | gpio-controller; | |
91 | gpio-ranges = <&pfc 0 128 27>; | |
92 | #interrupt-cells = <2>; | |
93 | interrupt-controller; | |
94 | }; | |
95 | ||
0697ccc0 LP |
96 | pfc: pfc@fffc0000 { |
97 | compatible = "renesas,pfc-r8a7778"; | |
98 | reg = <0xfffc000 0x118>; | |
aaf7eda8 | 99 | #gpio-range-cells = <3>; |
0697ccc0 | 100 | }; |
ccb7cc74 | 101 | }; |