]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/mips/netlogic/dts/xlp_evp.dts
MIPS: Netlogic: Add XLP PIC irqdomain
[mirror_ubuntu-artful-kernel.git] / arch / mips / netlogic / dts / xlp_evp.dts
CommitLineData
d072a215
GR
1/*
2 * XLP8XX Device Tree Source for EVP boards
3 */
4
5/dts-v1/;
6/ {
7 model = "netlogic,XLP-EVP";
8 compatible = "netlogic,xlp";
9 #address-cells = <2>;
10 #size-cells = <2>;
11
12 memory {
13 device_type = "memory";
14 reg = <0 0x00100000 0 0x0FF00000 // 255M at 1M
15 0 0x20000000 0 0xa0000000 // 2560M at 512M
16 0 0xe0000000 1 0x00000000>;
17 };
18
19 soc {
20 #address-cells = <2>;
21 #size-cells = <1>;
22 compatible = "simple-bus";
035114fb 23 ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG
d072a215 24 1 0 0 0x16000000 0x01000000>; // GBU chipselects
a9f16821
J
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 };
d072a215
GR
46 i2c0: ocores@32000 {
47 compatible = "opencores,i2c-ocores";
48 #address-cells = <1>;
49 #size-cells = <0>;
50 reg = <0 0x32100 0xa00>;
51 reg-shift = <2>;
52 reg-io-width = <4>;
53 clock-frequency = <32000000>;
54 interrupt-parent = <&pic>;
55 interrupts = <30>;
56 };
57 i2c1: ocores@33000 {
58 compatible = "opencores,i2c-ocores";
59 #address-cells = <1>;
60 #size-cells = <0>;
61 reg = <0 0x33100 0xa00>;
62 reg-shift = <2>;
63 reg-io-width = <4>;
64 clock-frequency = <32000000>;
65 interrupt-parent = <&pic>;
66 interrupts = <31>;
67
68 rtc@68 {
69 compatible = "dallas,ds1374";
70 reg = <0x68>;
71 };
72
73 dtt@4c {
74 compatible = "national,lm90";
75 reg = <0x4c>;
76 };
77 };
78 pic: pic@4000 {
628f0650 79 compatible = "netlogic,xlp-pic";
d072a215
GR
80 #address-cells = <0>;
81 #interrupt-cells = <1>;
82 reg = <0 0x4000 0x200>;
628f0650 83 interrupt-controller;
d072a215
GR
84 };
85
86 nor_flash@1,0 {
87 compatible = "cfi-flash";
88 #address-cells = <1>;
89 #size-cells = <1>;
90 bank-width = <2>;
91 reg = <1 0 0x1000000>;
92
93 partition@0 {
94 label = "x-loader";
95 reg = <0x0 0x100000>; /* 1M */
96 read-only;
97 };
98
99 partition@100000 {
100 label = "u-boot";
101 reg = <0x100000 0x100000>; /* 1M */
102 };
103
104 partition@200000 {
105 label = "kernel";
106 reg = <0x200000 0x500000>; /* 5M */
107 };
108
109 partition@700000 {
110 label = "rootfs";
111 reg = <0x700000 0x800000>; /* 8M */
112 };
113
114 partition@f00000 {
115 label = "env";
116 reg = <0xf00000 0x100000>; /* 1M */
117 read-only;
118 };
119 };
120 };
121
122 chosen {
123 bootargs = "console=ttyS0,115200 rdinit=/sbin/init";
124 };
125};