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