]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - src/arm/r8a7742-iwg21m.dtsi
Import DTS from Linux 5.8
[FreeBSD/FreeBSD.git] / src / arm / r8a7742-iwg21m.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the iWave RZ/G1H Qseven SOM
4  *
5  * Copyright (C) 2020 Renesas Electronics Corp.
6  */
7
8 #include "r8a7742.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10
11 / {
12         compatible = "iwave,g21m", "renesas,r8a7742";
13
14         memory@40000000 {
15                 device_type = "memory";
16                 reg = <0 0x40000000 0 0x40000000>;
17         };
18
19         memory@200000000 {
20                 device_type = "memory";
21                 reg = <2 0x00000000 0 0x40000000>;
22         };
23
24         reg_3p3v: 3p3v {
25                 compatible = "regulator-fixed";
26                 regulator-name = "3P3V";
27                 regulator-min-microvolt = <3300000>;
28                 regulator-max-microvolt = <3300000>;
29                 regulator-always-on;
30                 regulator-boot-on;
31         };
32 };
33
34 &extal_clk {
35         clock-frequency = <20000000>;
36 };
37
38 &pfc {
39         mmc1_pins: mmc1 {
40                 groups = "mmc1_data4", "mmc1_ctrl";
41                 function = "mmc1";
42         };
43 };
44
45 &mmcif1 {
46         pinctrl-0 = <&mmc1_pins>;
47         pinctrl-names = "default";
48
49         vmmc-supply = <&reg_3p3v>;
50         bus-width = <4>;
51         non-removable;
52         status = "okay";
53 };