blob: cae236c96e04cab0cf6b8c3f83bb46bd71891b84 [file] [log] [blame]
/*
* Copyright (c) 2017 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "skeleton.dtsi"
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/gpio/gpio.h>
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "snps,arcem4";
reg = <1>;
};
core_intc: arcv2-intc {
compatible = "snps,arcv2-intc";
interrupt-controller;
#interrupt-cells = <2>;
};
};
flash0: flash@DT_FLASH_ADDR {
compatible = "soc-nv-flash";
reg = <DT_FLASH_ADDR DT_FLASH_SIZE>;
};
sram0: memory@a8000400 {
device_type = "memory";
compatible = "mmio-sram";
reg = <0xa8000400 DT_SRAM_SIZE>;
};
dccm0: dccm@80000000 {
device_type = "memory";
compatible = "arc,dccm";
reg = <0x80000000 DT_DCCM_SIZE>;
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges;
rtc: rtc@b0000400 {
compatible = "intel,qmsi-rtc";
reg = <0xb0000400 0x400>;
clock-frequency = <32768>;
interrupts = <47 1>;
interrupt-parent = <&core_intc>;
label = "RTC_0";
};
uart0: uart@b0002000 {
compatible = "intel,qmsi-uart";
reg = <0xb0002000 0x400>;
interrupts = <41 0>;
interrupt-parent = <&core_intc>;
label = "UART_0";
status = "disabled";
};
uart1: uart@b0002400 {
compatible = "intel,qmsi-uart";
reg = <0xb0002400 0x400>;
interrupts = <42 0>;
interrupt-parent = <&core_intc>;
label = "UART_1";
status = "disabled";
};
gpio0: gpio@80017800 {
compatible = "intel,qmsi-ss-gpio";
reg = <0x80017800 0x100>;
interrupts = <20 1>;
interrupt-parent = <&core_intc>;
label = "GPIO_0";
gpio-controller;
#gpio-cells = <2>;
};
gpio1: gpio@80017900 {
compatible = "intel,qmsi-ss-gpio";
reg = <0x80017900 0x100>;
interrupts = <21 1>;
interrupt-parent = <&core_intc>;
label = "GPIO_1";
gpio-controller;
#gpio-cells = <2>;
};
gpio2: gpio@b0000c00 {
compatible = "intel,qmsi-gpio";
reg = <0xb0000c00 0x400>;
interrupts = <44 1>;
interrupt-parent = <&core_intc>;
label = "GPIO_2";
gpio-controller;
#gpio-cells = <2>;
};
gpio3: gpio@b0800b00 {
compatible = "intel,qmsi-gpio";
reg = <0xb0800b00 0x400>;
interrupts = <67 1>;
interrupt-parent = <&core_intc>;
label = "GPIO_3";
gpio-controller;
#gpio-cells = <2>;
};
i2c0: i2c@80012000 {
compatible = "intel,qmsi-ss-i2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80012000 0x100>;
interrupts = <22 1>, <25 1>, <24 1>, <23 1>;
interrupt-names = "error", "stop", "tx", "rx";
interrupt-parent = <&core_intc>;
label = "I2C_0";
status = "disabled";
};
i2c1: i2c@80012100 {
compatible = "intel,qmsi-ss-i2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80012100 0x100>;
interrupts = <26 1>, <29 1>, <28 1>, <27 1>;
interrupt-names = "error", "stop", "tx", "rx";
interrupt-parent = <&core_intc>;
label = "I2C_1";
status = "disabled";
};
i2c2: i2c@b0002800 {
compatible = "intel,qmsi-i2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0xb0002800 0x400>;
interrupts = <36 1>;
interrupt-parent = <&core_intc>;
label = "I2C_2";
status = "disabled";
};
i2c3: i2c@b0002c00 {
compatible = "intel,qmsi-i2c";
clock-frequency = <I2C_BITRATE_STANDARD>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0xb0002c00 0x400>;
interrupts = <37 1>;
interrupt-parent = <&core_intc>;
label = "I2C_3";
status = "disabled";
};
spi0: spi@80010000 {
compatible = "snps,designware-spi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80010000 0x400>;
interrupts = <30 2>, <31 2>, <32 2>;
interrupt-names = "err-int", "rx-avail", "tx-req";
interrupt-parent = <&core_intc>;
label = "SPI_0";
status = "disabled";
};
spi1: spi@80010100 {
compatible = "snps,designware-spi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80010100 0x400>;
interrupts = <33 2>, <34 2>, <35 2>;
interrupt-names = "err-int", "rx-avail", "tx-req";
interrupt-parent = <&core_intc>;
label = "SPI_1";
status = "disabled";
};
adc0: adc@80015000 {
compatible = "snps,dw-adc";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80015000 0x05>;
interrupts = <19 0>, <18 0>;
interrupt-names = "normal", "error";
interrupt-parent = <&core_intc>;
label = "ADC_0";
status = "disabled";
};
wdog0: watchdog@b0000000 {
compatible = "intel,qmsi-watchdog";
#address-cells = <1>;
#size-cells = <0>;
reg = <0xb0000000 0x400>;
interrupts = <48 0>;
interrupt-parent = <&core_intc>;
label = "WATCHDOG_0";
};
};
};