The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
99 lines
2.2 KiB
Text
99 lines
2.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
/*
|
|
* Copyright (C) 2023 DH electronics GmbH
|
|
*
|
|
* DHCOM iMX6ULL variant:
|
|
* DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-SD-RTC-ADC-I-01D2
|
|
* DHCOR PCB number: 578-200 or newer
|
|
* DHCOM PCB number: 579-200 or newer
|
|
* DRC02 PCB number: 568-100 or newer (2nd ethernet by SoM)
|
|
*/
|
|
/dts-v1/;
|
|
|
|
#include "imx6ull-dhcom-som.dtsi"
|
|
#include "imx6ull-dhcom-som-cfg-sdcard.dtsi"
|
|
|
|
/ {
|
|
model = "DH electronics i.MX6ULL DHCOM on DRC02";
|
|
compatible = "dh,imx6ull-dhcom-drc02", "dh,imx6ull-dhcom-som",
|
|
"dh,imx6ull-dhcor-som", "fsl,imx6ull";
|
|
};
|
|
|
|
/*
|
|
* The signals for CAN2 TX and RX are routed to the DHCOM UART1 RTS/CTS pins.
|
|
* Therefore the UART RTS/CTS must be output on other DHCOM pins, see uart1
|
|
* node below.
|
|
*/
|
|
&can2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio1 {
|
|
gpio-line-names =
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "DRC02-In2",
|
|
"", "", "", "",
|
|
"", "", "DHCOM-I", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "";
|
|
};
|
|
|
|
&gpio4 {
|
|
gpio-line-names =
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "DRC02-HW0", "DRC02-HW1", "DHCOM-M",
|
|
"DRC02-HW2", "DHCOM-U", "DHCOM-T", "DHCOM-S",
|
|
"DHCOM-R", "DHCOM-Q", "DHCOM-P", "DHCOM-O",
|
|
"DHCOM-N", "", "", "";
|
|
/*
|
|
* NOTE: On DRC02, the RS485_RX_En is controlled by a separate
|
|
* GPIO line, however the i.MX6ULL UART driver assumes RX happens
|
|
* during TX anyway and that it only controls drive enable DE
|
|
* line. Hence, the RX is always enabled here.
|
|
*/
|
|
rs485-rx-en-hog {
|
|
gpio-hog;
|
|
gpios = <25 0>; /* GPIO Q */
|
|
line-name = "rs485-rx-en";
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
&gpio5 {
|
|
gpio-line-names =
|
|
"DHCOM-A", "DHCOM-B", "DHCOM-C", "DRC02-Out2",
|
|
"DHCOM-E", "", "", "DRC02-Out1",
|
|
"DRC02-In1", "DHCOM-H", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "",
|
|
"", "", "", "";
|
|
};
|
|
|
|
/* DHCOM I2C2 */
|
|
&i2c1 {
|
|
eeprom@56 {
|
|
compatible = "atmel,24c04";
|
|
reg = <0x56>;
|
|
pagesize = <16>;
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
/delete-property/ uart-has-rtscts;
|
|
rts-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; /* GPIO I */
|
|
cts-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; /* GPIO M */
|
|
};
|
|
|
|
/* Use UART as RS485 */
|
|
&uart2 {
|
|
/delete-property/ uart-has-rtscts;
|
|
linux,rs485-enabled-at-boot-time;
|
|
rts-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* GPIO P */
|
|
};
|