89a253b052
Start using DTS values for PCI Vendor ID and PCI BDF. For the PCI Device ID we do not use DTS since this would require changing overlay for different SKU board. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
420 lines
9.6 KiB
Plaintext
420 lines
9.6 KiB
Plaintext
/*
|
|
* Copyright (c) 2020 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "skeleton.dtsi"
|
|
#include <dt-bindings/interrupt-controller/intel-ioapic.h>
|
|
#include <dt-bindings/i2c/i2c.h>
|
|
#include <dt-bindings/pcie/pcie.h>
|
|
|
|
/ {
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "elkhart_lake";
|
|
reg = <0>;
|
|
};
|
|
|
|
};
|
|
|
|
dram0: memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 DT_DRAM_SIZE>;
|
|
};
|
|
|
|
intc: ioapic@fec00000 {
|
|
compatible = "intel,ioapic";
|
|
reg = <0xfec00000 0x1000>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <3>;
|
|
};
|
|
|
|
pcie0 {
|
|
label = "PCIE_0";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "intel,pcie";
|
|
ranges;
|
|
|
|
uart0: uart@f000 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x1e,0) PCIE_ID(0x8086,0x4b28)>;
|
|
|
|
label = "UART_0";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart1: uart@f100 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x1e,1) PCIE_ID(0x8086,0x4b29)>;
|
|
|
|
label = "UART_1";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart2: uart@ca00 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x19,2) PCIE_ID(0x8086,0x4b4d)>;
|
|
|
|
label = "UART_2";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_0: uart@8800 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,0) PCIE_ID(0x8086,0x4b96)>;
|
|
|
|
label = "UART_PSE_0";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_1: uart@8900 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,1) PCIE_ID(0x8086,0x4b97)>;
|
|
|
|
label = "UART_PSE_1";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_2: uart@8a00 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,2) PCIE_ID(0x8086,0x4b98)>;
|
|
|
|
label = "UART_PSE_2";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_3: uart@8b00 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,3) PCIE_ID(0x8086,0x4b99)>;
|
|
|
|
label = "UART_PSE_3";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_4: uart@8c00 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,4) PCIE_ID(0x8086,0x4b9a)>;
|
|
|
|
label = "UART_PSE_4";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart_pse_5: uart@8d00 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <PCIE_BDF(0,0x11,5) PCIE_ID(0x8086,0x4b9b)>;
|
|
|
|
label = "UART_PSE_5";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
i2c0: i2c@a800 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x15,0) PCIE_ID(0x8086,0x4b78)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_0";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c1: i2c@a900 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x15,1) PCIE_ID(0x8086,0x4b79)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_1";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c2: i2c@aa00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x15,2) PCIE_ID(0x8086,0x4b7a)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_2";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c3: i2c@ab00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x15,3) PCIE_ID(0x8086,0x4b7b)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_3";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c4: i2c@c800 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x19,0) PCIE_ID(0x8086,0x4b4b)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_4";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c5: i2c@c900 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x19,1) PCIE_ID(0x8086,0x4b4c)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_5";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c6: i2c@8000 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x10,0) PCIE_ID(0x8086,0x4b44)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_6";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c7: i2c@8100 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x10,1) PCIE_ID(0x8086,0x4b45)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_7";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_0: i2c@d800 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,0) PCIE_ID(0x8086,0x4bb9)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_0";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_1: i2c@d900 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,1) PCIE_ID(0x8086,0x4bba)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_1";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_2: i2c@da00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,2) PCIE_ID(0x8086,0x4bbb)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_2";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_3: i2c@db00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,3) PCIE_ID(0x8086,0x4bbc)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_3";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_4: i2c@dc00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,4) PCIE_ID(0x8086,0x4bbd)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_4";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_5: i2c@dd00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,5) PCIE_ID(0x8086,0x4bbe)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_5";
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
i2c_pse_6: i2c@de00 {
|
|
compatible = "snps,designware-i2c";
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <PCIE_BDF(0,0x1b,6) PCIE_ID(0x8086,0x4bbf)>;
|
|
interrupts = <PCIE_IRQ_DETECT IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
label = "I2C_PSE_6";
|
|
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
soc {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges;
|
|
|
|
uart1_fixed: uart@fe040000 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <0xfe040000 0x1000>;
|
|
reg-shift = <0>;
|
|
|
|
label = "UART_1_FIXED";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <3 IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
uart2_fixed: uart@fe042000 {
|
|
compatible = "ns16550";
|
|
|
|
reg = <0xfe042000 0x1000>;
|
|
reg-shift = <0>;
|
|
|
|
label = "UART_2_FIXED";
|
|
clock-frequency = <1843200>;
|
|
interrupts = <4 IRQ_TYPE_LOWEST_LEVEL_LOW 3>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "disabled";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
hpet: hpet@fed00000 {
|
|
label = "HPET";
|
|
compatible = "intel,hpet";
|
|
reg = <0xfed00000 0x400>;
|
|
interrupts = <2 IRQ_TYPE_FIXED_EDGE_RISING 4>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
status = "okay";
|
|
};
|
|
|
|
ibecc: ibecc@0 {
|
|
compatible = "intel,ibecc";
|
|
reg = <PCIE_BDF(0,0,0) 0x8086>;
|
|
label = "ibecc";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
};
|