2019-11-06 15:16:32 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2017-12-12 08:49:32 +00:00
|
|
|
/*
|
2019-02-18 21:54:35 +00:00
|
|
|
* Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
2017-12-12 08:49:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "stm32f429.dtsi"
|
|
|
|
#include "stm32f429-pinctrl.dtsi"
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32F429i-DISCO board";
|
|
|
|
compatible = "st,stm32f429i-disco", "st,stm32f429";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "root=/dev/ram";
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
2019-11-06 15:16:32 +00:00
|
|
|
device_type = "memory";
|
2017-12-12 08:49:32 +00:00
|
|
|
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";
|
2019-02-18 21:54:35 +00:00
|
|
|
#address-cells = <1>;
|
2017-12-12 08:49:32 +00:00
|
|
|
#size-cells = <0>;
|
|
|
|
autorepeat;
|
|
|
|
button@0 {
|
|
|
|
label = "User";
|
|
|
|
linux,code = <KEY_HOME>;
|
|
|
|
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";
|
|
|
|
};
|