2018-03-05 20:37:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-11-22 03:21:19 +08:00
|
|
|
#include "skeleton.dtsi"
|
2022-05-06 17:02:05 +08:00
|
|
|
#include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
|
2017-11-22 03:21:19 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
2021-02-11 20:16:01 +08:00
|
|
|
compatible = "intel,atom";
|
2021-02-11 16:42:44 +08:00
|
|
|
d-cache-line-size = <64>;
|
2017-11-22 03:21:19 +08:00
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-07-23 01:11:56 +08:00
|
|
|
dram0: memory@0 {
|
2017-11-22 03:21:19 +08:00
|
|
|
device_type = "memory";
|
2020-07-23 01:11:56 +08:00
|
|
|
reg = <0x0 DT_DRAM_SIZE>;
|
2017-11-22 03:21:19 +08:00
|
|
|
};
|
|
|
|
|
2019-05-22 03:38:35 +08:00
|
|
|
intc: ioapic@fec00000 {
|
|
|
|
compatible = "intel,ioapic";
|
2019-05-22 04:53:16 +08:00
|
|
|
reg = <0xfec00000 0x1000>;
|
2019-05-22 03:38:35 +08:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
};
|
2017-11-22 03:21:19 +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-11-22 03:21:19 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x000003f8 0x100>;
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <1843200>;
|
2020-03-05 08:01:39 +08:00
|
|
|
interrupts = <4 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2022-06-15 19:59:22 +08:00
|
|
|
reg-shift = <0>;
|
2017-11-22 03:21:19 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-09-18 05:32:03 +08:00
|
|
|
uart1: uart@2f8 {
|
2017-11-22 03:21:19 +08:00
|
|
|
compatible = "ns16550";
|
2018-03-05 21:37:29 +08:00
|
|
|
reg = <0x000002f8 0x100>;
|
2018-03-05 21:38:50 +08:00
|
|
|
clock-frequency = <1843200>;
|
2020-03-05 08:01:39 +08:00
|
|
|
interrupts = <3 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
|
2017-11-09 00:00:37 +08:00
|
|
|
interrupt-parent = <&intc>;
|
2022-06-15 19:59:22 +08:00
|
|
|
reg-shift = <0>;
|
2017-11-22 03:21:19 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2019-09-12 04:45:43 +08:00
|
|
|
|
|
|
|
hpet: hpet@fed00000 {
|
|
|
|
compatible = "intel,hpet";
|
|
|
|
reg = <0xfed00000 0x400>;
|
2020-03-05 08:01:39 +08:00
|
|
|
interrupts = <2 IRQ_TYPE_FIXED_EDGE_RISING 4>;
|
2019-09-12 04:45:43 +08:00
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2022-02-15 05:31:58 +08:00
|
|
|
|
|
|
|
counter: counter@70 {
|
|
|
|
compatible = "motorola,mc146818";
|
|
|
|
reg = <0x70 0x0D 0x71 0x0D>;
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-11-22 03:21:19 +08:00
|
|
|
};
|
|
|
|
};
|