mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 04:34:59 +00:00
dts pinctrl definitions were pushed in tree without the code available to deal with it. They have been kept waiting for the code, but this is taking much more time than initially thought. So in current zephyr tree, for all STM32 boards, we have pinmux.c file which is used to configure pins and these files that are basically no-op. This situation is creating a lot of confusion especially to new comers, and create useless maintenance effort. Remove these files for now. When zephyr will ready to use them, this commit could be reverted. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
82 lines
1.1 KiB
Plaintext
82 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright (c) 2018 Yurii Hamann
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f7/stm32f746Xg.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F746G DISCOVERY board";
|
|
compatible = "st,stm32f746g-disco", "st,stm32f746";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,shell-uart = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,dtcm = &dtcm;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
green_led_1: led_1 {
|
|
gpios = <&gpioi 1 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD1";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button {
|
|
label = "User";
|
|
gpios = <&gpioi 11 GPIO_INT_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &green_led_1;
|
|
sw0 = &user_button;
|
|
};
|
|
};
|
|
|
|
arduino_i2c: &i2c1 {};
|
|
arduino_spi: &spi2 {};
|
|
arduino_serial: &usart6 {};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usart6 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg_fs {
|
|
status = "okay";
|
|
};
|
|
|
|
&timers1 {
|
|
status = "okay";
|
|
|
|
pwm {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|