1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Falcon CPU board
5 * Copyright (C) 2020 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
12 #include "r8a779a0.dtsi"
15 model = "Renesas Falcon CPU board";
16 compatible = "renesas,falcon-cpu", "renesas,r8a779a0";
30 stdout-path = "serial0:115200n8";
34 compatible = "gpio-keys";
36 pinctrl-0 = <&keys_pins>;
37 pinctrl-names = "default";
40 gpios = <&gpio6 18 GPIO_ACTIVE_LOW>;
44 debounce-interval = <20>;
48 gpios = <&gpio6 19 GPIO_ACTIVE_LOW>;
52 debounce-interval = <20>;
56 gpios = <&gpio6 20 GPIO_ACTIVE_LOW>;
60 debounce-interval = <20>;
65 compatible = "gpio-leds";
68 gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
69 color = <LED_COLOR_ID_GREEN>;
70 function = LED_FUNCTION_INDICATOR;
71 function-enumerator = <1>;
74 gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>;
75 color = <LED_COLOR_ID_GREEN>;
76 function = LED_FUNCTION_INDICATOR;
77 function-enumerator = <2>;
80 gpios = <&gpio4 20 GPIO_ACTIVE_HIGH>;
81 color = <LED_COLOR_ID_GREEN>;
82 function = LED_FUNCTION_INDICATOR;
83 function-enumerator = <3>;
88 device_type = "memory";
89 /* first 128MB is reserved for secure area. */
90 reg = <0x0 0x48000000 0x0 0x78000000>;
94 device_type = "memory";
95 reg = <0x5 0x00000000 0x0 0x80000000>;
99 device_type = "memory";
100 reg = <0x6 0x00000000 0x0 0x80000000>;
104 device_type = "memory";
105 reg = <0x7 0x00000000 0x0 0x80000000>;
109 compatible = "dp-connector";
114 mini_dp_con_in: endpoint {
115 remote-endpoint = <&sn65dsi86_out>;
120 reg_1p2v: regulator-1p2v {
121 compatible = "regulator-fixed";
122 regulator-name = "fixed-1.2V";
123 regulator-min-microvolt = <1200000>;
124 regulator-max-microvolt = <1200000>;
129 reg_1p8v: regulator-1p8v {
130 compatible = "regulator-fixed";
131 regulator-name = "fixed-1.8V";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
138 reg_3p3v: regulator-3p3v {
139 compatible = "regulator-fixed";
140 regulator-name = "fixed-3.3V";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
147 sn65dsi86_refclk: clk-x6 {
148 compatible = "fixed-clock";
150 clock-frequency = <38400000>;
160 remote-endpoint = <&sn65dsi86_in>;
161 data-lanes = <1 2 3 4>;
172 clock-frequency = <16666666>;
176 clock-frequency = <32768>;
180 pinctrl-0 = <&i2c0_pins>;
181 pinctrl-names = "default";
184 clock-frequency = <400000>;
187 compatible = "rohm,br24g01", "atmel,24c01";
195 pinctrl-0 = <&i2c1_pins>;
196 pinctrl-names = "default";
199 clock-frequency = <400000>;
202 pinctrl-0 = <&irq0_pins>;
203 pinctrl-names = "default";
205 compatible = "ti,sn65dsi86";
208 clocks = <&sn65dsi86_refclk>;
209 clock-names = "refclk";
211 interrupt-parent = <&intc_ex>;
212 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
214 vccio-supply = <®_1p8v>;
215 vpll-supply = <®_1p8v>;
216 vcca-supply = <®_1p2v>;
217 vcc-supply = <®_1p2v>;
220 #address-cells = <1>;
225 sn65dsi86_in: endpoint {
226 remote-endpoint = <&dsi0_out>;
232 sn65dsi86_out: endpoint {
233 remote-endpoint = <&mini_dp_con_in>;
241 pinctrl-0 = <&i2c6_pins>;
242 pinctrl-names = "default";
245 clock-frequency = <400000>;
249 pinctrl-0 = <&mmc_pins>;
250 pinctrl-1 = <&mmc_pins>;
251 pinctrl-names = "default", "state_uhs";
253 vmmc-supply = <®_3p3v>;
254 vqmmc-supply = <®_1p8v>;
261 full-pwr-cycle-in-suspend;
266 pinctrl-0 = <&scif_clk_pins>;
267 pinctrl-names = "default";
285 groups = "intc_ex_irq0";
286 function = "intc_ex";
290 pins = "GP_6_18", "GP_6_19", "GP_6_20";
295 groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
297 power-source = <1800>;
301 groups = "qspi0_ctrl", "qspi0_data4";
306 groups = "scif0_data", "scif0_ctrl";
310 scif_clk_pins: scif_clk {
312 function = "scif_clk";
317 pinctrl-0 = <&qspi0_pins>;
318 pinctrl-names = "default";
323 compatible = "spansion,s25fs512s", "jedec,spi-nor";
325 spi-max-frequency = <40000000>;
326 spi-rx-bus-width = <4>;
329 compatible = "fixed-partitions";
330 #address-cells = <1>;
334 reg = <0x0 0xcc0000>;
338 reg = <0xcc0000 0x3340000>;
350 pinctrl-0 = <&scif0_pins>;
351 pinctrl-names = "default";
358 clock-frequency = <24000000>;