2020-05-04 00:46:53 +03:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Device Tree Source for the iWave RZ/G1H Qseven SOM
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Renesas Electronics Corp.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "r8a7742.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "iwave,g21m", "renesas,r8a7742";
|
|
|
|
|
|
|
|
memory@40000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0 0x40000000 0 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@200000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <2 0x00000000 0 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_3p3v: 3p3v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "3P3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&extal_clk {
|
|
|
|
clock-frequency = <20000000>;
|
|
|
|
};
|
|
|
|
|
2020-08-16 22:33:15 +03:00
|
|
|
&i2c0 {
|
|
|
|
pinctrl-0 = <&i2c0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
rtc@68 {
|
|
|
|
compatible = "ti,bq32000";
|
|
|
|
reg = <0x68>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
|
|
|
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-05-04 00:46:53 +03:00
|
|
|
&mmcif1 {
|
|
|
|
pinctrl-0 = <&mmc1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
bus-width = <4>;
|
|
|
|
non-removable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2020-08-16 22:33:14 +03:00
|
|
|
|
|
|
|
&pfc {
|
2020-08-16 22:33:15 +03:00
|
|
|
i2c0_pins: i2c0 {
|
|
|
|
groups = "i2c0";
|
|
|
|
function = "i2c0";
|
|
|
|
};
|
|
|
|
|
2020-08-16 22:33:14 +03:00
|
|
|
mmc1_pins: mmc1 {
|
|
|
|
groups = "mmc1_data4", "mmc1_ctrl";
|
|
|
|
function = "mmc1";
|
|
|
|
};
|
|
|
|
};
|