1 // SPDX-License-Identifier: GPL-2.0-or-later O 2 /* 3 * Broadcom BCM470X / BCM5301X ARM platform co 4 * DTS for D-Link DIR-885L 5 * 6 * Copyright (C) 2016 Rafał Miłecki <zajec5@g 7 */ 8 9 /dts-v1/; 10 11 #include "bcm47094.dtsi" 12 #include "bcm5301x-nand-cs0-bch1.dtsi" 13 14 / { 15 compatible = "dlink,dir-885l", "brcm,b 16 model = "D-Link DIR-885L"; 17 18 chosen { 19 bootargs = "console=ttyS0,1152 20 }; 21 22 memory@0 { 23 device_type = "memory"; 24 reg = <0x00000000 0x08000000>, 25 <0x88000000 0x08000000>; 26 }; 27 28 nvram@1e3f0000 { 29 compatible = "brcm,nvram"; 30 reg = <0x1e3f0000 0x10000>; 31 32 et2macaddr: et2macaddr { 33 #nvmem-cell-cells = <1 34 }; 35 }; 36 37 nand_controller: nand-controller@18028 38 nand@0 { 39 partitions { 40 compatible = " 41 #address-cells 42 #size-cells = 43 44 partition@0 { 45 compat 46 label 47 reg = 48 }; 49 }; 50 }; 51 }; 52 53 leds { 54 compatible = "gpio-leds"; 55 56 led-power-white { 57 label = "bcm53xx:white 58 gpios = <&chipcommon 0 59 linux,default-trigger 60 }; 61 62 led-wan-white { 63 label = "bcm53xx:white 64 gpios = <&chipcommon 1 65 }; 66 67 led-power-amber { 68 label = "bcm53xx:amber 69 gpios = <&chipcommon 2 70 }; 71 72 led-wan-amber { 73 label = "bcm53xx:amber 74 gpios = <&chipcommon 3 75 }; 76 77 led-usb3-white { 78 label = "bcm53xx:white 79 gpios = <&chipcommon 8 80 trigger-sources = <&oh 81 <&xh 82 linux,default-trigger 83 }; 84 85 led-2ghz { 86 label = "bcm53xx:white 87 gpios = <&chipcommon 1 88 }; 89 90 led-5ghz { 91 label = "bcm53xx:white 92 gpios = <&chipcommon 1 93 }; 94 }; 95 96 gpio-keys { 97 compatible = "gpio-keys"; 98 99 button-wps { 100 label = "WPS"; 101 linux,code = <KEY_WPS_ 102 gpios = <&chipcommon 7 103 }; 104 105 /* Switch: router / extender * 106 button-extender { 107 label = "Extender"; 108 linux,code = <BTN_0>; 109 gpios = <&chipcommon 1 110 }; 111 112 button-restart { 113 label = "Reset"; 114 linux,code = <KEY_REST 115 gpios = <&chipcommon 1 116 }; 117 }; 118 }; 119 120 &usb3 { 121 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE 122 }; 123 124 &gmac0 { 125 nvmem-cells = <&et2macaddr 0>; 126 nvmem-cell-names = "mac-address"; 127 }; 128 129 &spi_nor { 130 status = "okay"; 131 }; 132 133 &usb3_phy { 134 status = "okay"; 135 }; 136 137 &srab { 138 status = "okay"; 139 140 ports { 141 port@0 { 142 label = "lan4"; 143 }; 144 145 port@1 { 146 label = "lan3"; 147 }; 148 149 port@2 { 150 label = "lan2"; 151 }; 152 153 port@3 { 154 label = "lan1"; 155 }; 156 157 port@4 { 158 label = "wan"; 159 nvmem-cells = <&et2mac 160 nvmem-cell-names = "ma 161 }; 162 163 port@5 { 164 status = "disabled"; 165 }; 166 167 port@7 { 168 status = "disabled"; 169 }; 170 171 port@8 { 172 label = "cpu"; 173 }; 174 }; 175 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.