mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 19:55:55 +00:00
Now that we have a common DT_SIZE_K macro use it instead of defining __SIZE_K eveywhere. We also have DT_SIZE_M, so use that in a few places as well. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
72 lines
1.2 KiB
Plaintext
72 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright (c) 2017 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "skeleton.dtsi"
|
|
#include <dt-bindings/interrupt-controller/intel-ioapic.h>
|
|
|
|
/ {
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "qemu32";
|
|
reg = <0>;
|
|
};
|
|
|
|
};
|
|
|
|
intc: ioapic@fec00000 {
|
|
compatible = "intel,ioapic";
|
|
reg = <0xfec00000 0x100000>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <3>;
|
|
};
|
|
|
|
|
|
flash0: flash@1000 {
|
|
reg = <0x00001000 DT_FLASH_SIZE>;
|
|
};
|
|
|
|
sram0: memory@400000 {
|
|
device_type = "memory";
|
|
compatible = "mmio-sram";
|
|
reg = <0x00400000 DT_SRAM_SIZE>;
|
|
};
|
|
|
|
|
|
soc {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges;
|
|
|
|
|
|
uart0: uart@000003f8 {
|
|
compatible = "ns16550";
|
|
reg = <0x000003f8 0x100>;
|
|
label = "UART_0";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <4 IRQ_TYPE_EDGE_RISING 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
};
|
|
|
|
uart1: uart@000002f8 {
|
|
compatible = "ns16550";
|
|
reg = <0x000002f8 0x100>;
|
|
label = "UART_1";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <3 IRQ_TYPE_EDGE_RISING 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|