2016-09-29 16:22:55 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
/ {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,xway", "lantiq,vr9";
|
|
|
|
|
2016-12-11 20:55:00 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &asc1;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "mips,mips34Kc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-09 12:13:25 +00:00
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
};
|
|
|
|
|
2016-10-17 20:51:31 +00:00
|
|
|
cputemp@0 {
|
|
|
|
compatible = "lantiq,cputemp";
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
biu@1F800000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,biu", "simple-bus";
|
|
|
|
reg = <0x1F800000 0x800000>;
|
|
|
|
ranges = <0x0 0x1F800000 0x7FFFFF>;
|
|
|
|
|
|
|
|
icu0: icu@80200 {
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "lantiq,icu";
|
|
|
|
reg = <0x80200 0x28
|
|
|
|
0x80228 0x28
|
|
|
|
0x80250 0x28
|
|
|
|
0x80278 0x28
|
|
|
|
0x802a0 0x28>;
|
|
|
|
};
|
|
|
|
|
|
|
|
watchdog@803F0 {
|
|
|
|
compatible = "lantiq,wdt";
|
|
|
|
reg = <0x803F0 0x10>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sram@1F000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2012-12-15 02:00:20 +00:00
|
|
|
compatible = "lantiq,sram", "simple-bus";
|
2012-11-02 20:07:47 +00:00
|
|
|
reg = <0x1F000000 0x800000>;
|
|
|
|
ranges = <0x0 0x1F000000 0x7FFFFF>;
|
|
|
|
|
|
|
|
eiu0: eiu@101000 {
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "lantiq,eiu-xway";
|
|
|
|
reg = <0x101000 0x1000>;
|
2012-12-15 02:00:20 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
2016-06-07 16:59:52 +00:00
|
|
|
lantiq,eiu-irqs = <166 135 66 40 41 42>;
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pmu0: pmu@102000 {
|
|
|
|
compatible = "lantiq,pmu-xway";
|
|
|
|
reg = <0x102000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cgu0: cgu@103000 {
|
|
|
|
compatible = "lantiq,cgu-xway";
|
|
|
|
reg = <0x103000 0x1000>;
|
2012-12-15 02:00:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dcdc@106a00 {
|
|
|
|
compatible = "lantiq,dcdc-xrx200";
|
|
|
|
reg = <0x106a00 0x200>;
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|
|
|
|
|
2014-11-03 08:32:58 +00:00
|
|
|
vmmc@107000 {
|
|
|
|
status = "disabled";
|
|
|
|
compatible = "lantiq,vmmc-xway";
|
|
|
|
reg = <0x103000 0x400>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <150 151 152 153 154 155>;
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
rcu0: rcu@203000 {
|
2012-12-15 02:00:20 +00:00
|
|
|
compatible = "lantiq,rcu-xrx200";
|
2012-11-02 20:07:47 +00:00
|
|
|
reg = <0x203000 0x1000>;
|
|
|
|
/* irq for thermal sensor */
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <115>;
|
|
|
|
};
|
2016-01-01 21:21:00 +00:00
|
|
|
|
|
|
|
xbar0: xbar@400000 {
|
|
|
|
compatible = "lantiq,xbar-xway";
|
|
|
|
reg = <0x400000 0x1000>;
|
|
|
|
};
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fpi@10000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,fpi", "simple-bus";
|
|
|
|
ranges = <0x0 0x10000000 0xEEFFFFF>;
|
|
|
|
reg = <0x10000000 0xEF00000>;
|
|
|
|
|
2012-12-21 13:47:55 +00:00
|
|
|
localbus@0 {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
|
|
|
|
1 0 0x4000000 0x4000010>; /* addsel1 */
|
|
|
|
compatible = "lantiq,localbus", "simple-bus";
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
gptu@E100A00 {
|
|
|
|
compatible = "lantiq,gptu-xway";
|
|
|
|
reg = <0xE100A00 0x100>;
|
|
|
|
interrupt-parent = <&icu0>;
|
2016-11-02 18:49:04 +00:00
|
|
|
interrupts = <126 127 128 129 130 131>;
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|
|
|
|
|
2012-12-21 13:47:55 +00:00
|
|
|
asc0: serial@E100400 {
|
|
|
|
compatible = "lantiq,asc";
|
|
|
|
reg = <0xE100400 0x400>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <104 105 106>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2016-01-17 19:55:17 +00:00
|
|
|
spi: spi@E100800 {
|
2016-01-17 19:56:03 +00:00
|
|
|
compatible = "lantiq,xrx200-spi";
|
2016-01-17 19:55:17 +00:00
|
|
|
reg = <0xE100800 0x100>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <22 23 24>;
|
2016-01-17 19:56:03 +00:00
|
|
|
interrupt-names = "spi_rx", "spi_tx", "spi_err",
|
|
|
|
"spi_frm";
|
2016-01-17 19:55:17 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-12-21 13:47:55 +00:00
|
|
|
gpio: pinmux@E100B10 {
|
2016-01-17 19:55:04 +00:00
|
|
|
compatible = "lantiq,xrx200-pinctrl";
|
2012-12-21 13:47:55 +00:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
reg = <0xE100B10 0xA0>;
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
asc1: serial@E100C00 {
|
|
|
|
compatible = "lantiq,asc";
|
|
|
|
reg = <0xE100C00 0x400>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <112 113 114>;
|
|
|
|
};
|
|
|
|
|
2012-12-21 13:47:55 +00:00
|
|
|
deu@E103100 {
|
|
|
|
compatible = "lantiq,deu-xrx200";
|
|
|
|
reg = <0xE103100 0xf00>;
|
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
dma0: dma@E104100 {
|
|
|
|
compatible = "lantiq,dma-xway";
|
|
|
|
reg = <0xE104100 0x800>;
|
|
|
|
};
|
2013-06-08 11:36:07 +00:00
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
ebu0: ebu@E105300 {
|
|
|
|
compatible = "lantiq,ebu-xway";
|
|
|
|
reg = <0xE105300 0x100>;
|
|
|
|
};
|
|
|
|
|
2012-12-15 02:00:20 +00:00
|
|
|
ifxhcd@E101000 {
|
|
|
|
status = "disabled";
|
2015-03-11 17:08:32 +00:00
|
|
|
compatible = "lantiq,ifxhcd-xrx200", "lantiq,ifxhcd-xrx200-dwc2";
|
2012-12-15 02:00:20 +00:00
|
|
|
reg = <0xE101000 0x1000
|
|
|
|
0xE120000 0x3f000>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <62 91>;
|
|
|
|
};
|
|
|
|
|
2015-03-11 17:08:32 +00:00
|
|
|
ifxhcd@E106000 {
|
|
|
|
status = "disabled";
|
|
|
|
compatible = "lantiq,ifxhcd-xrx200-dwc2";
|
|
|
|
reg = <0xE106000 0x1000>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <91>;
|
|
|
|
};
|
|
|
|
|
2016-01-29 00:42:45 +00:00
|
|
|
eth0: eth@E108000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "lantiq,xrx200-net";
|
|
|
|
reg = < 0xE108000 0x3000 /* switch */
|
|
|
|
0xE10B100 0x70 /* mdio */
|
|
|
|
0xE10B1D8 0x30 /* mii */
|
|
|
|
0xE10B308 0x30 /* pmac */
|
|
|
|
>;
|
|
|
|
interrupt-parent = <&icu0>;
|
2016-08-12 08:39:39 +00:00
|
|
|
interrupts = <75 73 72>;
|
2016-01-29 00:42:45 +00:00
|
|
|
};
|
|
|
|
|
2012-12-21 13:47:55 +00:00
|
|
|
mei@E116000 {
|
|
|
|
compatible = "lantiq,mei-xrx200";
|
2015-07-07 13:44:32 +00:00
|
|
|
reg = <0xE116000 0x9c>;
|
2012-12-21 13:47:55 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <63>;
|
|
|
|
};
|
|
|
|
|
2012-12-15 02:00:20 +00:00
|
|
|
ppe@E234000 {
|
2012-12-21 13:47:55 +00:00
|
|
|
compatible = "lantiq,ppe-xrx200";
|
2012-12-15 02:00:20 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <96>;
|
|
|
|
};
|
|
|
|
|
2016-11-26 00:01:11 +00:00
|
|
|
pcie0: pcie@d900000 {
|
|
|
|
compatible = "lantiq,pcie-xrx200";
|
|
|
|
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
|
2012-12-15 02:00:20 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <161 144>;
|
2016-11-26 00:01:11 +00:00
|
|
|
|
|
|
|
device_type = "pci";
|
|
|
|
|
2016-09-29 16:22:55 +00:00
|
|
|
gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
|
2012-12-15 02:00:20 +00:00
|
|
|
};
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
pci0: pci@E105400 {
|
2016-11-02 18:49:04 +00:00
|
|
|
status = "disabled";
|
|
|
|
|
2012-11-02 20:07:47 +00:00
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
compatible = "lantiq,pci-xway";
|
|
|
|
bus-range = <0x0 0x0>;
|
|
|
|
ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
|
|
|
|
0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
|
|
|
|
reg = <0x7000000 0x8000 /* config space */
|
|
|
|
0xE105400 0x400>; /* pci bridge */
|
2016-11-02 18:49:04 +00:00
|
|
|
lantiq,bus-clock = <33333333>;
|
|
|
|
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
|
|
|
|
interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
|
|
|
|
req-mask = <0x1>; /* GNT1 */
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|
|
|
|
};
|
2012-12-21 13:47:55 +00:00
|
|
|
|
|
|
|
vdsl {
|
|
|
|
compatible = "lantiq,vdsl-vrx200";
|
|
|
|
};
|
2012-11-02 20:07:47 +00:00
|
|
|
};
|