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=on";
22 stdout-path = "serial1:115200n8";
26 compatible = "hdmi-connector";
31 remote-endpoint = <&bridge_out>;
37 device_type = "memory";
38 reg = <0 0x40000000 0 0x20000000>;
42 compatible = "regulator-fixed";
43 regulator-name = "fixed-1.8V";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
51 compatible = "regulator-fixed";
52 regulator-name = "fixed-3.3V";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
59 vccq_sdhi2: regulator-vccq-sdhi2 {
60 compatible = "regulator-gpio";
62 regulator-name = "SDHI2 VccQ";
63 regulator-min-microvolt = <1800000>;
64 regulator-max-microvolt = <3300000>;
66 gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
68 states = <3300000 1>, <1800000 0>;
73 pinctrl-0 = <&avb_pins>;
74 pinctrl-names = "default";
78 renesas,no-ether-link;
81 phy3: ethernet-phy@3 {
82 compatible = "ethernet-phy-id0022.1622",
83 "ethernet-phy-ieee802.3-c22";
85 interrupt-parent = <&gpio5>;
86 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
87 micrel,led-mode = <1>;
96 pinctrl-0 = <&du0_pins>;
97 pinctrl-names = "default";
104 remote-endpoint = <&bridge_in>;
115 clock-frequency = <20000000>;
119 interrupt-fixup-hog {
121 gpios = <29 GPIO_ACTIVE_HIGH>;
122 line-name = "hdmi-hpd-int";
132 pinctrl-0 = <&i2c3_pins>;
133 pinctrl-names = "default";
136 clock-frequency = <400000>;
139 compatible = "nxp,pcf85263";
145 pinctrl-0 = <&i2c4_pins>;
146 pinctrl-names = "default";
149 clock-frequency = <100000>;
152 compatible = "sil,sii9022";
154 interrupt-parent = <&gpio2>;
155 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
158 #address-cells = <1>;
163 bridge_in: endpoint {
164 remote-endpoint = <&du_out_rgb0>;
170 bridge_out: endpoint {
171 remote-endpoint = <&hdmi_con>;
184 groups = "avb_mdio", "avb_gmii_tx_rx";
189 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
203 mmc_pins_uhs: mmc_uhs {
204 groups = "mmc_data8", "mmc_ctrl";
206 power-source = <1800>;
210 groups = "qspi0_ctrl", "qspi0_data2";
215 groups = "scif1_data_b";
220 groups = "sdhi2_data4", "sdhi2_ctrl";
222 power-source = <3300>;
225 sdhi2_pins_uhs: sd2_uhs {
226 groups = "sdhi2_data4", "sdhi2_ctrl";
228 power-source = <1800>;
243 pinctrl-0 = <&qspi0_pins>;
244 pinctrl-names = "default";
248 /* WARNING - This device contains the bootloader. Handle with care. */
250 #address-cells = <1>;
252 compatible = "issi,is25lp016d", "jedec,spi-nor";
254 spi-max-frequency = <133000000>;
255 spi-tx-bus-width = <1>;
256 spi-rx-bus-width = <1>;
269 pinctrl-0 = <&scif1_pins>;
270 pinctrl-names = "default";
276 pinctrl-0 = <&mmc_pins_uhs>;
277 pinctrl-names = "state_uhs";
279 vmmc-supply = <®_3p3v>;
280 vqmmc-supply = <®_1p8v>;
284 fixed-emmc-driver-type = <1>;
289 pinctrl-0 = <&sdhi2_pins>;
290 pinctrl-1 = <&sdhi2_pins_uhs>;
291 pinctrl-names = "default", "state_uhs";
293 vmmc-supply = <®_3p3v>;
294 vqmmc-supply = <&vccq_sdhi2>;
296 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
310 pinctrl-0 = <&usb0_pins>;
311 pinctrl-names = "default";
317 pinctrl-0 = <&usb1_pins>;
318 pinctrl-names = "default";