2018-03-05 20:37:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-09-08 02:07:36 +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
|
|
|
|
2017-09-08 02:07:36 +08:00
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "qemu32";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-11-09 00:00:37 +08:00
|
|
|
intc: ioapic@fec00000 {
|
|
|
|
compatible = "intel,ioapic";
|
2019-05-22 04:53:16 +08:00
|
|
|
reg = <0xfec00000 0x1000>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-controller;
|
2018-03-03 04:55:13 +08:00
|
|
|
#interrupt-cells = <3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2019-08-03 06:48:45 +08:00
|
|
|
flash0: flash@100000 {
|
2018-09-21 07:39:55 +08:00
|
|
|
compatible = "soc-nv-flash";
|
2019-08-03 06:48:45 +08:00
|
|
|
reg = <0x00100000 DT_FLASH_SIZE>;
|
2017-09-08 02:07:36 +08:00
|
|
|
};
|
|
|
|
|
2019-08-03 06:48:45 +08:00
|
|
|
sram0: memory@500000 {
|
2017-09-08 02:07:36 +08:00
|
|
|
device_type = "memory";
|
|
|
|
compatible = "mmio-sram";
|
2019-08-03 06:48:45 +08:00
|
|
|
reg = <0x00500000 DT_SRAM_SIZE>;
|
2017-09-08 02:07:36 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
|
2018-09-18 05:32:03 +08:00
|
|
|
uart0: uart@3f8 {
|
2017-10-11 01:15:28 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x000003f8 0x100>;
|
2017-09-08 02:07:36 +08:00
|
|
|
label = "UART_0";
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <1843200>;
|
2018-03-03 04:55:13 +08:00
|
|
|
interrupts = <4 IRQ_TYPE_EDGE_RISING 3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2017-09-08 02:07:36 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-09-18 05:32:03 +08:00
|
|
|
uart1: uart@2f8 {
|
2017-10-11 01:15:28 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x000002f8 0x100>;
|
2017-09-08 02:07:36 +08:00
|
|
|
label = "UART_1";
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <1843200>;
|
2018-03-03 04:55:13 +08:00
|
|
|
interrupts = <3 IRQ_TYPE_EDGE_RISING 3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2017-09-08 02:07:36 +08:00
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|