|
| 1 | +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | +/* |
| 3 | + * Device Tree Source for the RZ/V2N EVK board |
| 4 | + * |
| 5 | + * Copyright (C) 2025 Renesas Electronics Corp. |
| 6 | + */ |
| 7 | + |
| 8 | +/dts-v1/; |
| 9 | + |
| 10 | +#include <dt-bindings/gpio/gpio.h> |
| 11 | +#include "r9a09g056.dtsi" |
| 12 | + |
| 13 | +/ { |
| 14 | + model = "Renesas RZ/V2N EVK Board based on r9a09g056n48"; |
| 15 | + compatible = "renesas,rzv2n-evk", "renesas,r9a09g056n48", "renesas,r9a09g056"; |
| 16 | + |
| 17 | + aliases { |
| 18 | + mmc1 = &sdhi1; |
| 19 | + serial0 = &scif; |
| 20 | + }; |
| 21 | + |
| 22 | + chosen { |
| 23 | + bootargs = "ignore_loglevel"; |
| 24 | + stdout-path = "serial0:115200n8"; |
| 25 | + }; |
| 26 | + |
| 27 | + memory@48000000 { |
| 28 | + device_type = "memory"; |
| 29 | + /* first 128MB is reserved for secure area. */ |
| 30 | + reg = <0x0 0x48000000 0x1 0xf8000000>; |
| 31 | + }; |
| 32 | + |
| 33 | + reg_3p3v: regulator-3p3v { |
| 34 | + compatible = "regulator-fixed"; |
| 35 | + regulator-name = "fixed-3.3V"; |
| 36 | + regulator-min-microvolt = <3300000>; |
| 37 | + regulator-max-microvolt = <3300000>; |
| 38 | + regulator-boot-on; |
| 39 | + regulator-always-on; |
| 40 | + }; |
| 41 | + |
| 42 | + vqmmc_sdhi1: regulator-vqmmc-sdhi1 { |
| 43 | + compatible = "regulator-gpio"; |
| 44 | + regulator-name = "SDHI1 VqmmC"; |
| 45 | + gpios = <&pinctrl RZV2N_GPIO(A, 2) GPIO_ACTIVE_HIGH>; |
| 46 | + regulator-min-microvolt = <1800000>; |
| 47 | + regulator-max-microvolt = <3300000>; |
| 48 | + gpios-states = <0>; |
| 49 | + states = <3300000 0>, <1800000 1>; |
| 50 | + }; |
| 51 | +}; |
| 52 | + |
| 53 | +&audio_extal_clk { |
| 54 | + clock-frequency = <22579200>; |
| 55 | +}; |
| 56 | + |
| 57 | +&pinctrl { |
| 58 | + scif_pins: scif { |
| 59 | + pins = "SCIF_TXD", "SCIF_RXD"; |
| 60 | + renesas,output-impedance = <1>; |
| 61 | + }; |
| 62 | + |
| 63 | + sd1-pwr-en-hog { |
| 64 | + gpio-hog; |
| 65 | + gpios = <RZV2N_GPIO(A, 3) GPIO_ACTIVE_HIGH>; |
| 66 | + output-high; |
| 67 | + line-name = "sd1_pwr_en"; |
| 68 | + }; |
| 69 | + |
| 70 | + sdhi1_pins: sd1 { |
| 71 | + sd1-cd { |
| 72 | + pinmux = <RZV2N_PORT_PINMUX(9, 4, 14)>; /* SD1_CD */ |
| 73 | + }; |
| 74 | + |
| 75 | + sd1-clk { |
| 76 | + pins = "SD1CLK"; |
| 77 | + renesas,output-impedance = <3>; |
| 78 | + slew-rate = <0>; |
| 79 | + }; |
| 80 | + |
| 81 | + sd1-dat-cmd { |
| 82 | + pins = "SD1DAT0", "SD1DAT1", "SD1DAT2", "SD1DAT3", "SD1CMD"; |
| 83 | + input-enable; |
| 84 | + renesas,output-impedance = <3>; |
| 85 | + slew-rate = <0>; |
| 86 | + }; |
| 87 | + }; |
| 88 | +}; |
| 89 | + |
| 90 | +&qextal_clk { |
| 91 | + clock-frequency = <24000000>; |
| 92 | +}; |
| 93 | + |
| 94 | +&rtxin_clk { |
| 95 | + clock-frequency = <32768>; |
| 96 | +}; |
| 97 | + |
| 98 | +&scif { |
| 99 | + pinctrl-0 = <&scif_pins>; |
| 100 | + pinctrl-names = "default"; |
| 101 | + status = "okay"; |
| 102 | +}; |
| 103 | + |
| 104 | +&sdhi1 { |
| 105 | + pinctrl-0 = <&sdhi1_pins>; |
| 106 | + pinctrl-1 = <&sdhi1_pins>; |
| 107 | + pinctrl-names = "default", "state_uhs"; |
| 108 | + vmmc-supply = <®_3p3v>; |
| 109 | + vqmmc-supply = <&vqmmc_sdhi1>; |
| 110 | + bus-width = <4>; |
| 111 | + sd-uhs-sdr50; |
| 112 | + sd-uhs-sdr104; |
| 113 | + status = "okay"; |
| 114 | +}; |
0 commit comments