xref: /openbmc/linux/scripts/dtc/include-prefixes/arm64/microchip/sparx5_pcb134_emmc.dts (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
16694aee0SLars Povlsen// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26694aee0SLars Povlsen/*
36694aee0SLars Povlsen * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
46694aee0SLars Povlsen */
56694aee0SLars Povlsen
66694aee0SLars Povlsen/dts-v1/;
76694aee0SLars Povlsen#include "sparx5_pcb134_board.dtsi"
86694aee0SLars Povlsen
96694aee0SLars Povlsen/ {
106694aee0SLars Povlsen	model = "Sparx5 PCB134 Reference Board (eMMC enabled)";
116694aee0SLars Povlsen	compatible = "microchip,sparx5-pcb134", "microchip,sparx5";
126694aee0SLars Povlsen
136694aee0SLars Povlsen	memory@0 {
146694aee0SLars Povlsen		device_type = "memory";
156694aee0SLars Povlsen		reg = <0x00000000 0x00000000 0x10000000>;
166694aee0SLars Povlsen	};
176694aee0SLars Povlsen};
18*45145406SLars Povlsen
19*45145406SLars Povlsen&gpio {
20*45145406SLars Povlsen	emmc_pins: emmc-pins {
21*45145406SLars Povlsen		/* NB: No "GPIO_35", "GPIO_36", "GPIO_37"
22*45145406SLars Povlsen		 * (N/A: CARD_nDETECT, CARD_WP, CARD_LED)
23*45145406SLars Povlsen		 */
24*45145406SLars Povlsen		pins = "GPIO_34", "GPIO_38", "GPIO_39",
25*45145406SLars Povlsen			"GPIO_40", "GPIO_41", "GPIO_42",
26*45145406SLars Povlsen			"GPIO_43", "GPIO_44", "GPIO_45",
27*45145406SLars Povlsen			"GPIO_46", "GPIO_47";
28*45145406SLars Povlsen		drive-strength = <3>;
29*45145406SLars Povlsen		function = "emmc";
30*45145406SLars Povlsen	};
31*45145406SLars Povlsen};
32*45145406SLars Povlsen
33*45145406SLars Povlsen&sdhci0 {
34*45145406SLars Povlsen	status = "okay";
35*45145406SLars Povlsen	pinctrl-0 = <&emmc_pins>;
36*45145406SLars Povlsen	non-removable;
37*45145406SLars Povlsen	max-frequency = <52000000>;
38*45145406SLars Povlsen	bus-width = <8>;
39*45145406SLars Povlsen	microchip,clock-delay = <10>;
40*45145406SLars Povlsen};
41