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
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
memorydetect {
|
|
|
|
ralink,memory = <0x8000000 0x200000 0x8000000>;
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
cpuintc: cpuintc@0 {
|
|
|
|
#address-cells = <0>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
compatible = "mti,cpu-interrupt-controller";
|
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
palmbus@300000 {
|
2013-04-03 09:59:46 +00:00
|
|
|
compatible = "palmbus";
|
2013-04-12 18:56:36 +00:00
|
|
|
reg = <0x300000 0x200000>;
|
|
|
|
ranges = <0x0 0x300000 0x1FFFFF>;
|
2013-04-03 09:59:46 +00:00
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
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>;
|
|
|
|
|
|
|
|
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>;
|
|
|
|
|
|
|
|
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>;
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2013-04-12 18:56:36 +00:00
|
|
|
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
|
|
|
|
|
|
|
ethernet@400000 {
|
|
|
|
compatible = "ralink,rt2880-eth";
|
|
|
|
reg = <0x00400000 10000>;
|
|
|
|
|
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <5>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
mdio-bus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
wmac@480000 {
|
|
|
|
compatible = "ralink,rt2880-wmac";
|
|
|
|
reg = <0x480000 40000>;
|
|
|
|
|
|
|
|
interrupt-parent = <&cpuintc>;
|
|
|
|
interrupts = <6>;
|
|
|
|
|
|
|
|
ralink,eeprom = "soc_wmac.eeprom";
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2013-04-03 09:59:46 +00:00
|
|
|
};
|