rtnetlink: check DO_SETLINK_NOTIFY correctly in do_setlink
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm47081-tplink-archer-c5-v2.dts
blob3ed8de42cb4877bb78f022efd470640b43cef18f
1 /*
2  * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
3  *
4  * Licensed under the ISC license.
5  */
7 /dts-v1/;
9 #include "bcm47081.dtsi"
11 / {
12         compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708";
13         model = "TP-LINK Archer C5 V2";
15         chosen {
16                 bootargs = "earlycon";
17         };
19         memory {
20                 reg = <0x00000000 0x08000000>;
21         };
23         leds {
24                 compatible = "gpio-leds";
26                 2ghz {
27                         label = "bcm53xx:green:2ghz";
28                         gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
29                 };
31                 lan {
32                         label = "bcm53xx:green:lan";
33                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
34                 };
36                 usb2-port1 {
37                         label = "bcm53xx:green:usb2-port1";
38                         gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
39                         trigger-sources = <&ohci_port1>, <&ehci_port1>;
40                         linux,default-trigger = "usbport";
41                 };
43                 power {
44                         label = "bcm53xx:green:power";
45                         gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
46                         linux,default-trigger = "default-on";
47                 };
49                 wan-green {
50                         label = "bcm53xx:green:wan";
51                         gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
52                 };
54                 wps {
55                         label = "bcm53xx:green:wps";
56                         gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
57                 };
59                 wan-amber {
60                         label = "bcm53xx:amber:wan";
61                         gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
62                 };
64                 5ghz {
65                         label = "bcm53xx:green:5ghz";
66                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
67                 };
69                 usb2-port2 {
70                         label = "bcm53xx:green:usb2-port2";
71                         gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
72                         trigger-sources = <&ohci_port2>, <&ehci_port2>;
73                         linux,default-trigger = "usbport";
74                 };
75         };
77         gpio-keys {
78                 compatible = "gpio-keys";
79                 #address-cells = <1>;
80                 #size-cells = <0>;
82                 rfkill {
83                         label = "WiFi";
84                         linux,code = <KEY_RFKILL>;
85                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
86                 };
88                 restart {
89                         label = "Reset";
90                         linux,code = <KEY_RESTART>;
91                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
92                 };
93         };
96 &spi_nor {
97         status = "okay";
100 &usb2 {
101         vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;