blob: e306e7c5b6444dc02f9656b5679bca6a50a44ebf [file] [log] [blame]
Biju Dasc9a41f52017-08-15 11:54:19 +01001/*
2 * Device Tree Source for the iWave-RZG1E-G22M SODIMM 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 "r8a7745.dtsi"
12
13/ {
14 compatible = "iwave,g22m", "renesas,r8a7745";
15
16 memory@40000000 {
17 device_type = "memory";
18 reg = <0 0x40000000 0 0x20000000>;
19 };
Fabrizio Castro3350ed92017-08-17 18:31:43 +010020
21 reg_3p3v: 3p3v {
22 compatible = "regulator-fixed";
23 regulator-name = "3P3V";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
26 regulator-always-on;
27 regulator-boot-on;
28 };
Biju Dasc9a41f52017-08-15 11:54:19 +010029};
30
31&extal_clk {
32 clock-frequency = <20000000>;
33};
Fabrizio Castro3350ed92017-08-17 18:31:43 +010034
35&pfc {
36 mmcif0_pins: mmc {
37 groups = "mmc_data8", "mmc_ctrl";
38 function = "mmc";
39 };
Fabrizio Castroa7b8f482017-08-22 19:22:46 +010040
41 i2c3_pins: i2c3 {
42 groups = "i2c3_b";
43 function = "i2c3";
44 };
Fabrizio Castro3350ed92017-08-17 18:31:43 +010045};
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};
Fabrizio Castroa7b8f482017-08-22 19:22:46 +010056
57&i2c3 {
58 pinctrl-0 = <&i2c3_pins>;
59 pinctrl-names = "default";
60
61 status = "okay";
62 clock-frequency = <400000>;
63
64 rtc@68 {
65 compatible = "ti,bq32000";
66 reg = <0x68>;
67 };
68};