2017-06-23 01:08:04 +08:00
|
|
|
#include "skeleton.dtsi"
|
2017-11-09 00:00:37 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/intel-ioapic.h>
|
2017-11-07 01:32:33 +08:00
|
|
|
|
|
|
|
#define __SIZE_K(x) (x * 1024)
|
2017-06-23 01:08:04 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
2017-07-16 02:57:32 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2017-06-23 01:08:04 +08:00
|
|
|
cpu@0 {
|
2017-07-16 02:57:32 +08:00
|
|
|
device_type = "cpu";
|
2017-06-23 01:08:04 +08:00
|
|
|
compatible = "intel,quark";
|
2017-07-16 02:57:32 +08:00
|
|
|
reg = <0>;
|
2017-06-23 01:08:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
2017-07-16 02:57:32 +08:00
|
|
|
device_type = "cpu";
|
2017-06-23 01:08:04 +08:00
|
|
|
compatible = "arc";
|
2017-07-16 02:57:32 +08:00
|
|
|
reg = <1>;
|
2017-06-23 01:08:04 +08:00
|
|
|
};
|
2017-11-09 00:00:37 +08:00
|
|
|
|
|
|
|
intc: ioapic@fec00000 {
|
|
|
|
compatible = "intel,ioapic";
|
|
|
|
reg = <0xfec00000 0x100000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
2017-06-23 01:08:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
flash0: flash@40010000 {
|
|
|
|
reg = <0x40010000 DT_FLASH_SIZE>;
|
|
|
|
};
|
|
|
|
|
2017-08-01 05:09:19 +08:00
|
|
|
flash1: flash@40030000 {
|
|
|
|
reg = <0x40030000 DT_FLASH_SIZE>;
|
|
|
|
};
|
2017-06-23 01:08:04 +08:00
|
|
|
|
2017-11-08 18:30:17 +08:00
|
|
|
sram0: memory@a8007000 {
|
2017-07-21 23:57:58 +08:00
|
|
|
device_type = "memory";
|
2017-07-20 21:21:12 +08:00
|
|
|
compatible = "mmio-sram";
|
2017-11-08 18:30:17 +08:00
|
|
|
reg = <0xa8007000 DT_SRAM_SIZE>;
|
2017-06-23 01:08:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
rtc: rtc@b0000400 {
|
|
|
|
compatible = "intel,qmsi-rtc";
|
|
|
|
reg = <0xb0000400 0x400>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupts = <11 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
2017-06-23 01:08:04 +08:00
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
|
|
|
uart0: uart@b0002000 {
|
|
|
|
compatible = "intel,qmsi-uart";
|
|
|
|
reg = <0xb0002000 0x400>;
|
|
|
|
label = "UART_0";
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-parent = <&intc>;
|
2017-06-23 01:08:04 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: uart@b0002400 {
|
|
|
|
compatible = "intel,qmsi-uart";
|
|
|
|
reg = <0xb0002400 0x400>;
|
|
|
|
label = "UART_1";
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
2017-06-23 01:08:04 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio: gpio@b000c000 {
|
|
|
|
compatible = "intel,qmsi-gpio";
|
|
|
|
reg = <0xb00c00 0x400>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-parent = <&intc>;
|
2017-06-23 01:08:04 +08:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
2017-08-01 05:09:19 +08:00
|
|
|
|
|
|
|
usb_cdc: virtualcom@0 {
|
|
|
|
compatible = "intel,qmsi-usb";
|
|
|
|
label = "CDC_ACM";
|
|
|
|
};
|
2017-06-23 01:08:04 +08:00
|
|
|
};
|
|
|
|
};
|