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