Merge remote-tracking branches 'asoc/fix/atmel', 'asoc/fix/fsl', 'asoc/fix/tegra...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / r8a7778.dtsi
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         };
35
36         /* irqpin: IRQ0 - IRQ3 */
37         irqpin: irqpin@fe78001c {
38                 compatible = "renesas,intc-irqpin";
39                 #interrupt-cells = <2>;
40                 interrupt-controller;
41                 status = "disabled"; /* default off */
42                 reg =   <0xfe78001c 4>,
43                         <0xfe780010 4>,
44                         <0xfe780024 4>,
45                         <0xfe780044 4>,
46                         <0xfe780064 4>;
47                 interrupt-parent = <&gic>;
48                 interrupts =   <0 27 0x4
49                                 0 28 0x4
50                                 0 29 0x4
51                                 0 30 0x4>;
52                 sense-bitfield-width = <2>;
53         };
54
55         gpio0: gpio@ffc40000 {
56                 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
57                 reg = <0xffc40000 0x2c>;
58                 interrupt-parent = <&gic>;
59                 interrupts = <0 103 0x4>;
60                 #gpio-cells = <2>;
61                 gpio-controller;
62                 gpio-ranges = <&pfc 0 0 32>;
63                 #interrupt-cells = <2>;
64                 interrupt-controller;
65         };
66
67         gpio1: gpio@ffc41000 {
68                 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
69                 reg = <0xffc41000 0x2c>;
70                 interrupt-parent = <&gic>;
71                 interrupts = <0 103 0x4>;
72                 #gpio-cells = <2>;
73                 gpio-controller;
74                 gpio-ranges = <&pfc 0 32 32>;
75                 #interrupt-cells = <2>;
76                 interrupt-controller;
77         };
78
79         gpio2: gpio@ffc42000 {
80                 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
81                 reg = <0xffc42000 0x2c>;
82                 interrupt-parent = <&gic>;
83                 interrupts = <0 103 0x4>;
84                 #gpio-cells = <2>;
85                 gpio-controller;
86                 gpio-ranges = <&pfc 0 64 32>;
87                 #interrupt-cells = <2>;
88                 interrupt-controller;
89         };
90
91         gpio3: gpio@ffc43000 {
92                 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
93                 reg = <0xffc43000 0x2c>;
94                 interrupt-parent = <&gic>;
95                 interrupts = <0 103 0x4>;
96                 #gpio-cells = <2>;
97                 gpio-controller;
98                 gpio-ranges = <&pfc 0 96 32>;
99                 #interrupt-cells = <2>;
100                 interrupt-controller;
101         };
102
103         gpio4: gpio@ffc44000 {
104                 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
105                 reg = <0xffc44000 0x2c>;
106                 interrupt-parent = <&gic>;
107                 interrupts = <0 103 0x4>;
108                 #gpio-cells = <2>;
109                 gpio-controller;
110                 gpio-ranges = <&pfc 0 128 27>;
111                 #interrupt-cells = <2>;
112                 interrupt-controller;
113         };
114
115         pfc: pfc@fffc0000 {
116                 compatible = "renesas,pfc-r8a7778";
117                 reg = <0xfffc000 0x118>;
118         };
119 };