0001 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
0002 /*
0003 * Device Tree file for the Linksys WRT1900ACS (Shelby)
0004 *
0005 * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org>
0006 */
0007
0008 /dts-v1/;
0009 #include "armada-385-linksys.dtsi"
0010
0011 / {
0012 model = "Linksys WRT1900ACS";
0013 compatible = "linksys,shelby", "linksys,armada385", "marvell,armada385",
0014 "marvell,armada380";
0015 };
0016
0017 &expander0 {
0018 wan_amber@0 {
0019 label = "shelby:amber:wan";
0020 reg = <0x0>;
0021 };
0022
0023 wan_white@1 {
0024 label = "shelby:white:wan";
0025 reg = <0x1>;
0026 };
0027
0028 wlan_2g@2 {
0029 label = "shelby:white:wlan_2g";
0030 reg = <0x2>;
0031 };
0032
0033 wlan_5g@3 {
0034 label = "shelby:white:wlan_5g";
0035 reg = <0x3>;
0036 };
0037
0038 usb2@5 {
0039 label = "shelby:white:usb2";
0040 reg = <0x5>;
0041 };
0042
0043 usb3_1@6 {
0044 label = "shelby:white:usb3_1";
0045 reg = <0x6>;
0046 };
0047
0048 usb3_2@7 {
0049 label = "shelby:white:usb3_2";
0050 reg = <0x7>;
0051 };
0052
0053 wps_white@8 {
0054 label = "shelby:white:wps";
0055 reg = <0x8>;
0056 };
0057
0058 wps_amber@9 {
0059 label = "shelby:amber:wps";
0060 reg = <0x9>;
0061 };
0062 };
0063
0064 &gpio_leds {
0065 power {
0066 label = "shelby:white:power";
0067 };
0068
0069 sata {
0070 label = "shelby:white:sata";
0071 };
0072 };
0073
0074 &nand {
0075 /* 128MiB */
0076 partitions {
0077 compatible = "fixed-partitions";
0078 #address-cells = <1>;
0079 #size-cells = <1>;
0080
0081 partition@0 {
0082 label = "u-boot";
0083 reg = <0x0000000 0x200000>; /* 2MiB */
0084 read-only;
0085 };
0086
0087 partition@100000 {
0088 label = "u_env";
0089 reg = <0x200000 0x40000>; /* 256KiB */
0090 };
0091
0092 partition@140000 {
0093 label = "s_env";
0094 reg = <0x240000 0x40000>; /* 256KiB */
0095 };
0096
0097 partition@900000 {
0098 label = "devinfo";
0099 reg = <0x900000 0x100000>; /* 1MiB */
0100 read-only;
0101 };
0102
0103 /* kernel1 overlaps with rootfs1 by design */
0104 partition@a00000 {
0105 label = "kernel1";
0106 reg = <0xa00000 0x2800000>; /* 40MiB */
0107 };
0108
0109 partition@1000000 {
0110 label = "rootfs1";
0111 reg = <0x1000000 0x2200000>; /* 34MiB */
0112 };
0113
0114 /* kernel2 overlaps with rootfs2 by design */
0115 partition@3200000 {
0116 label = "kernel2";
0117 reg = <0x3200000 0x2800000>; /* 40MiB */
0118 };
0119
0120 partition@3800000 {
0121 label = "rootfs2";
0122 reg = <0x3800000 0x2200000>; /* 34MiB */
0123 };
0124
0125 /*
0126 * 38MiB, last MiB is for the BBT, not writable
0127 */
0128 partition@5a00000 {
0129 label = "syscfg";
0130 reg = <0x5a00000 0x2600000>;
0131 };
0132
0133 /*
0134 * Unused area between "s_env" and "devinfo".
0135 * Moved here because otherwise the renumbered
0136 * partitions would break the bootloader
0137 * supplied bootargs
0138 */
0139 partition@180000 {
0140 label = "unused_area";
0141 reg = <0x280000 0x680000>; /* 6.5MiB */
0142 };
0143 };
0144 };