2020-09-25 20:20:56 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
/ {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "ralink,rt2880-soc";
|
|
|
|
|
2021-02-22 17:44:31 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &uartlite;
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
cpus {
|
2018-07-21 14:17:39 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
cpu@0 {
|
|
|
|
compatible = "mips,mips24KEc";
|
2018-07-21 14:17:39 +00:00
|
|
|
reg = <0>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2013-04-07 11:46:54 +00:00
|
|
|
bootargs = "console=ttyS0,57600";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2018-07-21 14:53:10 +00:00
|
|
|
cpuintc: cpuintc {
|
2013-04-03 09:59:46 +00:00
|
|
|
#address-cells = <0>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "mti,cpu-interrupt-controller";
|
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
palmbus: palmbus@300000 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "palmbus";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x300000 0x200000>;
|
2015-08-17 05:57:18 +00:00
|
|
|
ranges = <0x0 0x300000 0x1FFFFF>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
sysc: sysc@0 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-sysc";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x000 0x100>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
timer: timer@100 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-timer";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x100 0x20>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <1>;
|
2013-04-12 18:56:36 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
watchdog: watchdog@120 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-wdt";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x120 0x10>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
intc: intc@200 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-intc";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x200 0x100>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
|
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <2>;
|
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
memc: memc@300 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-memc";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x300 0x100>;
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
gpio0: gpio@600 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-gpio";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x600 0x34>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
2021-04-06 05:53:46 +00:00
|
|
|
ngpios = <24>;
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <0>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,register-map = [ 00 04 08 0c
|
|
|
|
20 24 28 2c
|
|
|
|
30 34 ];
|
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
gpio1: gpio@638 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-gpio";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x638 0x24>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
2021-04-06 05:53:46 +00:00
|
|
|
ngpios = <16>;
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <24>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,register-map = [ 00 04 08 0c
|
|
|
|
10 14 18 1c
|
|
|
|
20 24 ];
|
2013-04-12 18:56:36 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
gpio2: gpio@660 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-gpio";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x660 0x24>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
2021-04-06 05:53:46 +00:00
|
|
|
ngpios = <32>;
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <40>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,register-map = [ 00 04 08 0c
|
|
|
|
10 14 18 1c
|
|
|
|
20 24 ];
|
2013-04-12 18:56:36 +00:00
|
|
|
|
|
|
|
status = "disabled";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2016-01-07 14:27:45 +00:00
|
|
|
i2c: i2c@900 {
|
|
|
|
compatible = "ralink,rt2880-i2c";
|
|
|
|
reg = <0x900 0x100>;
|
|
|
|
|
|
|
|
resets = <&rstctrl 9>;
|
|
|
|
reset-names = "i2c";
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c_pins>;
|
|
|
|
};
|
|
|
|
|
2016-05-09 04:20:02 +00:00
|
|
|
uartlite: uartlite@c00 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "ralink,rt2880-uart", "ns16550a";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0xc00 0x100>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
interrupt-parent = <&intc>;
|
2013-04-12 18:56:36 +00:00
|
|
|
interrupts = <8>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
reg-shift = <2>;
|
|
|
|
};
|
|
|
|
};
|
2013-04-12 18:56:36 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
pinctrl: pinctrl {
|
2014-04-12 21:22:00 +00:00
|
|
|
compatible = "ralink,rt2880-pinmux";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
sdram {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "sdram";
|
|
|
|
function = "sdram";
|
2014-04-12 21:22:00 +00:00
|
|
|
};
|
|
|
|
};
|
2016-01-07 14:27:45 +00:00
|
|
|
|
2018-12-06 09:02:29 +00:00
|
|
|
i2c_pins: i2c_pins {
|
|
|
|
i2c_pins {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c";
|
|
|
|
function = "i2c";
|
2016-01-07 14:27:45 +00:00
|
|
|
};
|
|
|
|
};
|
2014-04-12 21:22:00 +00:00
|
|
|
|
2018-12-06 09:02:29 +00:00
|
|
|
spi_pins: spi_pins {
|
|
|
|
spi_pins {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "spi";
|
|
|
|
function = "spi";
|
2014-04-12 21:22:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uartlite_pins: uartlite {
|
|
|
|
uart {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "uartlite";
|
|
|
|
function = "uartlite";
|
2014-04-12 21:22:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-18 20:16:44 +00:00
|
|
|
rstctrl: rstctrl {
|
|
|
|
compatible = "ralink,rt2880-reset";
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2016-05-10 13:23:54 +00:00
|
|
|
clkctrl: clkctrl {
|
|
|
|
compatible = "ralink,rt2880-clock";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2016-11-15 21:31:16 +00:00
|
|
|
pci: pci@440000 {
|
|
|
|
compatible = "ralink,rt288x-pci";
|
|
|
|
reg = <0x00440000 0x20000>;
|
2018-11-26 13:17:47 +00:00
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
2016-11-15 21:31:16 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ethernet: ethernet@400000 {
|
2013-04-12 18:56:36 +00:00
|
|
|
compatible = "ralink,rt2880-eth";
|
2016-05-09 06:23:12 +00:00
|
|
|
reg = <0x00400000 0x10000>;
|
2013-04-12 18:56:36 +00:00
|
|
|
|
2014-04-12 21:22:00 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2015-01-18 20:16:44 +00:00
|
|
|
resets = <&rstctrl 18>;
|
|
|
|
reset-names = "fe";
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <5>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
|
2014-04-12 21:22:00 +00:00
|
|
|
port@0 {
|
2015-12-17 09:25:57 +00:00
|
|
|
compatible = "ralink,rt2880-port", "mediatek,eth-port";
|
2014-04-12 21:22:00 +00:00
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
mdio-bus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
wmac: wmac@480000 {
|
2013-04-12 18:56:36 +00:00
|
|
|
compatible = "ralink,rt2880-wmac";
|
2016-05-09 06:23:12 +00:00
|
|
|
reg = <0x480000 0x40000>;
|
2013-04-12 18:56:36 +00:00
|
|
|
|
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <6>;
|
|
|
|
|
|
|
|
ralink,eeprom = "soc_wmac.eeprom";
|
|
|
|
};
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|