mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 01:14:56 +00:00
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>
170 lines
3.3 KiB
Plaintext
170 lines
3.3 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
|
/*
|
|
* Copyright (C) 2020 Marek Vasut <marex@denx.de>
|
|
*/
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
|
|
/ {
|
|
aliases {
|
|
serial0 = &uart4;
|
|
serial1 = &usart3;
|
|
serial2 = &uart8;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
};
|
|
|
|
&adc {
|
|
status = "disabled";
|
|
};
|
|
|
|
&dac {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpiob {
|
|
/*
|
|
* NOTE: On DRC02, the RS485_RX_En is controlled by a separate
|
|
* GPIO line, however the STM32 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 = <8 0>;
|
|
output-low;
|
|
line-name = "rs485-rx-en";
|
|
};
|
|
};
|
|
|
|
&gpiod {
|
|
gpio-line-names = "", "", "", "",
|
|
"", "", "DHCOM-B", "",
|
|
"", "", "", "DRC02-Out1",
|
|
"DRC02-Out2", "", "", "";
|
|
};
|
|
|
|
&gpioi {
|
|
gpio-line-names = "DRC02-In1", "DHCOM-O", "DHCOM-H", "DHCOM-I",
|
|
"DHCOM-R", "DHCOM-M", "", "",
|
|
"DRC02-In2", "", "", "",
|
|
"", "", "", "";
|
|
|
|
/*
|
|
* NOTE: The USB Hub on the DRC02 needs a reset signal to be
|
|
* pulled high in order to be detected by the USB Controller.
|
|
* This signal should be handled by USB power sequencing in
|
|
* order to reset the Hub when USB bus is powered down, but
|
|
* so far there is no such functionality.
|
|
*/
|
|
usb-hub-hog {
|
|
gpio-hog;
|
|
gpios = <2 0>;
|
|
output-high;
|
|
line-name = "usb-hub-reset";
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c2_pins_a>;
|
|
i2c-scl-rising-time-ns = <185>;
|
|
i2c-scl-falling-time-ns = <20>;
|
|
status = "okay";
|
|
/* spare dmas for other usage */
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "okay";
|
|
|
|
eeprom@50 {
|
|
compatible = "atmel,24c04";
|
|
reg = <0x50>;
|
|
pagesize = <16>;
|
|
};
|
|
};
|
|
|
|
&i2c4 {
|
|
touchscreen@49 {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
&i2c5 { /* TP7/TP8 */
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c5_pins_a>;
|
|
i2c-scl-rising-time-ns = <185>;
|
|
i2c-scl-falling-time-ns = <20>;
|
|
status = "okay";
|
|
/* spare dmas for other usage */
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
};
|
|
|
|
&sdmmc3 {
|
|
/*
|
|
* On DRC02, the SoM does not have SDIO WiFi. The pins
|
|
* are used for on-board microSD slot instead.
|
|
*/
|
|
/delete-property/broken-cd;
|
|
cd-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH>;
|
|
disable-wp;
|
|
};
|
|
|
|
&spi1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi1_pins_a>;
|
|
cs-gpios = <&gpioz 3 0>;
|
|
/* Use PIO for the display */
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "disabled"; /* Enable once there is display driver */
|
|
/*
|
|
* Note: PF3/GPIO_A , PD6/GPIO_B , PG0/GPIO_C , PC6/GPIO_E are
|
|
* also connected to the display board connector.
|
|
*/
|
|
};
|
|
|
|
&usart3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "okay";
|
|
};
|
|
|
|
/*
|
|
* Note: PI3 is UART1_RTS and PI5 is UART1_CTS on DRC02 (uart4 of STM32MP1),
|
|
* however the STM32MP1 pinmux cannot map them to UART4 .
|
|
*/
|
|
|
|
&uart8 { /* RS485 */
|
|
linux,rs485-enabled-at-boot-time;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart8_pins_a>;
|
|
rts-gpios = <&gpioe 6 GPIO_ACTIVE_HIGH>;
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbh_ehci {
|
|
phys = <&usbphyc_port0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphyc {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphyc_port0 {
|
|
phy-supply = <&vdd_usb>;
|
|
};
|
|
|
|
&usbphyc_port1 {
|
|
phy-supply = <&vdd_usb>;
|
|
};
|