// SPDX-License-Identifier: GPL-2.0+ OR X11 /* * Copyright 2015 - Maxime Coquelin */ /dts-v1/; #include "stm32f429.dtsi" #include "stm32f429-pinctrl.dtsi" #include / { model = "STMicroelectronics STM32F429i-DISCO board"; compatible = "st,stm32f429i-disco", "st,stm32f429"; chosen { bootargs = "root=/dev/ram"; stdout-path = "serial0:115200n8"; }; memory { device_type = "memory"; reg = <0x90000000 0x800000>; }; aliases { serial0 = &usart1; }; leds { compatible = "gpio-leds"; red { gpios = <&gpiog 14 0>; }; green { gpios = <&gpiog 13 0>; linux,default-trigger = "heartbeat"; }; }; gpio_keys { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; autorepeat; button@0 { label = "User"; linux,code = ; gpios = <&gpioa 0 0>; }; }; /* This turns on vbus for otg for host mode (dwc2) */ vcc5v_otg: vcc5v-otg-regulator { compatible = "regulator-fixed"; gpio = <&gpioc 4 0>; regulator-name = "vcc5_host1"; regulator-always-on; }; }; &clk_hse { clock-frequency = <8000000>; }; &crc { status = "okay"; }; &rtc { assigned-clocks = <&rcc 1 CLK_RTC>; assigned-clock-parents = <&rcc 1 CLK_LSI>; status = "okay"; }; &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; status = "okay"; }; &usbotg_hs { compatible = "st,stm32f4x9-fsotg"; dr_mode = "host"; pinctrl-0 = <&usbotg_fs_pins_b>; pinctrl-names = "default"; status = "okay"; };