2013-04-03 09:59:46 +00:00
|
|
|
/ {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "ralink,rt2880-soc";
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "mips,mips24KEc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2013-04-07 11:46:54 +00:00
|
|
|
bootargs = "console=ttyS0,57600";
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|
|
|
|
|
2016-05-09 04:20:02 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &uartlite;
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
cpuintc: cpuintc@0 {
|
|
|
|
#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>;
|
|
|
|
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <0>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,num-gpios = <24>;
|
|
|
|
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>;
|
|
|
|
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <24>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,num-gpios = <16>;
|
|
|
|
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>;
|
|
|
|
|
2013-05-06 16:45:04 +00:00
|
|
|
ralink,gpio-base = <40>;
|
2013-04-03 09:59:46 +00:00
|
|
|
ralink,num-gpios = <32>;
|
|
|
|
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 {
|
|
|
|
ralink,group = "sdram";
|
|
|
|
ralink,function = "sdram";
|
|
|
|
};
|
|
|
|
};
|
2016-01-07 14:27:45 +00:00
|
|
|
|
|
|
|
i2c_pins: i2c {
|
|
|
|
i2c {
|
|
|
|
ralink,group = "i2c";
|
|
|
|
ralink,function = "i2c";
|
|
|
|
};
|
|
|
|
};
|
2014-04-12 21:22:00 +00:00
|
|
|
|
|
|
|
spi_pins: spi {
|
|
|
|
spi {
|
|
|
|
ralink,group = "spi";
|
|
|
|
ralink,function = "spi";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uartlite_pins: uartlite {
|
|
|
|
uart {
|
|
|
|
ralink,group = "uartlite";
|
|
|
|
ralink,function = "uartlite";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
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
|
|
|
};
|