mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0. Due to a change in gpiolib-of.c, setting flags to GPIO_ACTIVE_LOW and using output-low DT property leads to the GPIO being set high instead. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
		
			
				
	
	
		
			94 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			94 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
 | 
						|
/*
 | 
						|
 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
 | 
						|
 */
 | 
						|
 | 
						|
#include "stm32mp15xx-dhcom.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	model = "DH Electronics STM32MP15xx DHCOM PicoITX";
 | 
						|
	compatible = "dh,stm32mp15xx-dhcom-picoitx", "st,stm32mp1xx";
 | 
						|
 | 
						|
	aliases {
 | 
						|
		serial0 = &uart4;
 | 
						|
		serial1 = &usart3;
 | 
						|
		serial2 = &uart8;
 | 
						|
	};
 | 
						|
 | 
						|
	chosen {
 | 
						|
		stdout-path = "serial0:115200n8";
 | 
						|
	};
 | 
						|
};
 | 
						|
 | 
						|
&adc {
 | 
						|
	status = "disabled";
 | 
						|
};
 | 
						|
 | 
						|
&dac {
 | 
						|
	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 {
 | 
						|
		gpio-hog;
 | 
						|
		gpios = <13 0>;
 | 
						|
		output-low;
 | 
						|
		line-name = "usb-port-power";
 | 
						|
	};
 | 
						|
};
 | 
						|
 | 
						|
&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;
 | 
						|
};
 | 
						|
 | 
						|
&usart3 {
 | 
						|
	pinctrl-names = "default";
 | 
						|
	pinctrl-0 = <&usart3_pins_a>;
 | 
						|
	status = "okay";
 | 
						|
};
 | 
						|
 | 
						|
&uart8 {
 | 
						|
	pinctrl-names = "default";
 | 
						|
	pinctrl-0 = <&uart8_pins_a>;
 | 
						|
	status = "okay";
 | 
						|
};
 | 
						|
 | 
						|
&usbh_ehci {
 | 
						|
	phys = <&usbphyc_port0>;
 | 
						|
	status = "okay";
 | 
						|
};
 | 
						|
 | 
						|
&usbphyc {
 | 
						|
	status = "okay";
 | 
						|
};
 | 
						|
 | 
						|
&usbphyc_port0 {
 | 
						|
	phy-supply = <&vdd_usb>;
 | 
						|
	vdda1v1-supply = <®11>;
 | 
						|
	vdda1v8-supply = <®18>;
 | 
						|
};
 |