zephyr/boards/arc/hsdk/hsdk.dts
Peter Bigot 9dc7640ede spi-device: set CS gpio flags for all devices that had none
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>
2020-07-09 06:07:07 -05:00

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";
};
};