diff options
author | Jayachandran C <jayachandranc@netlogicmicro.com> | 2012-07-13 12:23:21 -0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-22 17:46:37 -0400 |
commit | a9f16821205d7561bf9d622855e1aa95e5c77f0c (patch) | |
tree | c9b27b4fab81079fe88458773802b27275eabb36 /arch/mips/netlogic/dts | |
parent | d072a215d29f67a46c7d0e805f1a1f5787a7a456 (diff) |
MIPS: Netlogic: Move serial ports to device tree
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>
Diffstat (limited to 'arch/mips/netlogic/dts')
-rw-r--r-- | arch/mips/netlogic/dts/xlp_evp.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/mips/netlogic/dts/xlp_evp.dts b/arch/mips/netlogic/dts/xlp_evp.dts index 86a29ca49a0f..e14f42308064 100644 --- a/arch/mips/netlogic/dts/xlp_evp.dts +++ b/arch/mips/netlogic/dts/xlp_evp.dts | |||
@@ -22,6 +22,27 @@ | |||
22 | compatible = "simple-bus"; | 22 | compatible = "simple-bus"; |
23 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | 23 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG |
24 | 1 0 0 0x16000000 0x01000000>; // GBU chipselects | 24 | 1 0 0 0x16000000 0x01000000>; // GBU chipselects |
25 | |||
26 | serial0: serial@30000 { | ||
27 | device_type = "serial"; | ||
28 | compatible = "ns16550"; | ||
29 | reg = <0 0x30100 0xa00>; | ||
30 | reg-shift = <2>; | ||
31 | reg-io-width = <4>; | ||
32 | clock-frequency = <133333333>; | ||
33 | interrupt-parent = <&pic>; | ||
34 | interrupts = <17>; | ||
35 | }; | ||
36 | serial1: serial@31000 { | ||
37 | device_type = "serial"; | ||
38 | compatible = "ns16550"; | ||
39 | reg = <0 0x31100 0xa00>; | ||
40 | reg-shift = <2>; | ||
41 | reg-io-width = <4>; | ||
42 | clock-frequency = <133333333>; | ||
43 | interrupt-parent = <&pic>; | ||
44 | interrupts = <18>; | ||
45 | }; | ||
25 | i2c0: ocores@32000 { | 46 | i2c0: ocores@32000 { |
26 | compatible = "opencores,i2c-ocores"; | 47 | compatible = "opencores,i2c-ocores"; |
27 | #address-cells = <1>; | 48 | #address-cells = <1>; |