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