Merge tag 'renesas-dt-cleanups-for-v3.19' into koelsch-board-removal-for-v3.19.base
[deliverable/linux.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 #include <dt-bindings/gpio/gpio.h>
21
22 / {
23 model = "bockw";
24 compatible = "renesas,bockw-reference", "renesas,r8a7778";
25
26 aliases {
27 serial0 = &scif0;
28 };
29
30 chosen {
31 bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp rw";
32 stdout-path = &scif0;
33 };
34
35 memory {
36 device_type = "memory";
37 reg = <0x60000000 0x10000000>;
38 };
39
40 fixedregulator3v3: fixedregulator@0 {
41 compatible = "regulator-fixed";
42 regulator-name = "fixed-3.3V";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
45 regulator-boot-on;
46 regulator-always-on;
47 };
48
49 ethernet@18300000 {
50 compatible = "smsc,lan9220", "smsc,lan9115";
51 reg = <0x18300000 0x1000>;
52
53 phy-mode = "mii";
54 interrupt-parent = <&irqpin>;
55 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
56 reg-io-width = <4>;
57 vddvario-supply = <&fixedregulator3v3>;
58 vdd33a-supply = <&fixedregulator3v3>;
59 };
60
61 };
62
63 &mmcif {
64 pinctrl-0 = <&mmc_pins>;
65 pinctrl-names = "default";
66
67 vmmc-supply = <&fixedregulator3v3>;
68 bus-width = <8>;
69 broken-cd;
70 status = "okay";
71 };
72
73 &irqpin {
74 status = "okay";
75 };
76
77 &pfc {
78 scif0_pins: serial0 {
79 renesas,groups = "scif0_data_a", "scif0_ctrl";
80 renesas,function = "scif0";
81 };
82
83 mmc_pins: mmc {
84 renesas,groups = "mmc_data8", "mmc_ctrl";
85 renesas,function = "mmc";
86 };
87
88 sdhi0_pins: sd0 {
89 renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
90 "sdhi0_cd";
91 renesas,function = "sdhi0";
92 };
93
94 hspi0_pins: hspi0 {
95 renesas,groups = "hspi0_a";
96 renesas,function = "hspi0";
97 };
98 };
99
100 &sdhi0 {
101 pinctrl-0 = <&sdhi0_pins>;
102 pinctrl-names = "default";
103
104 vmmc-supply = <&fixedregulator3v3>;
105 bus-width = <4>;
106 status = "okay";
107 wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
108 };
109
110 &hspi0 {
111 pinctrl-0 = <&hspi0_pins>;
112 pinctrl-names = "default";
113 status = "okay";
114
115 flash: flash@0 {
116 #address-cells = <1>;
117 #size-cells = <1>;
118 compatible = "spansion,s25fl008k";
119 reg = <0>;
120 spi-max-frequency = <104000000>;
121 m25p,fast-read;
122
123 partition@0 {
124 label = "data(spi)";
125 reg = <0x00000000 0x00100000>;
126 };
127 };
128 };
129
130 &scif0 {
131 pinctrl-0 = <&scif0_pins>;
132 pinctrl-names = "default";
133
134 status = "okay";
135 };
This page took 0.03978 seconds and 6 git commands to generate.