2019-11-06 15:16:32 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2017-04-10 22:03:06 +00:00
|
|
|
/*
|
2019-02-19 15:49:05 +00:00
|
|
|
* Copyright 2017 - Vikas MANOCHA <vikas.manocha@st.com>
|
2017-04-10 22:03:06 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "stm32f746.dtsi"
|
2019-02-19 15:49:05 +00:00
|
|
|
#include "stm32f769-pinctrl.dtsi"
|
|
|
|
#include <dt-bindings/input/input.h>
|
2018-08-06 07:38:17 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2017-04-10 22:03:06 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32F769-DISCO board";
|
2019-02-19 15:49:05 +00:00
|
|
|
compatible = "st,stm32f769-disco", "st,stm32f769";
|
2017-04-10 22:03:06 +00:00
|
|
|
|
|
|
|
chosen {
|
2019-02-19 15:49:05 +00:00
|
|
|
bootargs = "root=/dev/ram";
|
2017-04-10 22:03:06 +00:00
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
2019-11-06 15:16:32 +00:00
|
|
|
device_type = "memory";
|
2017-04-10 22:03:06 +00:00
|
|
|
reg = <0xC0000000 0x1000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &usart1;
|
|
|
|
};
|
|
|
|
|
2019-02-19 15:49:05 +00:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
green {
|
|
|
|
gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
linux,default-trigger = "heartbeat";
|
2017-04-10 22:03:06 +00:00
|
|
|
};
|
2019-02-19 15:49:05 +00:00
|
|
|
red {
|
|
|
|
gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>;
|
2017-04-10 22:03:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-02-19 15:49:05 +00:00
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
autorepeat;
|
|
|
|
button@0 {
|
|
|
|
label = "User";
|
|
|
|
linux,code = <KEY_HOME>;
|
|
|
|
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
usbotg_hs_phy: usb-phy {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
|
|
|
|
clock-names = "main_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc_vcard: mmc_vcard {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "mmc_vcard";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
2017-04-10 22:03:06 +00:00
|
|
|
};
|
|
|
|
|
2019-11-06 15:16:32 +00:00
|
|
|
&rcc {
|
|
|
|
compatible = "st,stm32f769-rcc", "st,stm32f746-rcc", "st,stm32-rcc";
|
|
|
|
};
|
|
|
|
|
2019-02-19 15:49:05 +00:00
|
|
|
&cec {
|
|
|
|
pinctrl-0 = <&cec_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&clk_hse {
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
pinctrl-0 = <&i2c1_pins_b>;
|
2017-04-10 22:03:06 +00:00
|
|
|
pinctrl-names = "default";
|
2019-02-19 15:49:05 +00:00
|
|
|
i2c-scl-rising-time-ns = <185>;
|
|
|
|
i2c-scl-falling-time-ns = <20>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&rtc {
|
2017-04-10 22:03:06 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-12-12 09:14:59 +00:00
|
|
|
&sdio2 {
|
|
|
|
status = "okay";
|
2019-02-19 15:49:05 +00:00
|
|
|
vmmc-supply = <&mmc_vcard>;
|
2018-08-06 07:38:17 +00:00
|
|
|
cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
|
2019-02-19 15:49:05 +00:00
|
|
|
broken-cd;
|
2017-12-12 09:14:59 +00:00
|
|
|
pinctrl-names = "default", "opendrain";
|
|
|
|
pinctrl-0 = <&sdio_pins_b>;
|
|
|
|
pinctrl-1 = <&sdio_pins_od_b>;
|
|
|
|
bus-width = <4>;
|
2019-02-19 15:49:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbotg_hs {
|
|
|
|
dr_mode = "otg";
|
|
|
|
phys = <&usbotg_hs_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
|
|
|
pinctrl-0 = <&usbotg_hs_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
2017-12-12 09:14:59 +00:00
|
|
|
};
|