]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
Merge remote-tracking branch 'mkp-scsi/fixes' into fixes
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / bcm47094-dlink-dir-885l.dts
1 /*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for D-Link DIR-885L
4 *
5 * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
6 *
7 * Licensed under the GNU/GPL. See COPYING for details.
8 */
9
10 /dts-v1/;
11
12 #include "bcm47094.dtsi"
13 #include "bcm5301x-nand-cs0-bch1.dtsi"
14
15 / {
16 compatible = "dlink,dir-885l", "brcm,bcm47094", "brcm,bcm4708";
17 model = "D-Link DIR-885L";
18
19 chosen {
20 bootargs = "console=ttyS0,115200 earlycon";
21 };
22
23 memory {
24 reg = <0x00000000 0x08000000
25 0x88000000 0x08000000>;
26 };
27
28 nand: nand@18028000 {
29 nandcs@0 {
30 partition@0 {
31 label = "firmware";
32 reg = <0x00000000 0x08000000>;
33 };
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 power-white {
41 label = "bcm53xx:white:power";
42 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "default-on";
44 };
45
46 wan-white {
47 label = "bcm53xx:white:wan";
48 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "default-off";
50 };
51
52 power-amber {
53 label = "bcm53xx:amber:power";
54 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "default-off";
56 };
57
58 wan-amber {
59 label = "bcm53xx:amber:wan";
60 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "default-off";
62 };
63
64 usb3-white {
65 label = "bcm53xx:white:usb3";
66 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
67 linux,default-trigger = "default-off";
68 };
69
70 2ghz {
71 label = "bcm53xx:white:2ghz";
72 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
73 linux,default-trigger = "default-off";
74 };
75
76 5ghz {
77 label = "bcm53xx:white:5ghz";
78 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "default-off";
80 };
81 };
82
83 gpio-keys {
84 compatible = "gpio-keys";
85 #address-cells = <1>;
86 #size-cells = <0>;
87
88 wps {
89 label = "WPS";
90 linux,code = <KEY_WPS_BUTTON>;
91 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
92 };
93
94 /* Switch: router / extender */
95 extender {
96 label = "Extender";
97 linux,code = <BTN_0>;
98 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
99 };
100
101 restart {
102 label = "Reset";
103 linux,code = <KEY_RESTART>;
104 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
105 };
106 };
107 };
108
109 &usb3 {
110 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
111 };
112
113 &spi_nor {
114 status = "okay";
115 };