diff options
Diffstat (limited to 'arch/mips/boot/dts/netlogic/xlp_rvp.dts')
-rw-r--r-- | arch/mips/boot/dts/netlogic/xlp_rvp.dts | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/netlogic/xlp_rvp.dts b/arch/mips/boot/dts/netlogic/xlp_rvp.dts new file mode 100644 index 000000000..aa0faee19 --- /dev/null +++ b/arch/mips/boot/dts/netlogic/xlp_rvp.dts | |||
@@ -0,0 +1,89 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
2 | /* | ||
3 | * XLP5XX Device Tree Source for RVP boards | ||
4 | */ | ||
5 | |||
6 | /dts-v1/; | ||
7 | / { | ||
8 | model = "netlogic,XLP-RVP"; | ||
9 | compatible = "netlogic,xlp"; | ||
10 | #address-cells = <2>; | ||
11 | #size-cells = <2>; | ||
12 | |||
13 | soc { | ||
14 | #address-cells = <2>; | ||
15 | #size-cells = <1>; | ||
16 | compatible = "simple-bus"; | ||
17 | ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | ||
18 | 1 0 0 0x16000000 0x02000000>; // GBU chipselects | ||
19 | |||
20 | serial0: serial@30000 { | ||
21 | device_type = "serial"; | ||
22 | compatible = "ns16550"; | ||
23 | reg = <0 0x112100 0xa00>; | ||
24 | reg-shift = <2>; | ||
25 | reg-io-width = <4>; | ||
26 | clock-frequency = <125000000>; | ||
27 | interrupt-parent = <&pic>; | ||
28 | interrupts = <17>; | ||
29 | }; | ||
30 | pic: pic@110000 { | ||
31 | compatible = "netlogic,xlp-pic"; | ||
32 | #address-cells = <0>; | ||
33 | #interrupt-cells = <1>; | ||
34 | reg = <0 0x110000 0x200>; | ||
35 | interrupt-controller; | ||
36 | }; | ||
37 | |||
38 | nor_flash@1,0 { | ||
39 | compatible = "cfi-flash"; | ||
40 | #address-cells = <1>; | ||
41 | #size-cells = <1>; | ||
42 | bank-width = <2>; | ||
43 | reg = <1 0 0x1000000>; | ||
44 | |||
45 | partition@0 { | ||
46 | label = "x-loader"; | ||
47 | reg = <0x0 0x100000>; /* 1M */ | ||
48 | read-only; | ||
49 | }; | ||
50 | |||
51 | partition@100000 { | ||
52 | label = "u-boot"; | ||
53 | reg = <0x100000 0x100000>; /* 1M */ | ||
54 | }; | ||
55 | |||
56 | partition@200000 { | ||
57 | label = "kernel"; | ||
58 | reg = <0x200000 0x500000>; /* 5M */ | ||
59 | }; | ||
60 | |||
61 | partition@700000 { | ||
62 | label = "rootfs"; | ||
63 | reg = <0x700000 0x800000>; /* 8M */ | ||
64 | }; | ||
65 | |||
66 | partition@f00000 { | ||
67 | label = "env"; | ||
68 | reg = <0xf00000 0x100000>; /* 1M */ | ||
69 | read-only; | ||
70 | }; | ||
71 | }; | ||
72 | |||
73 | gpio: xlp_gpio@114100 { | ||
74 | compatible = "netlogic,xlp532-gpio"; | ||
75 | reg = <0 0x114100 0x1000>; | ||
76 | #gpio-cells = <2>; | ||
77 | gpio-controller; | ||
78 | |||
79 | #interrupt-cells = <2>; | ||
80 | interrupt-parent = <&pic>; | ||
81 | interrupts = <39>; | ||
82 | interrupt-controller; | ||
83 | }; | ||
84 | }; | ||
85 | |||
86 | chosen { | ||
87 | bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | ||
88 | }; | ||
89 | }; | ||