2019-05-29 23:57:47 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2013-04-11 13:19:40 +00:00
|
|
|
/*
|
|
|
|
* Abilis Systems TB10X SOC device tree
|
|
|
|
*
|
|
|
|
* Copyright (C) Abilis Systems 2013
|
|
|
|
*
|
|
|
|
* Author: Christian Ruppert <christian.ruppert@abilis.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "abilis,arc-tb10x";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "snps,arc770d";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-01 13:18:40 +00:00
|
|
|
/* TIMER0 with interrupt for clockevent */
|
|
|
|
timer0 {
|
|
|
|
compatible = "snps,arc-timer";
|
|
|
|
interrupts = <3>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
clocks = <&cpu_clk>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* TIMER1 for free running clocksource */
|
|
|
|
timer1 {
|
|
|
|
compatible = "snps,arc-timer";
|
|
|
|
clocks = <&cpu_clk>;
|
|
|
|
};
|
|
|
|
|
2013-04-11 13:19:40 +00:00
|
|
|
soc100 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
device_type = "soc";
|
|
|
|
ranges = <0xfe000000 0xfe000000 0x02000000
|
2019-01-24 12:17:03 +00:00
|
|
|
0x000f0000 0x000f0000 0x00010000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "abilis,tb10x", "simple-bus";
|
|
|
|
|
|
|
|
pll0: oscillator {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-output-names = "pll0";
|
|
|
|
};
|
|
|
|
cpu_clk: clkdiv_cpu {
|
2013-04-12 10:36:29 +00:00
|
|
|
compatible = "fixed-factor-clock";
|
2013-04-11 13:19:40 +00:00
|
|
|
#clock-cells = <0>;
|
|
|
|
clocks = <&pll0>;
|
|
|
|
clock-output-names = "cpu_clk";
|
|
|
|
};
|
|
|
|
ahb_clk: clkdiv_ahb {
|
2013-04-12 10:36:29 +00:00
|
|
|
compatible = "fixed-factor-clock";
|
2013-04-11 13:19:40 +00:00
|
|
|
#clock-cells = <0>;
|
|
|
|
clocks = <&pll0>;
|
|
|
|
clock-output-names = "ahb_clk";
|
|
|
|
};
|
|
|
|
|
2019-01-24 12:17:03 +00:00
|
|
|
iomux: iomux@ff10601c {
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "abilis,tb10x-iomux";
|
2013-10-31 12:58:27 +00:00
|
|
|
#gpio-range-cells = <3>;
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff10601c 0x4>;
|
2013-04-11 13:19:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
intc: interrupt-controller {
|
|
|
|
compatible = "snps,arc700-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
};
|
|
|
|
tb10x_ictl: pic@fe002000 {
|
2013-06-26 14:01:28 +00:00
|
|
|
compatible = "abilis,tb10x-ictl";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xfe002000 0x20>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
|
|
|
20 21 22 23 24 25 26 27 28 29 30 31>;
|
|
|
|
};
|
|
|
|
|
2019-01-24 12:17:03 +00:00
|
|
|
uart@ff100000 {
|
2013-05-10 14:05:50 +00:00
|
|
|
compatible = "snps,dw-apb-uart";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff100000 0x100>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clock-frequency = <166666666>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <25 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
reg-shift = <2>;
|
|
|
|
reg-io-width = <4>;
|
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
ethernet@fe100000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "snps,dwmac-3.70a","snps,dwmac";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xfe100000 0x1058>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <6 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-names = "macirq";
|
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
clock-names = "stmmaceth";
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
dma@fe000000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "snps,dma-spear1340";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xfe000000 0x400>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <14 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
dma-channels = <6>;
|
|
|
|
dma-requests = <0>;
|
|
|
|
dma-masters = <1>;
|
|
|
|
#dma-cells = <3>;
|
|
|
|
chan_allocation_order = <0>;
|
|
|
|
chan_priority = <1>;
|
|
|
|
block_size = <0x7ff>;
|
2016-04-27 11:15:38 +00:00
|
|
|
data-width = <4>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
clock-names = "hclk";
|
2016-11-25 14:59:07 +00:00
|
|
|
multi-block = <1 1 1 1 1 1>;
|
2013-04-11 13:19:40 +00:00
|
|
|
};
|
|
|
|
|
2019-01-24 12:17:03 +00:00
|
|
|
i2c0: i2c@ff120000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff120000 0x1000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <12 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
i2c1: i2c@ff121000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff121000 0x1000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <12 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
i2c2: i2c@ff122000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff122000 0x1000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <12 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
i2c3: i2c@ff123000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff123000 0x1000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <12 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
i2c4: i2c@ff124000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff124000 0x1000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <12 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
|
|
|
|
2019-01-24 12:17:03 +00:00
|
|
|
spi0: spi@fe010000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
cell-index = <0>;
|
|
|
|
compatible = "abilis,tb100-spi";
|
|
|
|
num-cs = <1>;
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xfe010000 0x20>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <26 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
spi1: spi@fe011000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
cell-index = <1>;
|
2013-05-10 14:05:50 +00:00
|
|
|
compatible = "abilis,tb100-spi";
|
2013-04-11 13:19:40 +00:00
|
|
|
num-cs = <2>;
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xfe011000 0x20>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <10 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
clocks = <&ahb_clk>;
|
|
|
|
};
|
|
|
|
|
|
|
|
tb10x_tsm: tb10x-tsm@ff316000 {
|
|
|
|
compatible = "abilis,tb100-tsm";
|
|
|
|
reg = <0xff316000 0x400>;
|
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <17 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
output-clkdiv = <4>;
|
|
|
|
global-packet-delay = <0x21>;
|
|
|
|
port-packet-delay = <0>;
|
|
|
|
};
|
|
|
|
tb10x_stream_proc: tb10x-stream-proc {
|
|
|
|
compatible = "abilis,tb100-streamproc";
|
|
|
|
reg = <0xfff00000 0x200>,
|
|
|
|
<0x000f0000 0x10000>,
|
|
|
|
<0xfff00200 0x105>,
|
|
|
|
<0xff10600c 0x1>,
|
|
|
|
<0xfe001018 0x1>;
|
|
|
|
reg-names = "mbox",
|
|
|
|
"sp_iccm",
|
|
|
|
"mbox_irq",
|
|
|
|
"cpuctrl",
|
|
|
|
"a6it_int_force";
|
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <20 2>, <19 2>;
|
2013-04-11 13:19:40 +00:00
|
|
|
interrupt-names = "cmd_irq", "event_irq";
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
tb10x_mdsc0: tb10x-mdscr@ff300000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "abilis,tb100-mdscr";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff300000 0x7000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
tb100-mdscr-manage-tsin;
|
|
|
|
};
|
2019-01-24 12:17:03 +00:00
|
|
|
tb10x_mscr0: tb10x-mdscr@ff307000 {
|
2013-04-11 13:19:40 +00:00
|
|
|
compatible = "abilis,tb100-mdscr";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff307000 0x7000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
};
|
|
|
|
tb10x_scr0: tb10x-mdscr@ff30e000 {
|
|
|
|
compatible = "abilis,tb100-mdscr";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff30e000 0x4000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
tb100-mdscr-manage-tsin;
|
|
|
|
};
|
|
|
|
tb10x_scr1: tb10x-mdscr@ff312000 {
|
|
|
|
compatible = "abilis,tb100-mdscr";
|
2019-01-24 12:17:03 +00:00
|
|
|
reg = <0xff312000 0x4000>;
|
2013-04-11 13:19:40 +00:00
|
|
|
tb100-mdscr-manage-tsin;
|
|
|
|
};
|
|
|
|
tb10x_wfb: tb10x-wfb@ff319000 {
|
|
|
|
compatible = "abilis,tb100-wfb";
|
|
|
|
reg = <0xff319000 0x1000>;
|
|
|
|
interrupt-parent = <&tb10x_ictl>;
|
2013-06-26 14:01:28 +00:00
|
|
|
interrupts = <16 8>;
|
2013-04-11 13:19:40 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|