xref: /freebsd/sys/contrib/device-tree/src/arm64/microchip/sparx5_pcb134_emmc.dts (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
4 */
5
6/dts-v1/;
7#include "sparx5_pcb134_board.dtsi"
8
9/ {
10	model = "Sparx5 PCB134 Reference Board (eMMC enabled)";
11	compatible = "microchip,sparx5-pcb134", "microchip,sparx5";
12
13	memory@0 {
14		device_type = "memory";
15		reg = <0x00000000 0x00000000 0x10000000>;
16	};
17};
18
19&gpio {
20	emmc_pins: emmc-pins {
21		/* NB: No "GPIO_35", "GPIO_36", "GPIO_37"
22		 * (N/A: CARD_nDETECT, CARD_WP, CARD_LED)
23		 */
24		pins = "GPIO_34", "GPIO_38", "GPIO_39",
25			"GPIO_40", "GPIO_41", "GPIO_42",
26			"GPIO_43", "GPIO_44", "GPIO_45",
27			"GPIO_46", "GPIO_47";
28		drive-strength = <3>;
29		function = "emmc";
30	};
31};
32
33&sdhci0 {
34	status = "okay";
35	pinctrl-0 = <&emmc_pins>;
36	non-removable;
37	max-frequency = <52000000>;
38	bus-width = <8>;
39	microchip,clock-delay = <10>;
40};
41