2017-11-12 21:27:14 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,xway", "lantiq,ase";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &asc1;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "mips,mips4Kc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
biu@1f800000 {
|
2017-11-12 21:27:14 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,biu", "simple-bus";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0x1f800000 0x800000>;
|
|
|
|
ranges = <0x0 0x1f800000 0x7fffff>;
|
2017-11-12 21:27:14 +00:00
|
|
|
|
|
|
|
icu0: icu@80200 {
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "lantiq,icu";
|
|
|
|
reg = <0x80200 0x28
|
|
|
|
0x80228 0x28
|
|
|
|
0x80250 0x28
|
|
|
|
0x80278 0x28
|
|
|
|
0x802a0 0x28>;
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
watchdog@803f0 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,wdt";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0x803f0 0x10>;
|
2017-11-12 21:27:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
sram@1f000000 {
|
2017-11-12 21:27:14 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,sram", "simple-bus";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0x1f000000 0x800000>;
|
|
|
|
ranges = <0x0 0x1f000000 0x7fffff>;
|
2017-11-12 21:27:14 +00:00
|
|
|
|
|
|
|
eiu0: eiu@101000 {
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "lantiq,eiu-xway";
|
|
|
|
reg = <0x101000 0x1000>;
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
lantiq,eiu-irqs = <29 30 31>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pmu0: pmu@102000 {
|
|
|
|
compatible = "lantiq,pmu-xway";
|
|
|
|
reg = <0x102000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cgu0: cgu@103000 {
|
|
|
|
compatible = "lantiq,cgu-xway";
|
|
|
|
reg = <0x103000 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rcu0: rcu@203000 {
|
2017-11-13 21:39:01 +00:00
|
|
|
compatible = "lantiq,ase-rcu", "simple-mfd", "syscon";
|
2017-11-12 21:27:14 +00:00
|
|
|
reg = <0x203000 0x1000>;
|
2017-11-13 21:39:01 +00:00
|
|
|
ranges = <0x0 0x203000 0x100>;
|
|
|
|
big-endian;
|
|
|
|
|
|
|
|
reset: reset-controller@10 {
|
|
|
|
compatible = "lantiq,danube-reset";
|
|
|
|
reg = <0x10 4>, <0x14 4>;
|
|
|
|
|
|
|
|
#reset-cells = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_phy: usb2-phy@18 {
|
|
|
|
compatible = "lantiq,ase-usb2-phy";
|
|
|
|
reg = <0x18 4>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
resets = <&reset 4 4>;
|
|
|
|
reset-names = "ctrl";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reboot@10 {
|
|
|
|
compatible = "syscon-reboot";
|
|
|
|
reg = <0x10 4>;
|
|
|
|
|
|
|
|
regmap = <&rcu0>;
|
|
|
|
offset = <0x10>;
|
|
|
|
mask = <0x40000000>;
|
|
|
|
};
|
2017-11-12 21:27:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fpi@10000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "lantiq,fpi", "simple-bus";
|
2018-01-01 16:58:30 +00:00
|
|
|
ranges = <0x0 0x10000000 0xeefffff>;
|
|
|
|
reg = <0x10000000 0xef00000>;
|
2017-11-12 21:27:14 +00:00
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
localbus: localbus@0 {
|
2017-11-12 21:27:14 +00:00
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
|
|
|
|
1 0 0x4000000 0x4000010>; /* addsel1 */
|
|
|
|
compatible = "lantiq,localbus", "simple-bus";
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
spi: spi@e100800 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,ase-spi";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe100800 0x100>;
|
2017-11-12 21:27:14 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <24 25 26>;
|
|
|
|
interrupt-names = "spi_rx", "spi_tx", "spi_err",
|
|
|
|
"spi_frm";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
gptu@e100a00 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,gptu-xway";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe100a00 0x100>;
|
2017-11-12 21:27:14 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <33 34 35 36 37 38>;
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
gpio: pinmux@e100b10 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,ase-pinctrl";
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe100b10 0xa0>;
|
2017-11-12 21:27:14 +00:00
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
asc1: serial@e100c00 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,asc";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe100c00 0x400>;
|
2017-11-12 21:27:14 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <72 74 75>;
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
mei@e116000 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,mei-xway";
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <81>;
|
|
|
|
};
|
|
|
|
|
2017-11-13 21:39:01 +00:00
|
|
|
usb: usb@e101000 {
|
|
|
|
compatible = "lantiq,ase-usb";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe101000 0x1000
|
|
|
|
0xe120000 0x3f000>;
|
2017-11-12 21:27:14 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <39>;
|
|
|
|
dr_mode = "host";
|
2017-11-13 21:39:01 +00:00
|
|
|
phys = <&usb_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
2017-11-12 21:27:14 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
dma0: dma@e104100 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,dma-xway";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe104100 0x800>;
|
2017-11-12 21:27:14 +00:00
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
ebu0: ebu@e105300 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,ebu-xway";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe105300 0x100>;
|
2017-11-12 21:27:14 +00:00
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
ppe@e234000 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,ppe-ase";
|
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <85>;
|
|
|
|
};
|
|
|
|
|
2018-01-01 16:58:30 +00:00
|
|
|
gsw: etop@e180000 {
|
2017-11-12 21:27:14 +00:00
|
|
|
compatible = "lantiq,etop-xway";
|
2018-01-01 16:58:30 +00:00
|
|
|
reg = <0xe180000 0x40000>;
|
2017-11-12 21:27:14 +00:00
|
|
|
interrupt-parent = <&icu0>;
|
|
|
|
interrupts = <105 109>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
adsl {
|
|
|
|
compatible = "lantiq,adsl-ase";
|
|
|
|
};
|
|
|
|
};
|