1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree Source for the iWave-RZG1M-20M Qseven SOM 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2017 Renesas Electronics Corp. 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include "r8a7743.dtsi" 9*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring compatible = "iwave,g20m", "renesas,r8a7743"; 13*724ba675SRob Herring 14*724ba675SRob Herring memory@40000000 { 15*724ba675SRob Herring device_type = "memory"; 16*724ba675SRob Herring reg = <0 0x40000000 0 0x20000000>; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring memory@200000000 { 20*724ba675SRob Herring device_type = "memory"; 21*724ba675SRob Herring reg = <2 0x00000000 0 0x20000000>; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring reg_3p3v: 3p3v { 25*724ba675SRob Herring compatible = "regulator-fixed"; 26*724ba675SRob Herring regulator-name = "3P3V"; 27*724ba675SRob Herring regulator-min-microvolt = <3300000>; 28*724ba675SRob Herring regulator-max-microvolt = <3300000>; 29*724ba675SRob Herring regulator-always-on; 30*724ba675SRob Herring regulator-boot-on; 31*724ba675SRob Herring }; 32*724ba675SRob Herring}; 33*724ba675SRob Herring 34*724ba675SRob Herring&extal_clk { 35*724ba675SRob Herring clock-frequency = <20000000>; 36*724ba675SRob Herring}; 37*724ba675SRob Herring 38*724ba675SRob Herring&pfc { 39*724ba675SRob Herring mmcif0_pins: mmc { 40*724ba675SRob Herring groups = "mmc_data8_b", "mmc_ctrl"; 41*724ba675SRob Herring function = "mmc"; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring qspi_pins: qspi { 45*724ba675SRob Herring groups = "qspi_ctrl", "qspi_data2"; 46*724ba675SRob Herring function = "qspi"; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring sdhi0_pins: sd0 { 50*724ba675SRob Herring groups = "sdhi0_data4", "sdhi0_ctrl"; 51*724ba675SRob Herring function = "sdhi0"; 52*724ba675SRob Herring power-source = <3300>; 53*724ba675SRob Herring }; 54*724ba675SRob Herring}; 55*724ba675SRob Herring 56*724ba675SRob Herring&mmcif0 { 57*724ba675SRob Herring pinctrl-0 = <&mmcif0_pins>; 58*724ba675SRob Herring pinctrl-names = "default"; 59*724ba675SRob Herring 60*724ba675SRob Herring vmmc-supply = <®_3p3v>; 61*724ba675SRob Herring bus-width = <8>; 62*724ba675SRob Herring non-removable; 63*724ba675SRob Herring status = "okay"; 64*724ba675SRob Herring}; 65*724ba675SRob Herring 66*724ba675SRob Herring&qspi { 67*724ba675SRob Herring pinctrl-0 = <&qspi_pins>; 68*724ba675SRob Herring pinctrl-names = "default"; 69*724ba675SRob Herring 70*724ba675SRob Herring status = "okay"; 71*724ba675SRob Herring 72*724ba675SRob Herring /* WARNING - This device contains the bootloader. Handle with care. */ 73*724ba675SRob Herring flash: flash@0 { 74*724ba675SRob Herring #address-cells = <1>; 75*724ba675SRob Herring #size-cells = <1>; 76*724ba675SRob Herring compatible = "sst,sst25vf016b", "jedec,spi-nor"; 77*724ba675SRob Herring reg = <0>; 78*724ba675SRob Herring spi-max-frequency = <50000000>; 79*724ba675SRob Herring spi-tx-bus-width = <1>; 80*724ba675SRob Herring spi-rx-bus-width = <1>; 81*724ba675SRob Herring m25p,fast-read; 82*724ba675SRob Herring spi-cpol; 83*724ba675SRob Herring spi-cpha; 84*724ba675SRob Herring }; 85*724ba675SRob Herring}; 86*724ba675SRob Herring 87*724ba675SRob Herring&sdhi0 { 88*724ba675SRob Herring pinctrl-0 = <&sdhi0_pins>; 89*724ba675SRob Herring pinctrl-names = "default"; 90*724ba675SRob Herring 91*724ba675SRob Herring vmmc-supply = <®_3p3v>; 92*724ba675SRob Herring vqmmc-supply = <®_3p3v>; 93*724ba675SRob Herring cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>; 94*724ba675SRob Herring status = "okay"; 95*724ba675SRob Herring}; 96