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 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
30 compatible = "fixed-partitions";
36 reg = <0x00000000 0x08000000>;
43 compatible = "gpio-leds";
46 label = "bcm53xx:white:power";
47 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "default-on";
52 label = "bcm53xx:white:wan";
53 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
57 label = "bcm53xx:amber:power";
58 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
62 label = "bcm53xx:amber:wan";
63 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
67 label = "bcm53xx:white:usb3";
68 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
69 trigger-sources = <&ohci_port1>, <&ehci_port1>,
71 linux,default-trigger = "usbport";
75 label = "bcm53xx:white:2ghz";
76 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
80 label = "bcm53xx:white:5ghz";
81 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
86 compatible = "gpio-keys";
92 linux,code = <KEY_WPS_BUTTON>;
93 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
96 /* Switch: router / extender */
100 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
105 linux,code = <KEY_RESTART>;
106 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
112 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;