mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
45145406f3
This adds eMMC support to the applicable Sparx5 board configuration files. Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Link: https://lore.kernel.org/r/20200825081357.32354-4-lars.povlsen@microchip.com
41 lines
854 B
Plaintext
41 lines
854 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "sparx5_pcb134_board.dtsi"
|
|
|
|
/ {
|
|
model = "Sparx5 PCB134 Reference Board (eMMC enabled)";
|
|
compatible = "microchip,sparx5-pcb134", "microchip,sparx5";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x00000000 0x10000000>;
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
emmc_pins: emmc-pins {
|
|
/* NB: No "GPIO_35", "GPIO_36", "GPIO_37"
|
|
* (N/A: CARD_nDETECT, CARD_WP, CARD_LED)
|
|
*/
|
|
pins = "GPIO_34", "GPIO_38", "GPIO_39",
|
|
"GPIO_40", "GPIO_41", "GPIO_42",
|
|
"GPIO_43", "GPIO_44", "GPIO_45",
|
|
"GPIO_46", "GPIO_47";
|
|
drive-strength = <3>;
|
|
function = "emmc";
|
|
};
|
|
};
|
|
|
|
&sdhci0 {
|
|
status = "okay";
|
|
pinctrl-0 = <&emmc_pins>;
|
|
non-removable;
|
|
max-frequency = <52000000>;
|
|
bus-width = <8>;
|
|
microchip,clock-delay = <10>;
|
|
};
|