mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
e07a86b5e3
Device tree and binding alignment with kernel v5.3 and converted to SPDX. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
87 lines
1.5 KiB
Text
87 lines
1.5 KiB
Text
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
|
*/
|
|
|
|
/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 {
|
|
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 = <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";
|
|
};
|