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