1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Alt board
5 * Copyright (C) 2014 Renesas Electronics Corporation
9 #include "r8a7794.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "renesas,alt", "renesas,r8a7794";
29 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
30 stdout-path = "serial0:115200n8";
34 device_type = "memory";
35 reg = <0 0x40000000 0 0x40000000>;
38 d3_3v: regulator-d3-3v {
39 compatible = "regulator-fixed";
40 regulator-name = "D3.3V";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
47 vcc_sdhi0: regulator-vcc-sdhi0 {
48 compatible = "regulator-fixed";
50 regulator-name = "SDHI0 Vcc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
54 gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>;
58 vccq_sdhi0: regulator-vccq-sdhi0 {
59 compatible = "regulator-gpio";
61 regulator-name = "SDHI0 VccQ";
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <3300000>;
65 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
67 states = <3300000 1>, <1800000 0>;
70 vcc_sdhi1: regulator-vcc-sdhi1 {
71 compatible = "regulator-fixed";
73 regulator-name = "SDHI1 Vcc";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
77 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
81 vccq_sdhi1: regulator-vccq-sdhi1 {
82 compatible = "regulator-gpio";
84 regulator-name = "SDHI1 VccQ";
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <3300000>;
88 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
90 states = <3300000 1>, <1800000 0>;
94 compatible = "gpio-keys";
96 pinctrl-0 = <&keyboard_pins>;
97 pinctrl-names = "default";
100 linux,code = <KEY_1>;
103 debounce-interval = <20>;
104 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_2>;
110 debounce-interval = <20>;
111 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_3>;
117 debounce-interval = <20>;
118 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_4>;
124 debounce-interval = <20>;
125 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
130 compatible = "adi,adv7123";
133 #address-cells = <1>;
138 adv7123_in: endpoint {
139 remote-endpoint = <&du_out_rgb1>;
144 adv7123_out: endpoint {
145 remote-endpoint = <&vga_in>;
152 compatible = "vga-connector";
156 remote-endpoint = <&adv7123_out>;
162 compatible = "fixed-clock";
164 clock-frequency = <74250000>;
168 compatible = "fixed-clock";
170 clock-frequency = <148500000>;
174 #address-cells = <1>;
176 compatible = "i2c-gpio";
178 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
179 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
183 #address-cells = <1>;
185 compatible = "i2c-gpio";
187 scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
188 sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
189 i2c-gpio,delay-us = <5>;
193 * A fallback to GPIO is provided for I2C1.
196 compatible = "i2c-demux-pinctrl";
197 i2c-parent = <&i2c1>, <&gpioi2c1>;
198 i2c-bus-name = "i2c-hdmi";
199 #address-cells = <1>;
203 compatible = "adi,adv7180";
209 remote-endpoint = <&vin0ep>;
215 compatible = "renesas,r1ex24002", "atmel,24c02";
222 * I2C4 is routed to EXIO connector B, pins 73 (SCL) + 74 (SDA).
223 * A fallback to GPIO is provided.
226 compatible = "i2c-demux-pinctrl";
227 i2c-parent = <&i2c4>, <&gpioi2c4>;
228 i2c-bus-name = "i2c-exio4";
229 #address-cells = <1>;
236 pinctrl-0 = <&usb0_pins>;
237 pinctrl-names = "default";
242 pinctrl-0 = <&usb1_pins>;
243 pinctrl-names = "default";
251 pinctrl-0 = <&du_pins>;
252 pinctrl-names = "default";
255 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
256 <&x13_clk>, <&x2_clk>;
257 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
262 remote-endpoint = <&adv7123_in>;
269 clock-frequency = <20000000>;
273 pinctrl-0 = <&scif_clk_pins>;
274 pinctrl-names = "default";
277 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
282 groups = "scif2_data";
286 scif_clk_pins: scif_clk {
288 function = "scif_clk";
292 groups = "eth_link", "eth_mdio", "eth_rmii";
297 groups = "intc_irq8";
312 groups = "vin0_data8", "vin0_clk";
316 mmcif0_pins: mmcif0 {
317 groups = "mmc_data8", "mmc_ctrl";
322 groups = "sdhi0_data4", "sdhi0_ctrl";
324 power-source = <3300>;
327 sdhi0_pins_uhs: sd0_uhs {
328 groups = "sdhi0_data4", "sdhi0_ctrl";
330 power-source = <1800>;
334 groups = "sdhi1_data4", "sdhi1_ctrl";
336 power-source = <3300>;
339 sdhi1_pins_uhs: sd1_uhs {
340 groups = "sdhi1_data4", "sdhi1_ctrl";
342 power-source = <1800>;
355 keyboard_pins: keyboard {
356 pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12";
367 groups = "qspi_ctrl", "qspi_data4";
373 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
374 pinctrl-names = "default";
376 phy-handle = <&phy1>;
377 renesas,ether-link-active-low;
380 phy1: ethernet-phy@1 {
381 compatible = "ethernet-phy-id0022.1537",
382 "ethernet-phy-ieee802.3-c22";
384 interrupt-parent = <&irqc0>;
385 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
386 micrel,led-mode = <1>;
387 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
392 pinctrl-0 = <&mmcif0_pins>;
393 pinctrl-names = "default";
395 vmmc-supply = <&d3_3v>;
396 vqmmc-supply = <&d3_3v>;
408 pinctrl-0 = <&sdhi0_pins>;
409 pinctrl-1 = <&sdhi0_pins_uhs>;
410 pinctrl-names = "default", "state_uhs";
412 vmmc-supply = <&vcc_sdhi0>;
413 vqmmc-supply = <&vccq_sdhi0>;
414 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
415 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
422 pinctrl-0 = <&sdhi1_pins>;
423 pinctrl-1 = <&sdhi1_pins_uhs>;
424 pinctrl-names = "default", "state_uhs";
426 vmmc-supply = <&vcc_sdhi1>;
427 vqmmc-supply = <&vccq_sdhi1>;
428 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
429 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
435 pinctrl-0 = <&i2c1_pins>;
436 pinctrl-names = "i2c-hdmi";
438 clock-frequency = <400000>;
442 pinctrl-0 = <&i2c4_pins>;
443 pinctrl-names = "i2c-exio4";
448 clock-frequency = <100000>;
451 compatible = "dlg,da9063";
453 interrupt-parent = <&gpio3>;
454 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
455 interrupt-controller;
456 #interrupt-cells = <2>;
459 compatible = "dlg,da9063-rtc";
463 compatible = "dlg,da9063-watchdog";
470 pinctrl-0 = <&vin0_pins>;
471 pinctrl-names = "default";
475 remote-endpoint = <&adv7180>;
482 pinctrl-0 = <&scif2_pins>;
483 pinctrl-names = "default";
489 clock-frequency = <14745600>;
493 pinctrl-0 = <&qspi_pins>;
494 pinctrl-names = "default";
499 compatible = "spansion,s25fl512s", "jedec,spi-nor";
501 spi-max-frequency = <30000000>;
502 spi-tx-bus-width = <4>;
503 spi-rx-bus-width = <4>;
509 compatible = "fixed-partitions";
510 #address-cells = <1>;
515 reg = <0x00000000 0x00040000>;
520 reg = <0x00040000 0x00040000>;
525 reg = <0x00080000 0x03f80000>;