2 * Device Tree Source for the iWave-RZG1M-20M Qseven SOM
4 * Copyright (C) 2017 Renesas Electronics Corp.
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.
11 #include "r8a7743.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
15 compatible = "iwave,g20m", "renesas,r8a7743";
18 device_type = "memory";
19 reg = <0 0x40000000 0 0x20000000>;
23 device_type = "memory";
24 reg = <2 0x00000000 0 0x20000000>;
28 compatible = "regulator-fixed";
29 regulator-name = "3P3V";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
38 clock-frequency = <20000000>;
43 groups = "mmc_data8_b", "mmc_ctrl";
48 groups = "qspi_ctrl", "qspi_data2";
53 groups = "sdhi0_data4", "sdhi0_ctrl";
55 power-source = <3300>;
60 pinctrl-0 = <&mmcif0_pins>;
61 pinctrl-names = "default";
63 vmmc-supply = <®_3p3v>;
70 pinctrl-0 = <&qspi_pins>;
71 pinctrl-names = "default";
75 /* WARNING - This device contains the bootloader. Handle with care. */
79 compatible = "sst,sst25vf016b", "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
82 spi-tx-bus-width = <1>;
83 spi-rx-bus-width = <1>;
91 pinctrl-0 = <&sdhi0_pins>;
92 pinctrl-names = "default";
94 vmmc-supply = <®_3p3v>;
95 vqmmc-supply = <®_3p3v>;
96 cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;