1 // SPDX-License-Identifier: GPL-2.0-or-later O 2 /* 3 * Copyright 2018 Luxul Inc. 4 */ 5 6 /dts-v1/; 7 8 #include "bcm47094.dtsi" 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 10 11 / { 12 compatible = "luxul,xwr-3150-v1", "brc 13 model = "Luxul XWR-3150 V1"; 14 15 chosen { 16 bootargs = "earlycon"; 17 }; 18 19 memory@0 { 20 device_type = "memory"; 21 reg = <0x00000000 0x08000000>, 22 <0x88000000 0x18000000>; 23 }; 24 25 nvram@1eff0000 { 26 compatible = "brcm,nvram"; 27 reg = <0x1eff0000 0x10000>; 28 29 et0macaddr: et0macaddr { 30 #nvmem-cell-cells = <1 31 }; 32 }; 33 34 leds { 35 compatible = "gpio-leds"; 36 37 led-power { 38 label = "bcm53xx:green 39 gpios = <&chipcommon 0 40 linux,default-trigger 41 }; 42 43 led-usb3 { 44 label = "bcm53xx:green 45 gpios = <&chipcommon 8 46 trigger-sources = <&oh 47 <&xh 48 linux,default-trigger 49 }; 50 51 led-status { 52 label = "bcm53xx:green 53 gpios = <&chipcommon 1 54 linux,default-trigger 55 }; 56 57 led-2ghz { 58 label = "bcm53xx:green 59 gpios = <&chipcommon 1 60 }; 61 62 led-5ghz { 63 label = "bcm53xx:green 64 gpios = <&chipcommon 1 65 }; 66 }; 67 68 gpio-keys { 69 compatible = "gpio-keys"; 70 71 button-restart { 72 label = "Reset"; 73 linux,code = <KEY_REST 74 gpios = <&chipcommon 1 75 }; 76 }; 77 }; 78 79 &gmac0 { 80 nvmem-cells = <&et0macaddr 0>; 81 nvmem-cell-names = "mac-address"; 82 }; 83 84 &pcie0 { 85 #address-cells = <3>; 86 #size-cells = <2>; 87 88 bridge@0,0 { 89 reg = <0x0000 0 0 0 0>; 90 91 #address-cells = <3>; 92 #size-cells = <2>; 93 94 wifi@0,0 { 95 compatible = "brcm,bcm 96 reg = <0x0000 0 0 0 0> 97 brcm,ccode-map = "AU-A 98 }; 99 }; 100 }; 101 102 &pcie1 { 103 #address-cells = <3>; 104 #size-cells = <2>; 105 106 bridge@0,0 { 107 reg = <0x0000 0 0 0 0>; 108 109 #address-cells = <3>; 110 #size-cells = <2>; 111 112 wifi@0,0 { 113 compatible = "brcm,bcm 114 reg = <0x0000 0 0 0 0> 115 brcm,ccode-map = "AU-A 116 }; 117 }; 118 }; 119 120 &usb3 { 121 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE 122 }; 123 124 &usb3_phy { 125 status = "okay"; 126 }; 127 128 &spi_nor { 129 status = "okay"; 130 }; 131 132 &srab { 133 status = "okay"; 134 135 ports { 136 port@0 { 137 label = "lan4"; 138 }; 139 140 port@1 { 141 label = "lan3"; 142 }; 143 144 port@2 { 145 label = "lan2"; 146 }; 147 148 port@3 { 149 label = "lan1"; 150 }; 151 152 port@4 { 153 label = "wan"; 154 nvmem-cells = <&et0mac 155 nvmem-cell-names = "ma 156 }; 157 158 port@5 { 159 label = "cpu"; 160 }; 161 162 port@7 { 163 status = "disabled"; 164 }; 165 166 port@8 { 167 status = "disabled"; 168 }; 169 }; 170 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.