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 2016 Luxul Inc. 3 * Copyright 2016 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-bch4.dtsi" 9 #include "bcm5301x-nand-cs0-bch4.dtsi" 10 10 11 / { 11 / { 12 compatible = "luxul,xwr-3100-v1", "brc 12 compatible = "luxul,xwr-3100-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XWR-3100 V1"; 13 model = "Luxul XWR-3100 V1"; 14 14 15 chosen { 15 chosen { 16 bootargs = "console=ttyS0,1152 16 bootargs = "console=ttyS0,115200 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 0x08000000>; 22 <0x88000000 0x08000000>; 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-lan3 { 43 led-lan3 { 44 label = "bcm53xx:green 44 label = "bcm53xx:green:lan3"; 45 gpios = <&chipcommon 1 45 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 46 }; 46 }; 47 47 48 led-lan4 { 48 led-lan4 { 49 label = "bcm53xx:green 49 label = "bcm53xx:green:lan4"; 50 gpios = <&chipcommon 2 50 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 51 }; 51 }; 52 52 53 led-wan { 53 led-wan { 54 label = "bcm53xx:green 54 label = "bcm53xx:green:wan"; 55 gpios = <&chipcommon 3 55 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 56 }; 56 }; 57 57 58 led-lan1 { 58 led-lan1 { 59 label = "bcm53xx:green 59 label = "bcm53xx:green:lan1"; 60 gpios = <&chipcommon 4 60 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; 61 }; 61 }; 62 62 63 led-lan2 { 63 led-lan2 { 64 label = "bcm53xx:green 64 label = "bcm53xx:green:lan2"; 65 gpios = <&chipcommon 6 65 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 66 }; 66 }; 67 67 68 led-usb3 { 68 led-usb3 { 69 label = "bcm53xx:green 69 label = "bcm53xx:green:usb3"; 70 gpios = <&chipcommon 8 70 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 71 trigger-sources = <&oh 71 trigger-sources = <&ohci_port1>, <&ehci_port1>, 72 <&xh 72 <&xhci_port1>; 73 linux,default-trigger 73 linux,default-trigger = "usbport"; 74 }; 74 }; 75 75 76 led-status { 76 led-status { 77 label = "bcm53xx:green 77 label = "bcm53xx:green:status"; 78 gpios = <&chipcommon 1 78 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 79 linux,default-trigger 79 linux,default-trigger = "timer"; 80 }; 80 }; 81 81 82 led-2ghz { 82 led-2ghz { 83 label = "bcm53xx:green 83 label = "bcm53xx:green:2ghz"; 84 gpios = <&chipcommon 1 84 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 85 }; 85 }; 86 86 87 led-5ghz { 87 led-5ghz { 88 label = "bcm53xx:green 88 label = "bcm53xx:green:5ghz"; 89 gpios = <&chipcommon 1 89 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 90 }; 90 }; 91 }; 91 }; 92 92 93 gpio-keys { 93 gpio-keys { 94 compatible = "gpio-keys"; 94 compatible = "gpio-keys"; 95 95 96 button-restart { 96 button-restart { 97 label = "Reset"; 97 label = "Reset"; 98 linux,code = <KEY_REST 98 linux,code = <KEY_RESTART>; 99 gpios = <&chipcommon 1 99 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 100 }; 100 }; 101 }; 101 }; 102 }; 102 }; 103 103 104 &usb3 { 104 &usb3 { 105 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE 105 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 106 }; 106 }; 107 107 108 &gmac0 { 108 &gmac0 { 109 nvmem-cells = <&et0macaddr 0>; 109 nvmem-cells = <&et0macaddr 0>; 110 nvmem-cell-names = "mac-address"; 110 nvmem-cell-names = "mac-address"; 111 }; 111 }; 112 112 113 &spi_nor { 113 &spi_nor { 114 status = "okay"; 114 status = "okay"; 115 }; 115 }; 116 116 117 &usb3_phy { 117 &usb3_phy { 118 status = "okay"; 118 status = "okay"; 119 }; 119 }; 120 120 121 &srab { 121 &srab { 122 status = "okay"; 122 status = "okay"; 123 123 124 ports { 124 ports { 125 port@0 { 125 port@0 { 126 label = "lan4"; 126 label = "lan4"; 127 }; 127 }; 128 128 129 port@1 { 129 port@1 { 130 label = "lan3"; 130 label = "lan3"; 131 }; 131 }; 132 132 133 port@2 { 133 port@2 { 134 label = "lan2"; 134 label = "lan2"; 135 }; 135 }; 136 136 137 port@3 { 137 port@3 { 138 label = "lan1"; 138 label = "lan1"; 139 }; 139 }; 140 140 141 port@4 { 141 port@4 { 142 label = "wan"; 142 label = "wan"; 143 nvmem-cells = <&et0mac 143 nvmem-cells = <&et0macaddr 5>; 144 nvmem-cell-names = "ma 144 nvmem-cell-names = "mac-address"; 145 }; 145 }; 146 146 147 port@5 { 147 port@5 { 148 label = "cpu"; 148 label = "cpu"; 149 }; 149 }; 150 150 151 port@7 { 151 port@7 { 152 status = "disabled"; 152 status = "disabled"; 153 }; 153 }; 154 154 155 port@8 { 155 port@8 { 156 status = "disabled"; 156 status = "disabled"; 157 }; 157 }; 158 }; 158 }; 159 }; 159 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.