2018-03-21 19:58:06 +05:30
|
|
|
#include "skeleton.dtsi"
|
2018-03-28 04:57:36 +05:30
|
|
|
#include <dt-bindings/i2c/i2c.h>
|
2018-11-23 21:49:38 -08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2018-03-21 19:58:06 +05:30
|
|
|
|
2019-01-29 16:05:40 -06:00
|
|
|
#define IRQ_DW(x) ((x) << 16 | (7) << 8 | (6))
|
|
|
|
|
2018-03-21 19:58:06 +05:30
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "LX6";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "LX6";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
2018-03-24 01:59:31 +05:30
|
|
|
core_intc: core_intc@0 {
|
|
|
|
compatible = "xtensa,core-intc";
|
|
|
|
reg = <0x00 0x400>;
|
|
|
|
interrupt-controller;
|
2018-05-27 23:11:57 +05:30
|
|
|
#interrupt-cells = <3>;
|
2018-03-24 01:59:31 +05:30
|
|
|
};
|
|
|
|
|
2018-03-21 19:58:06 +05:30
|
|
|
};
|
|
|
|
|
2018-10-19 09:22:47 -07:00
|
|
|
sram0: memory@be000000 {
|
2018-03-21 19:58:06 +05:30
|
|
|
device_type = "memory";
|
|
|
|
compatible = "mmio-sram";
|
2018-11-09 11:26:46 -08:00
|
|
|
reg = <0xbe000000 0x400000>;
|
2018-03-21 19:58:06 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
|
2018-03-24 01:59:31 +05:30
|
|
|
cavs0: cavs@78800 {
|
|
|
|
compatible = "intel,cavs-intc";
|
|
|
|
reg = <0x78800 0x10>;
|
|
|
|
interrupt-controller;
|
2018-05-27 23:11:57 +05:30
|
|
|
#interrupt-cells = <3>;
|
|
|
|
interrupts = <6 0 0>;
|
2018-03-24 01:59:31 +05:30
|
|
|
interrupt-parent = <&core_intc>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cavs1: cavs@78810 {
|
|
|
|
compatible = "intel,cavs-intc";
|
|
|
|
reg = <0x78810 0x10>;
|
|
|
|
interrupt-controller;
|
2018-05-27 23:11:57 +05:30
|
|
|
#interrupt-cells = <3>;
|
|
|
|
interrupts = <0xA 0 0>;
|
|
|
|
interrupt-parent = <&core_intc>;
|
2018-03-24 01:59:31 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
cavs2: cavs@78820 {
|
|
|
|
compatible = "intel,cavs-intc";
|
|
|
|
reg = <0x78820 0x10>;
|
|
|
|
interrupt-controller;
|
2018-05-27 23:11:57 +05:30
|
|
|
#interrupt-cells = <3>;
|
|
|
|
interrupts = <0XD 0 0>;
|
|
|
|
interrupt-parent = <&core_intc>;
|
2018-03-24 01:59:31 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
cavs3: cavs@78830 {
|
|
|
|
compatible = "intel,cavs-intc";
|
|
|
|
reg = <0x78830 0x10>;
|
|
|
|
interrupt-controller;
|
2018-05-27 23:11:57 +05:30
|
|
|
#interrupt-cells = <3>;
|
|
|
|
interrupts = <0x10 0 0>;
|
|
|
|
interrupt-parent = <&core_intc>;
|
2018-03-24 01:59:31 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
dw_intc: intc@81800 {
|
|
|
|
compatible = "snps,designware-intc";
|
|
|
|
reg = <0x00081800 0x400>;
|
|
|
|
interrupt-controller;
|
2018-05-22 18:09:45 +05:30
|
|
|
#interrupt-cells = <3>;
|
2018-05-27 23:11:57 +05:30
|
|
|
interrupts = <7 0 0>;
|
2018-03-24 01:59:31 +05:30
|
|
|
interrupt-parent = <&cavs0>;
|
|
|
|
};
|
|
|
|
|
2018-11-23 21:49:38 -08:00
|
|
|
gpio0: gpio@80c00 {
|
|
|
|
compatible = "snps,designware-gpio";
|
|
|
|
reg = <0x00080c00 0x400>;
|
|
|
|
bits = <32>;
|
|
|
|
label = "GPIO";
|
2019-01-29 16:05:40 -06:00
|
|
|
interrupts = <IRQ_DW(4) 1 0>;
|
2018-11-23 21:49:38 -08:00
|
|
|
interrupt-parent = <&dw_intc>;
|
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
2018-03-24 01:59:31 +05:30
|
|
|
|
2019-01-25 20:56:48 -06:00
|
|
|
pinmux: pinmux@81c30 {
|
2018-11-24 21:21:12 -08:00
|
|
|
compatible = "intel,s1000-pinmux";
|
2019-01-25 20:56:48 -06:00
|
|
|
reg = <0x00081c30 0xC>;
|
2018-11-24 21:21:12 -08:00
|
|
|
};
|
|
|
|
|
2018-03-21 19:58:06 +05:30
|
|
|
uart0: uart@80800 {
|
|
|
|
compatible = "ns16550";
|
|
|
|
reg = <0x80800 0x400>;
|
|
|
|
label = "UART_0";
|
2018-05-22 17:14:40 +05:30
|
|
|
clock-frequency = <38400000>;
|
2019-01-29 16:05:40 -06:00
|
|
|
interrupts = <IRQ_DW(3) 0 0>;
|
2018-05-22 17:14:40 +05:30
|
|
|
interrupt-parent = <&dw_intc>;
|
|
|
|
|
2018-03-21 19:58:06 +05:30
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-03-28 04:57:36 +05:30
|
|
|
|
|
|
|
i2c0: i2c@80400 {
|
|
|
|
compatible = "snps,designware-i2c";
|
|
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x80400 0x400>;
|
2019-01-29 16:05:40 -06:00
|
|
|
interrupts = <IRQ_DW(2) 0 0>;
|
2018-03-24 01:59:31 +05:30
|
|
|
interrupt-parent = <&dw_intc>;
|
2018-03-28 04:57:36 +05:30
|
|
|
label = "I2C_0";
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-11-13 11:57:56 +05:30
|
|
|
|
|
|
|
spi0: spi@e000 {
|
|
|
|
compatible = "snps,designware-spi";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x0000E000 0x400>;
|
2019-01-29 16:05:40 -06:00
|
|
|
interrupts = <IRQ_DW(7) 0 0>;
|
2018-11-13 11:57:56 +05:30
|
|
|
interrupt-parent = <&dw_intc>;
|
|
|
|
label = "SPI_0";
|
|
|
|
};
|
|
|
|
|
2018-03-21 19:58:06 +05:30
|
|
|
};
|
|
|
|
};
|