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