Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[pandora-kernel.git] / arch / arm / boot / dts / r8a7778-bockw-reference.dts
1 /*
2  * Reference Device Tree Source for the Bock-W board
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 /dts-v1/;
18 #include "r8a7778.dtsi"
19 #include <dt-bindings/interrupt-controller/irq.h>
20
21 / {
22         model = "bockw";
23         compatible = "renesas,bockw-reference", "renesas,r8a7778";
24
25         chosen {
26                 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
27         };
28
29         memory {
30                 device_type = "memory";
31                 reg = <0x60000000 0x10000000>;
32         };
33
34         fixedregulator3v3: fixedregulator@0 {
35                 compatible = "regulator-fixed";
36                 regulator-name = "fixed-3.3V";
37                 regulator-min-microvolt = <3300000>;
38                 regulator-max-microvolt = <3300000>;
39                 regulator-boot-on;
40                 regulator-always-on;
41         };
42
43         ethernet@18300000 {
44                 compatible = "smsc,lan9220", "smsc,lan9115";
45                 reg = <0x18300000 0x1000>;
46
47                 phy-mode = "mii";
48                 interrupt-parent = <&irqpin>;
49                 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
50                 reg-io-width = <4>;
51                 vddvario-supply = <&fixedregulator3v3>;
52                 vdd33a-supply = <&fixedregulator3v3>;
53         };
54
55 };
56
57 &mmcif {
58         pinctrl-0 = <&mmc_pins>;
59         pinctrl-names = "default";
60
61         vmmc-supply = <&fixedregulator3v3>;
62         bus-width = <8>;
63         broken-cd;
64         status = "okay";
65 };
66
67 &irqpin {
68         status = "okay";
69 };
70
71 &pfc {
72         pinctrl-0 = <&scif0_pins>;
73         pinctrl-names = "default";
74
75         scif0_pins: serial0 {
76                 renesas,groups = "scif0_data_a", "scif0_ctrl";
77                 renesas,function = "scif0";
78         };
79
80         mmc_pins: mmc {
81                 renesas,groups = "mmc_data8", "mmc_ctrl";
82                 renesas,function = "mmc";
83         };
84
85         sdhi0_pins: sd0 {
86                 renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
87                                   "sdhi0_cd", "sdhi0_wp";
88                 renesas,function = "sdhi0";
89         };
90
91         hspi0_pins: hspi0 {
92                 renesas,groups = "hspi0_a";
93                 renesas,function = "hspi0";
94         };
95 };
96
97 &sdhi0 {
98         pinctrl-0 = <&sdhi0_pins>;
99         pinctrl-names = "default";
100
101         vmmc-supply = <&fixedregulator3v3>;
102         bus-width = <4>;
103         status = "okay";
104 };
105
106 &hspi0 {
107         pinctrl-0 = <&hspi0_pins>;
108         pinctrl-names = "default";
109         status = "okay";
110 };