Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / r8a7744-iwg20m.dtsi
blob82ee3c1140efec2b299239aa9e2db84bcaaa4b84
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  */
8 #include "r8a7744.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
11 / {
12         compatible = "iwave,g20m", "renesas,r8a7744";
14         memory@40000000 {
15                 device_type = "memory";
16                 reg = <0 0x40000000 0 0x40000000>;
17         };
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         };
29 &extal_clk {
30         clock-frequency = <20000000>;
33 &pfc {
34         mmcif0_pins: mmc {
35                 groups = "mmc_data8_b", "mmc_ctrl";
36                 function = "mmc";
37         };
39         qspi_pins: qspi {
40                 groups = "qspi_ctrl", "qspi_data2";
41                 function = "qspi";
42         };
44         sdhi0_pins: sd0 {
45                 groups = "sdhi0_data4", "sdhi0_ctrl";
46                 function = "sdhi0";
47                 power-source = <3300>;
48         };
51 &mmcif0 {
52         pinctrl-0 = <&mmcif0_pins>;
53         pinctrl-names = "default";
55         vmmc-supply = <&reg_3p3v>;
56         bus-width = <8>;
57         non-removable;
58         status = "okay";
61 &qspi {
62         pinctrl-0 = <&qspi_pins>;
63         pinctrl-names = "default";
65         status = "okay";
67         /* WARNING - This device contains the bootloader. Handle with care. */
68         flash: flash@0 {
69                 #address-cells = <1>;
70                 #size-cells = <1>;
71                 compatible = "jedec,spi-nor";
72                 reg = <0>;
73                 spi-max-frequency = <50000000>;
74                 spi-tx-bus-width = <2>;
75                 spi-rx-bus-width = <2>;
76                 m25p,fast-read;
77                 spi-cpol;
78                 spi-cpha;
79         };
82 &sdhi0 {
83         pinctrl-0 = <&sdhi0_pins>;
84         pinctrl-names = "default";
86         vmmc-supply = <&reg_3p3v>;
87         vqmmc-supply = <&reg_3p3v>;
88         cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
89         status = "okay";