mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 01:45:20 +07:00
119c98f16e
Add Colibri SODIMM numbers as GPIO line names on module level. The GPIO lines with a name are all available on the SODIMM edge connector of the Colibri iMX7 module and therefore a customer might use it as a GPIO. The Toradex Evaluation Board has the SODIMM numbers printed on the silk- screen. This allows a customer to quickly control a GPIO on a pin-header by using the name printed next to it. Putting the GPIO line name on module level makes sure that a customer gets a reasonable default. If more meaningful names are available on a custom carrier board, the user can overwrite the line names in a carrier board level device tree. The eMMC based modules share all GPIO names except two GPIOs on bank 6 which are not available on the raw NAND devices. Hence overwrite GPIO line names of bank 6 in the eMMC specific device tree file. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
49 lines
607 B
Plaintext
49 lines
607 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright 2017 Toradex AG
|
|
*/
|
|
|
|
#include "imx7d.dtsi"
|
|
#include "imx7-colibri.dtsi"
|
|
|
|
/ {
|
|
memory@80000000 {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x40000000>;
|
|
};
|
|
};
|
|
|
|
&gpio6 {
|
|
gpio-line-names = "",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"SODIMM_169",
|
|
"SODIMM_157",
|
|
"",
|
|
"SODIMM_163",
|
|
"SODIMM_77",
|
|
"SODIMM_24",
|
|
"",
|
|
"SODIMM_25",
|
|
"SODIMM_27",
|
|
"SODIMM_32",
|
|
"SODIMM_34";
|
|
};
|
|
|
|
&usbotg2 {
|
|
dr_mode = "host";
|
|
};
|
|
|
|
&usdhc3 {
|
|
status = "okay";
|
|
};
|