Skip to content

Commit

Permalink
MIPS: Netlogic: Move serial ports to device tree
Browse files Browse the repository at this point in the history
Add the serial ports to the device tree and remove the platform
code for adding them.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Patchwork: http://patchwork.linux-mips.org/patch/4098/
Signed-off-by: John Crispin <blogic@openwrt.org>
  • Loading branch information
Jayachandran C authored and John Crispin committed Aug 22, 2012
1 parent d072a21 commit a9f1682
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 109 deletions.
21 changes: 21 additions & 0 deletions arch/mips/netlogic/dts/xlp_evp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,27 @@
compatible = "simple-bus";
ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG
1 0 0 0x16000000 0x01000000>; // GBU chipselects

serial0: serial@30000 {
device_type = "serial";
compatible = "ns16550";
reg = <0 0x30100 0xa00>;
reg-shift = <2>;
reg-io-width = <4>;
clock-frequency = <133333333>;
interrupt-parent = <&pic>;
interrupts = <17>;
};
serial1: serial@31000 {
device_type = "serial";
compatible = "ns16550";
reg = <0 0x31100 0xa00>;
reg-shift = <2>;
reg-io-width = <4>;
clock-frequency = <133333333>;
interrupt-parent = <&pic>;
interrupts = <18>;
};
i2c0: ocores@32000 {
compatible = "opencores,i2c-ocores";
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/netlogic/xlp/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
obj-y += setup.o platform.o nlm_hal.o
obj-y += setup.o nlm_hal.o
obj-$(CONFIG_SMP) += wakeup.o
obj-$(CONFIG_USB) += usb-init.o
108 changes: 0 additions & 108 deletions arch/mips/netlogic/xlp/platform.c

This file was deleted.

0 comments on commit a9f1682

Please sign in to comment.