2017-08-15 17:54:19 +07:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the iWave-RZG1E-G22M SODIMM SOM
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Renesas Electronics Corp.
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "r8a7745.dtsi"
|
2017-09-14 00:05:36 +07:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2017-08-15 17:54:19 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "iwave,g22m", "renesas,r8a7745";
|
|
|
|
|
|
|
|
memory@40000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0 0x40000000 0 0x20000000>;
|
|
|
|
};
|
2017-08-18 00:31:43 +07:00
|
|
|
|
|
|
|
reg_3p3v: 3p3v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "3P3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
2017-08-15 17:54:19 +07:00
|
|
|
};
|
|
|
|
|
2018-01-12 03:59:39 +07:00
|
|
|
&cmt0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-08-15 17:54:19 +07:00
|
|
|
&extal_clk {
|
|
|
|
clock-frequency = <20000000>;
|
|
|
|
};
|
2017-08-18 00:31:43 +07:00
|
|
|
|
|
|
|
&pfc {
|
|
|
|
mmcif0_pins: mmc {
|
|
|
|
groups = "mmc_data8", "mmc_ctrl";
|
|
|
|
function = "mmc";
|
|
|
|
};
|
2017-08-23 01:22:46 +07:00
|
|
|
|
2017-09-14 00:05:41 +07:00
|
|
|
qspi_pins: qspi {
|
|
|
|
groups = "qspi_ctrl", "qspi_data2";
|
|
|
|
function = "qspi";
|
|
|
|
};
|
|
|
|
|
2017-09-14 00:05:36 +07:00
|
|
|
sdhi1_pins: sd1 {
|
|
|
|
groups = "sdhi1_data4", "sdhi1_ctrl";
|
|
|
|
function = "sdhi1";
|
|
|
|
power-source = <3300>;
|
|
|
|
};
|
|
|
|
|
2017-08-23 01:22:46 +07:00
|
|
|
i2c3_pins: i2c3 {
|
|
|
|
groups = "i2c3_b";
|
|
|
|
function = "i2c3";
|
|
|
|
};
|
2017-08-18 00:31:43 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&mmcif0 {
|
|
|
|
pinctrl-0 = <&mmcif0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
bus-width = <8>;
|
|
|
|
non-removable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-08-23 01:22:46 +07:00
|
|
|
|
2017-09-14 00:05:41 +07:00
|
|
|
&qspi {
|
|
|
|
pinctrl-0 = <&qspi_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
/* WARNING - This device contains the bootloader. Handle with care. */
|
|
|
|
flash: flash@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "sst,sst25vf016b", "jedec,spi-nor";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <1>;
|
|
|
|
m25p,fast-read;
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-09-14 00:05:36 +07:00
|
|
|
&sdhi1 {
|
|
|
|
pinctrl-0 = <&sdhi1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
vqmmc-supply = <®_3p3v>;
|
|
|
|
cd-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-08-23 01:22:46 +07:00
|
|
|
&i2c3 {
|
|
|
|
pinctrl-0 = <&i2c3_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
rtc@68 {
|
|
|
|
compatible = "ti,bq32000";
|
|
|
|
reg = <0x68>;
|
|
|
|
};
|
|
|
|
};
|