65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "bcm2712.dtsi"
|
|
|
|
/ {
|
|
compatible = "raspberrypi,5-model-b", "brcm,bcm2712";
|
|
model = "Raspberry Pi 5";
|
|
|
|
aliases {
|
|
serial10 = &uart10;
|
|
};
|
|
|
|
chosen: chosen {
|
|
stdout-path = "serial10:115200n8";
|
|
};
|
|
|
|
/* Will be filled by the bootloader */
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0 0 0 0x28000000>;
|
|
};
|
|
|
|
sd_io_1v8_reg: sd-io-1v8-reg {
|
|
compatible = "regulator-gpio";
|
|
regulator-name = "vdd-sd-io";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
regulator-settling-time-us = <5000>;
|
|
gpios = <&gio_aon 3 GPIO_ACTIVE_HIGH>;
|
|
states = <1800000 1>,
|
|
<3300000 0>;
|
|
};
|
|
|
|
sd_vcc_reg: sd-vcc-reg {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc-sd";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
enable-active-high;
|
|
gpios = <&gio_aon 4 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
/* The Debug UART, on Rpi5 it's on JST-SH 1.0mm 3-pin connector
|
|
* labeled "UART", i.e. the interface with the system console.
|
|
*/
|
|
&uart10 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* SDIO1 is used to drive the SD card */
|
|
&sdio1 {
|
|
vqmmc-supply = <&sd_io_1v8_reg>;
|
|
vmmc-supply = <&sd_vcc_reg>;
|
|
bus-width = <4>;
|
|
sd-uhs-sdr50;
|
|
sd-uhs-ddr50;
|
|
sd-uhs-sdr104;
|
|
};
|