xref: /freebsd/sys/contrib/device-tree/src/arm64/microchip/sparx5_pcb135_emmc.dts (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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_pcb135_board.dtsi"
8
9/ {
10	model = "Sparx5 PCB135 Reference Board (eMMC enabled)";
11	compatible = "microchip,sparx5-pcb135", "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