| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 |
/* |
| 3 |
* Copyright 2018 Luxul Inc. |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
|
| 8 |
#include "bcm47094.dtsi" |
| 9 |
|
| 10 |
/ { |
| 11 |
compatible = "luxul,xap-1610-v1", "brcm,bcm47094", "brcm,bcm4708"; |
| 12 |
model = "Luxul XAP-1610 V1"; |
| 13 |
|
| 14 |
chosen { |
| 15 |
bootargs = "earlycon"; |
| 16 |
}; |
| 17 |
|
| 18 |
memory@0 { |
| 19 |
device_type = "memory"; |
| 20 |
reg = <0x00000000 0x08000000>; |
| 21 |
}; |
| 22 |
|
| 23 |
nvram@1eff0000 { |
| 24 |
compatible = "brcm,nvram"; |
| 25 |
reg = <0x1eff0000 0x10000>; |
| 26 |
|
| 27 |
et0macaddr: et0macaddr { |
| 28 |
}; |
| 29 |
}; |
| 30 |
|
| 31 |
leds { |
| 32 |
compatible = "gpio-leds"; |
| 33 |
|
| 34 |
led-status { |
| 35 |
label = "bcm53xx:green:status"; |
| 36 |
gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; |
| 37 |
linux,default-trigger = "timer"; |
| 38 |
}; |
| 39 |
|
| 40 |
led-2ghz { |
| 41 |
label = "bcm53xx:blue:2ghz"; |
| 42 |
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; |
| 43 |
}; |
| 44 |
|
| 45 |
led-5ghz { |
| 46 |
label = "bcm53xx:blue:5ghz"; |
| 47 |
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; |
| 48 |
}; |
| 49 |
}; |
| 50 |
|
| 51 |
gpio-keys { |
| 52 |
compatible = "gpio-keys"; |
| 53 |
|
| 54 |
button-restart { |
| 55 |
label = "Reset"; |
| 56 |
linux,code = <KEY_RESTART>; |
| 57 |
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; |
| 58 |
}; |
| 59 |
}; |
| 60 |
}; |
| 61 |
|
| 62 |
&gmac0 { |
| 63 |
nvmem-cells = <&et0macaddr>; |
| 64 |
nvmem-cell-names = "mac-address"; |
| 65 |
}; |
| 66 |
|
| 67 |
|
| 68 |
&pcie0 { |
| 69 |
#address-cells = <3>; |
| 70 |
#size-cells = <2>; |
| 71 |
|
| 72 |
bridge@0,0 { |
| 73 |
reg = <0x0000 0 0 0 0>; |
| 74 |
|
| 75 |
#address-cells = <3>; |
| 76 |
#size-cells = <2>; |
| 77 |
|
| 78 |
wifi@0,0 { |
| 79 |
compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; |
| 80 |
reg = <0x0000 0 0 0 0>; |
| 81 |
brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825"; |
| 82 |
}; |
| 83 |
}; |
| 84 |
}; |
| 85 |
|
| 86 |
&pcie1 { |
| 87 |
#address-cells = <3>; |
| 88 |
#size-cells = <2>; |
| 89 |
|
| 90 |
bridge@0,0 { |
| 91 |
reg = <0x0000 0 0 0 0>; |
| 92 |
|
| 93 |
#address-cells = <3>; |
| 94 |
#size-cells = <2>; |
| 95 |
|
| 96 |
wifi@0,0 { |
| 97 |
compatible = "brcm,bcm4366-fmac", "brcm,bcm4329-fmac"; |
| 98 |
reg = <0x0000 0 0 0 0>; |
| 99 |
brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825"; |
| 100 |
}; |
| 101 |
}; |
| 102 |
}; |
| 103 |
|
| 104 |
&spi_nor { |
| 105 |
status = "okay"; |
| 106 |
}; |
| 107 |
|
| 108 |
&srab { |
| 109 |
status = "okay"; |
| 110 |
|
| 111 |
ports { |
| 112 |
port@0 { |
| 113 |
label = "poe"; |
| 114 |
}; |
| 115 |
|
| 116 |
port@1 { |
| 117 |
label = "lan"; |
| 118 |
}; |
| 119 |
|
| 120 |
port@5 { |
| 121 |
label = "cpu"; |
| 122 |
}; |
| 123 |
|
| 124 |
port@7 { |
| 125 |
status = "disabled"; |
| 126 |
}; |
| 127 |
|
| 128 |
port@8 { |
| 129 |
status = "disabled"; |
| 130 |
}; |
| 131 |
}; |
| 132 |
}; |