GNU Linux-libre 4.14.290-gnu1
[releases.git] / arch / arm / boot / dts / r8a7743-iwg20m.dtsi
1 /*
2  * Device Tree Source for the iWave-RZG1M-20M Qseven SOM
3  *
4  * Copyright (C) 2017 Renesas Electronics Corp.
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 #include "r8a7743.dtsi"
12
13 / {
14         compatible = "iwave,g20m", "renesas,r8a7743";
15
16         memory@40000000 {
17                 device_type = "memory";
18                 reg = <0 0x40000000 0 0x20000000>;
19         };
20
21         memory@200000000 {
22                 device_type = "memory";
23                 reg = <2 0x00000000 0 0x20000000>;
24         };
25
26         reg_3p3v: 3p3v {
27                 compatible = "regulator-fixed";
28                 regulator-name = "3P3V";
29                 regulator-min-microvolt = <3300000>;
30                 regulator-max-microvolt = <3300000>;
31                 regulator-always-on;
32                 regulator-boot-on;
33         };
34 };
35
36 &extal_clk {
37         clock-frequency = <20000000>;
38 };
39
40 &pfc {
41         mmcif0_pins: mmc {
42                 groups = "mmc_data8_b", "mmc_ctrl";
43                 function = "mmc";
44         };
45 };
46
47 &mmcif0 {
48         pinctrl-0 = <&mmcif0_pins>;
49         pinctrl-names = "default";
50
51         vmmc-supply = <&reg_3p3v>;
52         bus-width = <8>;
53         non-removable;
54         status = "okay";
55 };