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 { << 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 { 84 &usb3 { 121 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE 85 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 122 }; 86 }; 123 87 124 &usb3_phy { 88 &usb3_phy { 125 status = "okay"; 89 status = "okay"; 126 }; 90 }; 127 91 128 &spi_nor { 92 &spi_nor { 129 status = "okay"; 93 status = "okay"; 130 }; 94 }; 131 95 132 &srab { 96 &srab { 133 status = "okay"; 97 status = "okay"; 134 98 135 ports { 99 ports { 136 port@0 { 100 port@0 { 137 label = "lan4"; 101 label = "lan4"; 138 }; 102 }; 139 103 140 port@1 { 104 port@1 { 141 label = "lan3"; 105 label = "lan3"; 142 }; 106 }; 143 107 144 port@2 { 108 port@2 { 145 label = "lan2"; 109 label = "lan2"; 146 }; 110 }; 147 111 148 port@3 { 112 port@3 { 149 label = "lan1"; 113 label = "lan1"; 150 }; 114 }; 151 115 152 port@4 { 116 port@4 { 153 label = "wan"; 117 label = "wan"; 154 nvmem-cells = <&et0mac 118 nvmem-cells = <&et0macaddr 5>; 155 nvmem-cell-names = "ma 119 nvmem-cell-names = "mac-address"; 156 }; 120 }; 157 121 158 port@5 { 122 port@5 { 159 label = "cpu"; 123 label = "cpu"; 160 }; 124 }; 161 125 162 port@7 { 126 port@7 { 163 status = "disabled"; 127 status = "disabled"; 164 }; 128 }; 165 129 166 port@8 { 130 port@8 { 167 status = "disabled"; 131 status = "disabled"; 168 }; 132 }; 169 }; 133 }; 170 }; 134 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.