Commit d072a215d29f67a46c7d0e805f1a1f5787a7a456
Committed by
John Crispin
1 parent
1f8a9ef107
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
MIPS: Netlogic: DTS file for XLP boards
Add a basic DTS file netlogic/dts/nlm_xlp.dts which contains memory, i2c devices, NOR flash and command line arguments. Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com> Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> Patchwork: http://patchwork.linux-mips.org/patch/4100/ Signed-off-by: John Crispin <blogic@openwrt.org>
Showing 1 changed file with 103 additions and 0 deletions Side-by-side Diff
arch/mips/netlogic/dts/xlp_evp.dts
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"; | |
23 | + ranges = <0 0 0 0x18000000 0x04000000 // PCIe CFG | |
24 | + 1 0 0 0x16000000 0x01000000>; // GBU chipselects | |
25 | + i2c0: ocores@32000 { | |
26 | + compatible = "opencores,i2c-ocores"; | |
27 | + #address-cells = <1>; | |
28 | + #size-cells = <0>; | |
29 | + reg = <0 0x32100 0xa00>; | |
30 | + reg-shift = <2>; | |
31 | + reg-io-width = <4>; | |
32 | + clock-frequency = <32000000>; | |
33 | + interrupt-parent = <&pic>; | |
34 | + interrupts = <30>; | |
35 | + }; | |
36 | + i2c1: ocores@33000 { | |
37 | + compatible = "opencores,i2c-ocores"; | |
38 | + #address-cells = <1>; | |
39 | + #size-cells = <0>; | |
40 | + reg = <0 0x33100 0xa00>; | |
41 | + reg-shift = <2>; | |
42 | + reg-io-width = <4>; | |
43 | + clock-frequency = <32000000>; | |
44 | + interrupt-parent = <&pic>; | |
45 | + interrupts = <31>; | |
46 | + | |
47 | + rtc@68 { | |
48 | + compatible = "dallas,ds1374"; | |
49 | + reg = <0x68>; | |
50 | + }; | |
51 | + | |
52 | + dtt@4c { | |
53 | + compatible = "national,lm90"; | |
54 | + reg = <0x4c>; | |
55 | + }; | |
56 | + }; | |
57 | + pic: pic@4000 { | |
58 | + interrupt-controller; | |
59 | + #address-cells = <0>; | |
60 | + #interrupt-cells = <1>; | |
61 | + reg = <0 0x4000 0x200>; | |
62 | + }; | |
63 | + | |
64 | + nor_flash@1,0 { | |
65 | + compatible = "cfi-flash"; | |
66 | + #address-cells = <1>; | |
67 | + #size-cells = <1>; | |
68 | + bank-width = <2>; | |
69 | + reg = <1 0 0x1000000>; | |
70 | + | |
71 | + partition@0 { | |
72 | + label = "x-loader"; | |
73 | + reg = <0x0 0x100000>; /* 1M */ | |
74 | + read-only; | |
75 | + }; | |
76 | + | |
77 | + partition@100000 { | |
78 | + label = "u-boot"; | |
79 | + reg = <0x100000 0x100000>; /* 1M */ | |
80 | + }; | |
81 | + | |
82 | + partition@200000 { | |
83 | + label = "kernel"; | |
84 | + reg = <0x200000 0x500000>; /* 5M */ | |
85 | + }; | |
86 | + | |
87 | + partition@700000 { | |
88 | + label = "rootfs"; | |
89 | + reg = <0x700000 0x800000>; /* 8M */ | |
90 | + }; | |
91 | + | |
92 | + partition@f00000 { | |
93 | + label = "env"; | |
94 | + reg = <0xf00000 0x100000>; /* 1M */ | |
95 | + read-only; | |
96 | + }; | |
97 | + }; | |
98 | + }; | |
99 | + | |
100 | + chosen { | |
101 | + bootargs = "console=ttyS0,115200 rdinit=/sbin/init"; | |
102 | + }; | |
103 | +}; |