mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 04:23:46 +00:00
189ec2fee6
Device tree alignment with Linux kernel v5.18-rc2: - ARM: dts: stm32: Add support for the emtrion emSBC-Argon (only the pincontrol part) - ARM: dts: stm32: Drop duplicate status okay from DHCOM gpioc node - ARM: dts: stm32: add st,stm32-sdmmc2 compatible on stm32mp151 - ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15 - ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157 - ARM: dts: stm32: add DMA configuration to UART nodes on stm32mp151 - ARM: dts: stm32: keep uart4 behavior on * - ARM: dts: stm32: Correct masks for GIC PPI interrupts on stm32mp15 Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
151 lines
2.6 KiB
Text
151 lines
2.6 KiB
Text
// 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";
|
|
};
|
|
|
|
led {
|
|
compatible = "gpio-leds";
|
|
|
|
led-0 {
|
|
label = "yellow:led";
|
|
gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
|
|
&adc {
|
|
status = "disabled";
|
|
};
|
|
|
|
&dac {
|
|
status = "disabled";
|
|
};
|
|
|
|
&fmc {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpioa {
|
|
/*
|
|
* NOTE: The USB Port on the PicoITX needs a PWR_EN signal to enable
|
|
* port power. This signal should be handled by USB power sequencing
|
|
* in order to turn on port power when USB bus is powered up, but so
|
|
* far there is no such functionality.
|
|
*/
|
|
usb-port-power-hog {
|
|
gpio-hog;
|
|
gpios = <13 0>;
|
|
output-low;
|
|
line-name = "usb-port-power";
|
|
};
|
|
};
|
|
|
|
&gpioc {
|
|
gpio-line-names = "", "", "", "",
|
|
"", "", "PicoITX-In1", "",
|
|
"", "", "", "",
|
|
"", "", "", "";
|
|
};
|
|
|
|
&gpiod {
|
|
gpio-line-names = "", "", "", "",
|
|
"", "", "DHCOM-B", "",
|
|
"", "", "", "PicoITX-Out1",
|
|
"PicoITX-Out2", "", "", "";
|
|
};
|
|
|
|
&gpiog {
|
|
gpio-line-names = "PicoITX-In2", "", "", "",
|
|
"", "", "", "",
|
|
"DHCOM-L", "", "", "",
|
|
"", "", "", "";
|
|
};
|
|
|
|
&i2c2 { /* On board-to-board connector (optional) */
|
|
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;
|
|
};
|
|
|
|
&i2c5 { /* On board-to-board connector */
|
|
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;
|
|
};
|
|
|
|
&ksz8851 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&usart3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart8 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
|
|
/delete-property/dmas;
|
|
/delete-property/dma-names;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbh_ehci {
|
|
phys = <&usbphyc_port0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbh_ohci {
|
|
phys = <&usbphyc_port0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg_hs {
|
|
dr_mode = "otg";
|
|
pinctrl-0 = <&usbotg_hs_pins_a>;
|
|
pinctrl-names = "default";
|
|
phy-names = "usb2-phy";
|
|
phys = <&usbphyc_port1 0>;
|
|
vbus-supply = <&vbus_otg>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphyc {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphyc_port0 {
|
|
phy-supply = <&vdd_usb>;
|
|
};
|
|
|
|
&usbphyc_port1 {
|
|
phy-supply = <&vdd_usb>;
|
|
};
|