]>
Commit | Line | Data |
---|---|---|
ca36855e | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
3abdd583 IK |
2 | /* |
3 | * Device Tree include for the Linksys WRT1200AC (Caiman) | |
4 | * | |
5 | * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org> | |
3abdd583 IK |
6 | */ |
7 | ||
8 | /dts-v1/; | |
9 | #include "armada-385-linksys.dtsi" | |
10 | ||
11 | / { | |
12 | model = "Linksys WRT1200AC"; | |
13 | compatible = "linksys,caiman", "linksys,armada385", "marvell,armada385", | |
14 | "marvell,armada380"; | |
ecdcd248 | 15 | }; |
3abdd583 | 16 | |
ecdcd248 | 17 | &expander0 { |
ecdcd248 RS |
18 | wan_amber@0 { |
19 | label = "caiman:amber:wan"; | |
20 | reg = <0x0>; | |
21 | }; | |
3abdd583 | 22 | |
ecdcd248 RS |
23 | wan_white@1 { |
24 | label = "caiman:white:wan"; | |
25 | reg = <0x1>; | |
26 | }; | |
3abdd583 | 27 | |
ecdcd248 RS |
28 | wlan_2g@2 { |
29 | label = "caiman:white:wlan_2g"; | |
30 | reg = <0x2>; | |
31 | }; | |
3abdd583 | 32 | |
ecdcd248 RS |
33 | wlan_5g@3 { |
34 | label = "caiman:white:wlan_5g"; | |
35 | reg = <0x3>; | |
36 | }; | |
3abdd583 | 37 | |
ecdcd248 RS |
38 | usb2@5 { |
39 | label = "caiman:white:usb2"; | |
40 | reg = <0x5>; | |
41 | }; | |
3abdd583 | 42 | |
ecdcd248 RS |
43 | usb3_1@6 { |
44 | label = "caiman:white:usb3_1"; | |
45 | reg = <0x6>; | |
46 | }; | |
3abdd583 | 47 | |
ecdcd248 RS |
48 | usb3_2@7 { |
49 | label = "caiman:white:usb3_2"; | |
50 | reg = <0x7>; | |
51 | }; | |
3abdd583 | 52 | |
ecdcd248 RS |
53 | wps_white@8 { |
54 | label = "caiman:white:wps"; | |
55 | reg = <0x8>; | |
56 | }; | |
3abdd583 | 57 | |
ecdcd248 RS |
58 | wps_amber@9 { |
59 | label = "caiman:amber:wps"; | |
60 | reg = <0x9>; | |
3abdd583 | 61 | }; |
ecdcd248 | 62 | }; |
3abdd583 | 63 | |
ecdcd248 RS |
64 | &gpio_leds { |
65 | power { | |
66 | label = "caiman:white:power"; | |
67 | }; | |
3abdd583 | 68 | |
ecdcd248 RS |
69 | sata { |
70 | label = "caiman:white:sata"; | |
3abdd583 IK |
71 | }; |
72 | }; | |
bf6c959e RS |
73 | |
74 | &nand { | |
75 | /* 128MiB */ | |
76 | ||
77 | partition@0 { | |
78 | label = "u-boot"; | |
79 | reg = <0x0000000 0x200000>; /* 2MiB */ | |
80 | read-only; | |
81 | }; | |
82 | ||
83 | partition@100000 { | |
84 | label = "u_env"; | |
85 | reg = <0x200000 0x40000>; /* 256KiB */ | |
86 | }; | |
87 | ||
88 | partition@140000 { | |
89 | label = "s_env"; | |
90 | reg = <0x240000 0x40000>; /* 256KiB */ | |
91 | }; | |
92 | ||
93 | partition@900000 { | |
94 | label = "devinfo"; | |
95 | reg = <0x900000 0x100000>; /* 1MiB */ | |
96 | read-only; | |
97 | }; | |
98 | ||
99 | /* kernel1 overlaps with rootfs1 by design */ | |
100 | partition@a00000 { | |
101 | label = "kernel1"; | |
102 | reg = <0xa00000 0x2800000>; /* 40MiB */ | |
103 | }; | |
104 | ||
105 | partition@1000000 { | |
106 | label = "rootfs1"; | |
107 | reg = <0x1000000 0x2200000>; /* 34MiB */ | |
108 | }; | |
109 | ||
110 | /* kernel2 overlaps with rootfs2 by design */ | |
111 | partition@3200000 { | |
112 | label = "kernel2"; | |
113 | reg = <0x3200000 0x2800000>; /* 40MiB */ | |
114 | }; | |
115 | ||
116 | partition@3800000 { | |
117 | label = "rootfs2"; | |
118 | reg = <0x3800000 0x2200000>; /* 34MiB */ | |
119 | }; | |
120 | ||
121 | /* | |
122 | * 38MiB, last MiB is for the BBT, not writable | |
123 | */ | |
124 | partition@5a00000 { | |
125 | label = "syscfg"; | |
126 | reg = <0x5a00000 0x2600000>; | |
127 | }; | |
128 | ||
129 | /* | |
130 | * Unused area between "s_env" and "devinfo". | |
131 | * Moved here because otherwise the renumbered | |
132 | * partitions would break the bootloader | |
133 | * supplied bootargs | |
134 | */ | |
135 | partition@180000 { | |
136 | label = "unused_area"; | |
137 | reg = <0x280000 0x680000>; /* 6.5MiB */ | |
138 | }; | |
139 | }; |