zephyr/boards/x86/quark_d2000_crb/quark_d2000_crb.dts
Maureen Helm 55caa7b743 drivers: spi: Select HAS_DTS_SPI in designware driver
Makes the designware spi driver consistent with other spi drivers by
selecting HAS_DTS_SPI in the driver. This required adding spi nodes and
dts fixups to several arc and x86 socs, as well as enabling those nodes
in associated boards.

Also refactors the driver to use the base address, interrupt number, and
interrupt priority from dts.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2018-09-28 06:27:06 +05:30

47 lines
613 B
Text

/dts-v1/;
#include <mem.h>
#define DT_FLASH_SIZE DT_SIZE_K(32)
#define DT_SRAM_SIZE DT_SIZE_K(8)
#include "intel_quark_d2000.dtsi"
/ {
model = "quark_d2000_crb";
compatible = "intel,quark-d2000-crb", "intel,quark-d2000";
aliases {
uart-0 = &uart0;
uart-1 = &uart1;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
};
};
&uart0 {
status = "ok";
current-speed = <115200>;
};
&uart1 {
status = "ok";
current-speed = <115200>;
};
&i2c0 {
status = "ok";
clock-frequency = <I2C_BITRATE_FAST>;
};
&adc0 {
status = "ok";
};
&spi0 {
status = "ok";
};