blob: be9b75377f3ed4e7262d7be7a693e3960515ac43 [file] [log] [blame]
Kuninori Morimotocfa66a82013-07-24 00:36:51 -07001/*
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/;
Laurent Pinchart31c46cb2013-11-09 13:23:53 +010018#include "r8a7778.dtsi"
Kuninori Morimotocfa66a82013-07-24 00:36:51 -070019
20/ {
21 model = "bockw";
22 compatible = "renesas,bockw-reference", "renesas,r8a7778";
23
24 chosen {
Kuninori Morimoto1e918e02013-10-02 01:34:07 -070025 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
Kuninori Morimotocfa66a82013-07-24 00:36:51 -070026 };
27
28 memory {
29 device_type = "memory";
30 reg = <0x60000000 0x10000000>;
31 };
Kuninori Morimoto1e918e02013-10-02 01:34:07 -070032
33 fixedregulator3v3: fixedregulator@0 {
34 compatible = "regulator-fixed";
35 regulator-name = "fixed-3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 regulator-boot-on;
39 regulator-always-on;
40 };
41
Kuninori Morimoto73c79af2013-10-03 18:20:19 -070042 ethernet@18300000 {
Kuninori Morimoto1e918e02013-10-02 01:34:07 -070043 compatible = "smsc,lan9220", "smsc,lan9115";
44 reg = <0x18300000 0x1000>;
45
46 phy-mode = "mii";
47 interrupt-parent = <&irqpin>;
48 interrupts = <0 0>; /* IRQ0: hwirq 0 on irqpin */
49 reg-io-width = <4>;
50 vddvario-supply = <&fixedregulator3v3>;
51 vdd33a-supply = <&fixedregulator3v3>;
52 };
Kuninori Morimoto14cdd832013-10-03 18:32:34 -070053
Kuninori Morimoto14cdd832013-10-03 18:32:34 -070054};
55
56&mmcif {
57 pinctrl-0 = <&mmc_pins>;
58 pinctrl-names = "default";
59
60 vmmc-supply = <&fixedregulator3v3>;
61 bus-width = <8>;
62 broken-cd;
63 status = "okay";
Kuninori Morimoto1e918e02013-10-02 01:34:07 -070064};
65
66&irqpin {
67 status = "okay";
Kuninori Morimotocfa66a82013-07-24 00:36:51 -070068};
Kuninori Morimoto8ed1f8a2013-10-03 18:31:16 -070069
70&pfc {
71 pinctrl-0 = <&scif0_pins>;
72 pinctrl-names = "default";
73
Kuninori Morimotofb9c1ce2013-10-21 19:37:48 -070074 scif0_pins: serial0 {
Kuninori Morimoto8ed1f8a2013-10-03 18:31:16 -070075 renesas,groups = "scif0_data_a", "scif0_ctrl";
76 renesas,function = "scif0";
77 };
Kuninori Morimoto9ebe54b2013-10-10 23:34:33 -070078
79 mmc_pins: mmc {
80 renesas,groups = "mmc_data8", "mmc_ctrl";
81 renesas,function = "mmc";
82 };
Kuninori Morimoto9d0395a2013-10-10 23:36:01 -070083
Kuninori Morimotofb9c1ce2013-10-21 19:37:48 -070084 sdhi0_pins: sd0 {
Kuninori Morimoto9d0395a2013-10-10 23:36:01 -070085 renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
86 "sdhi0_cd", "sdhi0_wp";
87 renesas,function = "sdhi0";
88 };
Kuninori Morimoto8c663962013-10-31 18:22:53 -070089
90 hspi0_pins: hspi0 {
91 renesas,groups = "hspi0_a";
92 renesas,function = "hspi0";
93 };
Kuninori Morimoto9d0395a2013-10-10 23:36:01 -070094};
95
96&sdhi0 {
97 pinctrl-0 = <&sdhi0_pins>;
98 pinctrl-names = "default";
99
100 vmmc-supply = <&fixedregulator3v3>;
101 bus-width = <4>;
102 status = "okay";
Kuninori Morimoto8ed1f8a2013-10-03 18:31:16 -0700103};
Kuninori Morimoto8c663962013-10-31 18:22:53 -0700104
105&hspi0 {
106 pinctrl-0 = <&hspi0_pins>;
107 pinctrl-names = "default";
108 status = "okay";
109};