mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 06:35:21 +00:00
Update cmd-data-gpios for SPI5 to new GPIO value to get ili9430 display working Signed-off-by: Wim Van Loocke <denv8029@gmail.com>
78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f4/stm32f429Xi.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F429I_DISC1 board";
|
|
compatible = "st,stm32f4discovery", "st,stm32f429";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,shell-uart = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,ccm = &ccm0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
orange_led_3: led_3 {
|
|
gpios = <&gpiog 13 GPIO_ACTIVE_HIGH>;
|
|
label = "User LD3";
|
|
};
|
|
green_led_4: led_4 {
|
|
gpios = <&gpiog 14 GPIO_ACTIVE_HIGH>;
|
|
label = "User LD4";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button {
|
|
label = "User";
|
|
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &green_led_4;
|
|
sw0 = &user_button;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&spi5 {
|
|
status = "okay";
|
|
cs-gpios = <&gpioc 2 0>;
|
|
ili9340@0 {
|
|
compatible = "ilitek,ili9340";
|
|
label = "DISPLAY";
|
|
spi-max-frequency = <15151515>;
|
|
reg = <0>;
|
|
cmd-data-gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|