mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 17:33:26 +00:00
The generic SPI GPIO chip select support now respects devicetree flags for signal active level. Update all cs-gpios properties to specify active low. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
59 lines
814 B
Plaintext
59 lines
814 B
Plaintext
/*
|
|
* Copyright (c) 2019, Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <arc_hsdk.dtsi>
|
|
|
|
/ {
|
|
model = "hsdk";
|
|
compatible = "snps,hsdk";
|
|
|
|
aliases {
|
|
uart-0 = &uart0;
|
|
};
|
|
|
|
chosen {
|
|
zephyr,sram = &ddr0;
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "okay";
|
|
interrupts = <56 1>;
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
clock-frequency = <33333333>;
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
clock-frequency = <33333333>;
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
clock-frequency = <33333333>;
|
|
|
|
cs-gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
|
ili9340@0 {
|
|
compatible = "ilitek,ili9340";
|
|
cmd-data-gpios = <&gpio0 21 0>;
|
|
reg = <0>;
|
|
spi-max-frequency = <12000000>;
|
|
label = "DISPLAY";
|
|
};
|
|
};
|