ARM: dts: r8a7744-iwg20m: Add eMMC support
[linux-2.6-block.git] / arch / arm / boot / dts / r8a7744-iwg20m.dtsi
CommitLineData
3c248aef
BD
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the iWave RZ/G1N Qseven SOM
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 */
7
8#include "r8a7744.dtsi"
9#include <dt-bindings/gpio/gpio.h>
10
11/ {
12 compatible = "iwave,g20m", "renesas,r8a7744";
13
14 memory@40000000 {
15 device_type = "memory";
16 reg = <0 0x40000000 0 0x40000000>;
17 };
18
19 reg_3p3v: 3p3v {
20 compatible = "regulator-fixed";
21 regulator-name = "3P3V";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
24 regulator-always-on;
25 regulator-boot-on;
26 };
27};
28
29&extal_clk {
30 clock-frequency = <20000000>;
31};
266d863e
BD
32
33&pfc {
34 mmcif0_pins: mmc {
35 groups = "mmc_data8_b", "mmc_ctrl";
36 function = "mmc";
37 };
38};
39
40&mmcif0 {
41 pinctrl-0 = <&mmcif0_pins>;
42 pinctrl-names = "default";
43
44 vmmc-supply = <&reg_3p3v>;
45 bus-width = <8>;
46 non-removable;
47 status = "okay";
48};