1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree Source for the Spider CPU board
5 * Copyright (C) 2021 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
11 #include "r8a779f0.dtsi"
14 model = "Renesas Spider CPU board";
15 compatible = "renesas,spider-cpu", "renesas,r8a779f0";
23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
24 stdout-path = "serial0:1843200n8";
28 compatible = "gpio-leds";
31 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
32 color = <LED_COLOR_ID_GREEN>;
33 function = LED_FUNCTION_INDICATOR;
34 function-enumerator = <7>;
38 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
39 color = <LED_COLOR_ID_GREEN>;
40 function = LED_FUNCTION_INDICATOR;
41 function-enumerator = <8>;
46 device_type = "memory";
47 /* first 128MB is reserved for secure area. */
48 reg = <0x0 0x48000000 0x0 0x78000000>;
52 device_type = "memory";
53 reg = <0x4 0x80000000 0x0 0x80000000>;
56 rc21012_pci: clk-rc21012-pci {
57 compatible = "fixed-clock";
58 clock-frequency = <100000000>;
62 rc21012_ufs: clk-rc21012-ufs {
63 compatible = "fixed-clock";
64 clock-frequency = <38400000>;
68 reg_1p8v: regulator-1p8v {
69 compatible = "regulator-fixed";
70 regulator-name = "fixed-1.8V";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
77 reg_3p3v: regulator-3p3v {
78 compatible = "regulator-fixed";
79 regulator-name = "fixed-3.3V";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
88 clock-frequency = <20000000>;
92 clock-frequency = <32768>;
96 pinctrl-0 = <&hscif0_pins>;
97 pinctrl-names = "default";
104 pinctrl-0 = <&i2c0_pins>;
105 pinctrl-names = "default";
108 clock-frequency = <400000>;
110 gpio_exp_20: gpio@20 {
111 compatible = "ti,tca9554";
118 gpios = <5 GPIO_ACTIVE_LOW>;
125 pinctrl-0 = <&i2c4_pins>;
126 pinctrl-names = "default";
129 clock-frequency = <400000>;
132 compatible = "rohm,br24g01", "atmel,24c01";
140 * This board also has a microSD slot which we will not support upstream
141 * because we cannot directly switch voltages in software.
144 pinctrl-0 = <&mmc_pins>;
145 pinctrl-1 = <&mmc_pins>;
146 pinctrl-names = "default", "state_uhs";
148 vmmc-supply = <®_3p3v>;
149 vqmmc-supply = <®_1p8v>;
156 full-pwr-cycle-in-suspend;
161 compatible = "gpio-gate-clock";
162 clocks = <&rc21012_pci>;
163 enable-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
164 /delete-property/ clock-frequency;
168 reset-gpio = <&gpio_exp_20 0 GPIO_ACTIVE_LOW>;
173 pinctrl-0 = <&scif_clk_pins>;
174 pinctrl-names = "default";
176 hscif0_pins: hscif0 {
177 groups = "hscif0_data", "hscif0_ctrl";
192 groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
194 power-source = <1800>;
198 groups = "scif0_data", "scif0_ctrl";
202 scif_clk_pins: scif_clk {
204 function = "scif_clk";
214 pinctrl-0 = <&scif0_pins>;
215 pinctrl-names = "default";
222 clock-frequency = <24000000>;
230 compatible = "gpio-gate-clock";
231 clocks = <&rc21012_ufs>;
232 enable-gpios = <&gpio_exp_20 4 GPIO_ACTIVE_LOW>;
233 /delete-property/ clock-frequency;