2018-07-17 09:37:14 +08:00
|
|
|
/*
|
2019-01-30 11:34:41 +08:00
|
|
|
* Copyright (c) 2017-2019 Intel Corporation.
|
2018-07-17 09:37:14 +08:00
|
|
|
*
|
|
|
|
* 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 = "apollo_lake";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intc: ioapic@fec00000 {
|
|
|
|
compatible = "intel,ioapic";
|
|
|
|
reg = <0xfec00000 0x100000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
flash0: flash@100000{
|
2018-09-21 07:39:55 +08:00
|
|
|
compatible = "soc-nv-flash";
|
2018-07-17 09:37:14 +08:00
|
|
|
reg = <0x00100000 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;
|
2018-09-20 01:15:12 +08:00
|
|
|
|
2018-10-18 11:24:26 +08:00
|
|
|
gpio: gpio@d0c50000 {
|
2018-09-20 01:15:12 +08:00
|
|
|
compatible = "intel,apl-gpio";
|
|
|
|
reg = <0xd0c50000 0x1000>,
|
|
|
|
<0xd0c40000 0x1000>,
|
|
|
|
<0xd0c70000 0x1000>,
|
|
|
|
<0xd0c00000 0x1000>;
|
2019-01-30 11:34:41 +08:00
|
|
|
label = "APL_GPIO";
|
2018-09-20 01:15:12 +08:00
|
|
|
|
|
|
|
gpio-controller ;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-07-17 09:37:14 +08:00
|
|
|
};
|
2019-01-30 11:34:41 +08:00
|
|
|
|
|
|
|
sharedirq0: sharedirq0 {
|
|
|
|
compatible = "shared-irq";
|
|
|
|
label = "APL_GPIO_IRQ";
|
|
|
|
interrupts = <14 IRQ_TYPE_LEVEL_LOW 3>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
|
|
|
status = "ok";
|
|
|
|
};
|
2018-07-17 09:37:14 +08:00
|
|
|
};
|