1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Broadcom BCM470X / BCM5301X ARM platform code.
4 * DTS for D-Link DIR-885L
6 * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
11 #include "bcm47094.dtsi"
12 #include "bcm5301x-nand-cs0-bch1.dtsi"
15 compatible = "dlink,dir-885l", "brcm,bcm47094", "brcm,bcm4708";
16 model = "D-Link DIR-885L";
19 bootargs = "console=ttyS0,115200 earlycon";
23 device_type = "memory";
24 reg = <0x00000000 0x08000000>,
25 <0x88000000 0x08000000>;
29 compatible = "brcm,nvram";
30 reg = <0x1e3f0000 0x10000>;
32 et2macaddr: et2macaddr {
33 #nvmem-cell-cells = <1>;
37 nand_controller: nand-controller@18028000 {
40 compatible = "fixed-partitions";
47 reg = <0x00000000 0x08000000>;
54 compatible = "gpio-leds";
57 label = "bcm53xx:white:power";
58 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "default-on";
63 label = "bcm53xx:white:wan";
64 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
68 label = "bcm53xx:amber:power";
69 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
73 label = "bcm53xx:amber:wan";
74 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
78 label = "bcm53xx:white:usb3";
79 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
80 trigger-sources = <&ohci_port1>, <&ehci_port1>,
82 linux,default-trigger = "usbport";
86 label = "bcm53xx:white:2ghz";
87 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
91 label = "bcm53xx:white:5ghz";
92 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
97 compatible = "gpio-keys";
101 linux,code = <KEY_WPS_BUTTON>;
102 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
105 /* Switch: router / extender */
108 linux,code = <BTN_0>;
109 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_RESTART>;
115 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
121 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
125 nvmem-cells = <&et2macaddr 0>;
126 nvmem-cell-names = "mac-address";
159 nvmem-cells = <&et2macaddr 3>;
160 nvmem-cell-names = "mac-address";