2018-03-05 20:37:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-11-28 06:17:31 +08:00
|
|
|
#include "skeleton.dtsi"
|
2017-11-09 00:00:37 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/intel-ioapic.h>
|
2018-03-01 04:33:02 +08:00
|
|
|
#include <dt-bindings/i2c/i2c.h>
|
2017-11-28 06:17:31 +08:00
|
|
|
|
|
|
|
#define __SIZE_K(x) (x * 1024)
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "quark_x1000";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
2017-11-09 00:00:37 +08:00
|
|
|
intc: ioapic@fec00000 {
|
|
|
|
compatible = "intel,ioapic";
|
|
|
|
reg = <0xfec00000 0x100000>;
|
|
|
|
interrupt-controller;
|
2018-03-03 04:55:13 +08:00
|
|
|
#interrupt-cells = <3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
};
|
2017-11-28 06:17:31 +08:00
|
|
|
};
|
|
|
|
|
2018-04-26 00:46:06 +08:00
|
|
|
flash0: flash@100000{
|
2017-11-28 06:17:31 +08:00
|
|
|
reg = <0x00100000 DT_FLASH_SIZE>;
|
|
|
|
};
|
|
|
|
|
2018-04-26 00:46:06 +08:00
|
|
|
sram0: memory@400000 {
|
2017-11-28 06:17:31 +08:00
|
|
|
device_type = "memory";
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x00400000 DT_SRAM_SIZE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
|
2018-03-05 21:37:29 +08:00
|
|
|
uart0: uart@9000f000 {
|
2017-11-28 06:17:31 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x9000f000 0x400>;
|
2017-11-28 06:17:31 +08:00
|
|
|
label = "UART_0";
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <44236800>;
|
2018-03-05 21:37:29 +08:00
|
|
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW 0>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2017-11-28 06:17:31 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-03-05 21:37:29 +08:00
|
|
|
uart1: uart@9000b000 {
|
2017-11-28 06:17:31 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x9000b000 0x400>;
|
2017-11-28 06:17:31 +08:00
|
|
|
label = "UART_1";
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <44236800>;
|
2018-03-05 21:37:29 +08:00
|
|
|
interrupts = <17 IRQ_TYPE_LEVEL_LOW 3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2017-11-28 06:17:31 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-02-28 19:58:25 +08:00
|
|
|
|
|
|
|
i2c0: i2c@90007000 {
|
|
|
|
compatible = "snps,designware-i2c";
|
2018-03-01 04:33:02 +08:00
|
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
2018-02-28 19:58:25 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x90007000 0x400>;
|
2018-03-03 04:55:13 +08:00
|
|
|
interrupts = <18 IRQ_TYPE_LEVEL_LOW 2>;
|
2018-02-28 19:58:25 +08:00
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
label = "I2C_0";
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2017-11-28 06:17:31 +08:00
|
|
|
};
|
|
|
|
};
|