1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave RZ/G1N Qseven SOM
5 * Copyright (C) 2018 Renesas Electronics Corp.
8 #include "r8a7744.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "iwave,g20m", "renesas,r8a7744";
15 device_type = "memory";
16 reg = <0 0x40000000 0 0x40000000>;
20 compatible = "regulator-fixed";
21 regulator-name = "3P3V";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
30 clock-frequency = <20000000>;
35 groups = "mmc_data8_b", "mmc_ctrl";
40 groups = "qspi_ctrl", "qspi_data2";
45 groups = "sdhi0_data4", "sdhi0_ctrl";
47 power-source = <3300>;
52 pinctrl-0 = <&mmcif0_pins>;
53 pinctrl-names = "default";
55 vmmc-supply = <®_3p3v>;
62 pinctrl-0 = <&qspi_pins>;
63 pinctrl-names = "default";
67 /* WARNING - This device contains the bootloader. Handle with care. */
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <50000000>;
74 spi-tx-bus-width = <2>;
75 spi-rx-bus-width = <2>;
83 pinctrl-0 = <&sdhi0_pins>;
84 pinctrl-names = "default";
86 vmmc-supply = <®_3p3v>;
87 vqmmc-supply = <®_3p3v>;
88 cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;