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