1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZ/G1C single board computer
5 * Copyright (C) 2018 Renesas Electronics Corp.
9 #include <dt-bindings/gpio/gpio.h>
10 #include "r8a77470.dtsi"
12 model = "iWave iW-RainboW-G23S single board computer based on RZ/G1C";
13 compatible = "iwave,g23s", "renesas,r8a77470";
21 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
22 stdout-path = "serial1:115200n8";
26 device_type = "memory";
27 reg = <0 0x40000000 0 0x20000000>;
31 compatible = "regulator-fixed";
32 regulator-name = "fixed-1.8V";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
40 compatible = "regulator-fixed";
41 regulator-name = "fixed-3.3V";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
48 vccq_sdhi2: regulator-vccq-sdhi2 {
49 compatible = "regulator-gpio";
51 regulator-name = "SDHI2 VccQ";
52 regulator-min-microvolt = <1800000>;
53 regulator-max-microvolt = <3300000>;
55 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
63 pinctrl-0 = <&avb_pins>;
64 pinctrl-names = "default";
68 renesas,no-ether-link;
71 phy3: ethernet-phy@3 {
73 interrupt-parent = <&gpio5>;
74 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
75 micrel,led-mode = <1>;
84 clock-frequency = <20000000>;
89 groups = "avb_mdio", "avb_gmii_tx_rx";
93 mmc_pins_uhs: mmc_uhs {
94 groups = "mmc_data8", "mmc_ctrl";
96 power-source = <1800>;
100 groups = "qspi0_ctrl", "qspi0_data2";
105 groups = "scif1_data_b";
110 groups = "sdhi2_data4", "sdhi2_ctrl";
112 power-source = <3300>;
115 sdhi2_pins_uhs: sd2_uhs {
116 groups = "sdhi2_data4", "sdhi2_ctrl";
118 power-source = <1800>;
123 pinctrl-0 = <&qspi0_pins>;
124 pinctrl-names = "default";
128 /* WARNING - This device contains the bootloader. Handle with care. */
130 #address-cells = <1>;
132 compatible = "issi,is25lp016d", "jedec,spi-nor";
134 spi-max-frequency = <133000000>;
135 spi-tx-bus-width = <1>;
136 spi-rx-bus-width = <1>;
149 pinctrl-0 = <&scif1_pins>;
150 pinctrl-names = "default";
156 pinctrl-0 = <&mmc_pins_uhs>;
157 pinctrl-names = "state_uhs";
159 vmmc-supply = <®_3p3v>;
160 vqmmc-supply = <®_1p8v>;
164 fixed-emmc-driver-type = <1>;
169 pinctrl-0 = <&sdhi2_pins>;
170 pinctrl-1 = <&sdhi2_pins_uhs>;
171 pinctrl-names = "default", "state_uhs";
173 vmmc-supply = <®_3p3v>;
174 vqmmc-supply = <&vccq_sdhi2>;
176 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;