mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / r8a77470-iwg23s-sbc.dts
blob77d18242ef59ecbec8c00f8c066fdc07be789fb4
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the iWave-RZ/G1C single board computer
4  *
5  * Copyright (C) 2018 Renesas Electronics Corp.
6  */
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include "r8a77470.dtsi"
11 / {
12         model = "iWave iW-RainboW-G23S single board computer based on RZ/G1C";
13         compatible = "iwave,g23s", "renesas,r8a77470";
15         aliases {
16                 ethernet0 = &avb;
17                 serial1 = &scif1;
18         };
20         chosen {
21                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
22                 stdout-path = "serial1:115200n8";
23         };
25         memory@40000000 {
26                 device_type = "memory";
27                 reg = <0 0x40000000 0 0x20000000>;
28         };
30         reg_1p8v: reg-1p8v {
31                 compatible = "regulator-fixed";
32                 regulator-name = "fixed-1.8V";
33                 regulator-min-microvolt = <1800000>;
34                 regulator-max-microvolt = <1800000>;
35                 regulator-boot-on;
36                 regulator-always-on;
37         };
39         reg_3p3v: reg-3p3v {
40                 compatible = "regulator-fixed";
41                 regulator-name = "fixed-3.3V";
42                 regulator-min-microvolt = <3300000>;
43                 regulator-max-microvolt = <3300000>;
44                 regulator-boot-on;
45                 regulator-always-on;
46         };
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>;
56                 gpios-states = <1>;
57                 states = <3300000 1
58                           1800000 0>;
59         };
62 &avb {
63         pinctrl-0 = <&avb_pins>;
64         pinctrl-names = "default";
66         phy-handle = <&phy3>;
67         phy-mode = "gmii";
68         renesas,no-ether-link;
69         status = "okay";
71         phy3: ethernet-phy@3 {
72                 reg = <3>;
73                 interrupt-parent = <&gpio5>;
74                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
75                 micrel,led-mode = <1>;
76         };
79 &cmt0 {
80         status = "okay";
83 &extal_clk {
84         clock-frequency = <20000000>;
87 &i2c3 {
88         pinctrl-0 = <&i2c3_pins>;
89         pinctrl-names = "default";
91         status = "okay";
92         clock-frequency = <400000>;
94         rtc@51 {
95                 compatible = "nxp,pcf85263";
96                 reg = <0x51>;
97         };
100 &pfc {
101         avb_pins: avb {
102                 groups = "avb_mdio", "avb_gmii_tx_rx";
103                 function = "avb";
104         };
106         i2c3_pins: i2c3 {
107                 groups = "i2c3_c";
108                 function = "i2c3";
109         };
111         mmc_pins_uhs: mmc_uhs {
112                 groups = "mmc_data8", "mmc_ctrl";
113                 function = "mmc";
114                 power-source = <1800>;
115         };
117         qspi0_pins: qspi0 {
118                 groups = "qspi0_ctrl", "qspi0_data2";
119                 function = "qspi0";
120         };
122         scif1_pins: scif1 {
123                 groups = "scif1_data_b";
124                 function = "scif1";
125         };
127         sdhi2_pins: sd2 {
128                 groups = "sdhi2_data4", "sdhi2_ctrl";
129                 function = "sdhi2";
130                 power-source = <3300>;
131         };
133         sdhi2_pins_uhs: sd2_uhs {
134                 groups = "sdhi2_data4", "sdhi2_ctrl";
135                 function = "sdhi2";
136                 power-source = <1800>;
137         };
140 &qspi0 {
141         pinctrl-0 = <&qspi0_pins>;
142         pinctrl-names = "default";
144         status = "okay";
146         /* WARNING - This device contains the bootloader. Handle with care. */
147         flash: flash@0 {
148                 #address-cells = <1>;
149                 #size-cells = <1>;
150                 compatible = "issi,is25lp016d", "jedec,spi-nor";
151                 reg = <0>;
152                 spi-max-frequency = <133000000>;
153                 spi-tx-bus-width = <1>;
154                 spi-rx-bus-width = <1>;
155                 m25p,fast-read;
156                 spi-cpol;
157                 spi-cpha;
158         };
161 &rwdt {
162         timeout-sec = <60>;
163         status = "okay";
166 &scif1 {
167         pinctrl-0 = <&scif1_pins>;
168         pinctrl-names = "default";
170         status = "okay";
173 &sdhi1 {
174         pinctrl-0 = <&mmc_pins_uhs>;
175         pinctrl-names = "state_uhs";
177         vmmc-supply = <&reg_3p3v>;
178         vqmmc-supply = <&reg_1p8v>;
179         bus-width = <8>;
180         mmc-hs200-1_8v;
181         non-removable;
182         fixed-emmc-driver-type = <1>;
183         status = "okay";
186 &sdhi2 {
187         pinctrl-0 = <&sdhi2_pins>;
188         pinctrl-1 = <&sdhi2_pins_uhs>;
189         pinctrl-names = "default", "state_uhs";
191         vmmc-supply = <&reg_3p3v>;
192         vqmmc-supply = <&vccq_sdhi2>;
193         bus-width = <4>;
194         cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
195         sd-uhs-sdr50;
196         status = "okay";