1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 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", "brcm,bcm47081", "brcm,bcm4708"; 13 model = "Luxul XWR-1200 V1"; 14 15 chosen { 16 bootargs = "console=ttyS0,115200"; 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:power"; 38 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 39 linux,default-trigger = "default-on"; 40 }; 41 42 led-lan3 { 43 label = "bcm53xx:green:lan3"; 44 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 45 linux,default-trigger = "none"; 46 }; 47 48 led-lan4 { 49 label = "bcm53xx:green:lan4"; 50 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 51 linux,default-trigger = "none"; 52 }; 53 54 led-wan { 55 label = "bcm53xx:green:wan"; 56 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 57 linux,default-trigger = "none"; 58 }; 59 60 led-lan2 { 61 label = "bcm53xx:green:lan2"; 62 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 63 linux,default-trigger = "none"; 64 }; 65 66 led-usb { 67 label = "bcm53xx:green:usb"; 68 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 69 trigger-sources = <&ohci_port2>, <&ehci_port2>; 70 linux,default-trigger = "usbport"; 71 }; 72 73 led-status { 74 label = "bcm53xx:green:status"; 75 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; 76 linux,default-trigger = "timer"; 77 }; 78 79 led-2ghz { 80 label = "bcm53xx:green:2ghz"; 81 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; 82 linux,default-trigger = "none"; 83 }; 84 85 led-5ghz { 86 label = "bcm53xx:green:5ghz"; 87 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; 88 linux,default-trigger = "none"; 89 }; 90 91 led-lan1 { 92 label = "bcm53xx:green:lan1"; 93 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; 94 linux,default-trigger = "none"; 95 }; 96 }; 97 98 gpio-keys { 99 compatible = "gpio-keys"; 100 101 button-restart { 102 label = "Reset"; 103 linux,code = <KEY_RESTART>; 104 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 105 }; 106 }; 107 }; 108 109 &usb2 { 110 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; 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 = <&et0macaddr 5>; 145 nvmem-cell-names = "mac-address"; 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.