e8f1c17e79
Update boards that use to declare ethernet support to enable matching ethernet node. Similarly to other devices, use dts API to control ethernet pin settings. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
101 lines
1.4 KiB
Plaintext
101 lines
1.4 KiB
Plaintext
/*
|
|
* Copyright (c) 2018 Yurii Hamann
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f7/stm32f746Xg.dtsi>
|
|
#include "arduino_r3_connector.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_ACTIVE_HIGH>;
|
|
label = "User LD1";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button {
|
|
label = "User";
|
|
gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &green_led_1;
|
|
sw0 = &user_button;
|
|
kscan0 = &touch_controller;
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
|
|
touch_controller: ft5336@38 {
|
|
compatible = "focaltech,ft5336";
|
|
reg = <0x38>;
|
|
label = "FT5336";
|
|
int-gpios = <&gpioi 13 0>;
|
|
};
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usart6 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbotg_fs {
|
|
status = "okay";
|
|
};
|
|
|
|
&timers1 {
|
|
status = "okay";
|
|
|
|
pwm1: pwm {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
&sdmmc1 {
|
|
status = "okay";
|
|
cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&mac {
|
|
status = "okay";
|
|
};
|