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>;
99 compatible = "gpio-keys";
101 pinctrl-0 = <&keyboard_pins>;
102 pinctrl-names = "default";
105 linux,code = <KEY_1>;
108 debounce-interval = <20>;
109 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_2>;
115 debounce-interval = <20>;
116 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
119 linux,code = <KEY_3>;
122 debounce-interval = <20>;
123 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_4>;
129 debounce-interval = <20>;
130 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
135 compatible = "adi,adv7123";
138 #address-cells = <1>;
143 adv7123_in: endpoint {
144 remote-endpoint = <&du_out_rgb1>;
149 adv7123_out: endpoint {
150 remote-endpoint = <&vga_in>;
157 compatible = "vga-connector";
161 remote-endpoint = <&adv7123_out>;
167 compatible = "fixed-clock";
169 clock-frequency = <74250000>;
173 compatible = "fixed-clock";
175 clock-frequency = <148500000>;
179 #address-cells = <1>;
181 compatible = "i2c-gpio";
183 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
184 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
188 #address-cells = <1>;
190 compatible = "i2c-gpio";
192 scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
193 sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
194 i2c-gpio,delay-us = <5>;
198 * A fallback to GPIO is provided for I2C1.
201 compatible = "i2c-demux-pinctrl";
202 i2c-parent = <&i2c1>, <&gpioi2c1>;
203 i2c-bus-name = "i2c-hdmi";
204 #address-cells = <1>;
208 compatible = "adi,adv7180";
214 remote-endpoint = <&vin0ep>;
220 compatible = "renesas,r1ex24002", "atmel,24c02";
227 * I2C4 is routed to EXIO connector B, pins 73 (SCL) + 74 (SDA).
228 * A fallback to GPIO is provided.
231 compatible = "i2c-demux-pinctrl";
232 i2c-parent = <&i2c4>, <&gpioi2c4>;
233 i2c-bus-name = "i2c-exio4";
234 #address-cells = <1>;
241 pinctrl-0 = <&usb0_pins>;
242 pinctrl-names = "default";
247 pinctrl-0 = <&usb1_pins>;
248 pinctrl-names = "default";
256 pinctrl-0 = <&du_pins>;
257 pinctrl-names = "default";
260 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
261 <&x13_clk>, <&x2_clk>;
262 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
267 remote-endpoint = <&adv7123_in>;
274 clock-frequency = <20000000>;
278 pinctrl-0 = <&scif_clk_pins>;
279 pinctrl-names = "default";
282 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out";
287 groups = "scif2_data";
291 scif_clk_pins: scif_clk {
293 function = "scif_clk";
297 groups = "eth_link", "eth_mdio", "eth_rmii";
302 groups = "intc_irq8";
317 groups = "vin0_data8", "vin0_clk";
321 mmcif0_pins: mmcif0 {
322 groups = "mmc_data8", "mmc_ctrl";
327 groups = "sdhi0_data4", "sdhi0_ctrl";
329 power-source = <3300>;
332 sdhi0_pins_uhs: sd0_uhs {
333 groups = "sdhi0_data4", "sdhi0_ctrl";
335 power-source = <1800>;
339 groups = "sdhi1_data4", "sdhi1_ctrl";
341 power-source = <3300>;
344 sdhi1_pins_uhs: sd1_uhs {
345 groups = "sdhi1_data4", "sdhi1_ctrl";
347 power-source = <1800>;
360 keyboard_pins: keyboard {
361 pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12";
372 groups = "qspi_ctrl", "qspi_data4";
378 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
379 pinctrl-names = "default";
381 phy-handle = <&phy1>;
382 renesas,ether-link-active-low;
385 phy1: ethernet-phy@1 {
386 compatible = "ethernet-phy-id0022.1537",
387 "ethernet-phy-ieee802.3-c22";
389 interrupt-parent = <&irqc0>;
390 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
391 micrel,led-mode = <1>;
392 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
397 pinctrl-0 = <&mmcif0_pins>;
398 pinctrl-names = "default";
400 vmmc-supply = <&d3_3v>;
401 vqmmc-supply = <&d3_3v>;
413 pinctrl-0 = <&sdhi0_pins>;
414 pinctrl-1 = <&sdhi0_pins_uhs>;
415 pinctrl-names = "default", "state_uhs";
417 vmmc-supply = <&vcc_sdhi0>;
418 vqmmc-supply = <&vccq_sdhi0>;
419 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
420 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
427 pinctrl-0 = <&sdhi1_pins>;
428 pinctrl-1 = <&sdhi1_pins_uhs>;
429 pinctrl-names = "default", "state_uhs";
431 vmmc-supply = <&vcc_sdhi1>;
432 vqmmc-supply = <&vccq_sdhi1>;
433 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
434 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
440 pinctrl-0 = <&i2c1_pins>;
441 pinctrl-names = "i2c-hdmi";
443 clock-frequency = <400000>;
447 pinctrl-0 = <&i2c4_pins>;
448 pinctrl-names = "i2c-exio4";
453 clock-frequency = <100000>;
456 compatible = "dlg,da9063";
458 interrupt-parent = <&gpio3>;
459 interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
460 interrupt-controller;
463 compatible = "dlg,da9063-rtc";
467 compatible = "dlg,da9063-watchdog";
474 pinctrl-0 = <&vin0_pins>;
475 pinctrl-names = "default";
479 remote-endpoint = <&adv7180>;
486 pinctrl-0 = <&scif2_pins>;
487 pinctrl-names = "default";
493 clock-frequency = <14745600>;
497 pinctrl-0 = <&qspi_pins>;
498 pinctrl-names = "default";
503 compatible = "spansion,s25fl512s", "jedec,spi-nor";
505 spi-max-frequency = <30000000>;
506 spi-tx-bus-width = <4>;
507 spi-rx-bus-width = <4>;
513 compatible = "fixed-partitions";
514 #address-cells = <1>;
519 reg = <0x00000000 0x00040000>;
524 reg = <0x00040000 0x00040000>;
529 reg = <0x00080000 0x03f80000>;