6eaf8b3d89
Updated the devicetree source files to make use of the following upstreamed drivers: - xrx200 ethernet phy - reset controller unit - dwc2 - fpi Use our custom xrx200 ethernet phy compatible to support boards, which have switched the vr9 revision during lifetime, with a single devicetree source file. By switching to the dwc2 driver + usb phy framework, we don't need to used our custom gpio power patch and can use a fixed regulator instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
268 lines
5.5 KiB
Text
268 lines
5.5 KiB
Text
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "lantiq,xway", "lantiq,ar9";
|
|
|
|
aliases {
|
|
serial0 = &asc1;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
compatible = "mips,mips34K";
|
|
};
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
};
|
|
|
|
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,xrx100-wdt", "lantiq,xrx100-wdt";
|
|
reg = <0x803f0 0x10>;
|
|
|
|
regmap = <&rcu0>;
|
|
};
|
|
};
|
|
|
|
sram@1f000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "lantiq,sram", "simple-bus";
|
|
reg = <0x1f000000 0x800000>;
|
|
ranges = <0x0 0x1f000000 0x7fffff>;
|
|
|
|
eiu0: eiu@101000 {
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
compatible = "lantiq,eiu-xway";
|
|
reg = <0x101000 0x1000>;
|
|
interrupt-parent = <&icu0>;
|
|
lantiq,eiu-irqs = <166 135 66 40 41 42>;
|
|
};
|
|
|
|
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 {
|
|
compatible = "lantiq,xrx100-rcu", "simple-mfd", "syscon";
|
|
reg = <0x203000 0x1000>;
|
|
ranges = <0x0 0x203000 0x100>;
|
|
big-endian;
|
|
|
|
reset: reset-controller@10 {
|
|
compatible = "lantiq,xrx100-reset", "lantiq,danube-reset";
|
|
reg = <0x10 4>, <0x14 4>;
|
|
|
|
#reset-cells = <2>;
|
|
};
|
|
|
|
usb_phy0: usb2-phy@18 {
|
|
compatible = "lantiq,xrx100-usb2-phy";
|
|
reg = <0x18 4>;
|
|
status = "disabled";
|
|
|
|
resets = <&reset 4 4>;
|
|
reset-names = "ctrl";
|
|
#phy-cells = <0>;
|
|
};
|
|
|
|
usb_phy1: usb2-phy@34 {
|
|
compatible = "lantiq,xrx100-usb2-phy";
|
|
reg = <0x34 4>;
|
|
status = "disabled";
|
|
|
|
resets = <&reset 28 28>;
|
|
reset-names = "ctrl";
|
|
#phy-cells = <0>;
|
|
};
|
|
|
|
reboot@10 {
|
|
compatible = "syscon-reboot";
|
|
reg = <0x10 4>;
|
|
|
|
regmap = <&rcu0>;
|
|
offset = <0x10>;
|
|
mask = <0x40000000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
fpi@10000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "lantiq,fpi", "simple-bus";
|
|
ranges = <0x0 0x10000000 0xeefffff>;
|
|
reg = <0x10000000 0xef00000>;
|
|
|
|
localbus: localbus@0 {
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
|
|
1 0 0x4000000 0x4000010>; /* addsel1 */
|
|
compatible = "lantiq,localbus", "simple-bus";
|
|
};
|
|
|
|
gptu@e100a00 {
|
|
compatible = "lantiq,gptu-xway";
|
|
reg = <0xe100a00 0x100>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <126 127 128 129 130 131>;
|
|
};
|
|
|
|
asc0: serial@e100400 {
|
|
compatible = "lantiq,asc";
|
|
reg = <0xe100400 0x400>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <104 105 106>;
|
|
status = "disabled";
|
|
};
|
|
|
|
spi: spi@e100800 {
|
|
compatible = "lantiq,xrx100-spi";
|
|
reg = <0xe100800 0x100>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <22 23 24>;
|
|
interrupt-names = "spi_rx", "spi_tx", "spi_err",
|
|
"spi_frm";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
status = "disabled";
|
|
};
|
|
|
|
gpio: pinmux@e100b10 {
|
|
compatible = "lantiq,xrx100-pinctrl";
|
|
#gpio-cells = <2>;
|
|
gpio-controller;
|
|
reg = <0xe100b10 0xa0>;
|
|
};
|
|
|
|
stp: stp@e100bb0 {
|
|
#gpio-cells = <2>;
|
|
compatible = "lantiq,gpio-stp-xway";
|
|
gpio-controller;
|
|
reg = <0xe100bb0 0x40>;
|
|
status = "disabled";
|
|
};
|
|
|
|
asc1: serial@e100c00 {
|
|
compatible = "lantiq,asc";
|
|
reg = <0xe100c00 0x400>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <112 113 114>;
|
|
};
|
|
|
|
usb0: usb@e101000 {
|
|
compatible = "lantiq,arx100-usb";
|
|
reg = <0xe101000 0x1000
|
|
0xe120000 0x3f000>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <62 91>;
|
|
dr_mode = "host";
|
|
phys = <&usb_phy0>;
|
|
phy-names = "usb2-phy";
|
|
status = "disabled";
|
|
};
|
|
|
|
usb1: usb@e106000 {
|
|
compatible = "lantiq,arx100-usb";
|
|
reg = <0xe106000 0x1000
|
|
0xe1e0000 0x3f000>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <91>;
|
|
dr_mode = "host";
|
|
phys = <&usb_phy1>;
|
|
phy-names = "usb2-phy";
|
|
status = "disabled";
|
|
};
|
|
|
|
deu@e103100 {
|
|
compatible = "lantiq,deu-arx100";
|
|
reg = <0xe103100 0xf00>;
|
|
};
|
|
|
|
dma0: dma@e104100 {
|
|
compatible = "lantiq,dma-xway";
|
|
reg = <0xe104100 0x800>;
|
|
};
|
|
|
|
ebu0: ebu@e105300 {
|
|
compatible = "lantiq,ebu-xway";
|
|
reg = <0xe105300 0x100>;
|
|
};
|
|
|
|
mei@e116000 {
|
|
compatible = "lantiq,mei-xway";
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <63>;
|
|
};
|
|
|
|
gsw: etop@e180000 {
|
|
compatible = "lantiq,etop-xway";
|
|
reg = <0xe180000 0x40000
|
|
0xe108000 0x200>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <73 72>;
|
|
mac-address = [ 00 11 22 33 44 55 ];
|
|
};
|
|
|
|
ppe@e234000 {
|
|
compatible = "lantiq,ppe-arx100";
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <96>;
|
|
};
|
|
|
|
pci0: pci@e105400 {
|
|
status = "disabled";
|
|
#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 */
|
|
lantiq,bus-clock = <33333333>;
|
|
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
|
|
interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
|
|
req-mask = <0x1>;
|
|
};
|
|
};
|
|
|
|
adsl {
|
|
compatible = "lantiq,adsl-arx100";
|
|
};
|
|
};
|