]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/bcm47189-tenda-ac9.dts
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[karo-tx-linux.git] / arch / arm / boot / dts / bcm47189-tenda-ac9.dts
1 /*
2  * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
3  *
4  * Licensed under the ISC license.
5  */
6
7 /dts-v1/;
8
9 #include "bcm53573.dtsi"
10
11 / {
12         compatible = "tenda,ac9", "brcm,bcm47189", "brcm,bcm53573";
13         model = "Tenda AC9";
14
15         chosen {
16                 bootargs = "console=ttyS0,115200 earlycon";
17         };
18
19         memory {
20                 reg = <0x00000000 0x08000000>;
21         };
22
23         leds {
24                 compatible = "gpio-leds";
25
26                 usb {
27                         label = "bcm53xx:blue:usb";
28                         gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
29                 };
30
31                 wps {
32                         label = "bcm53xx:blue:wps";
33                         gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
34                 };
35
36                 5ghz {
37                         label = "bcm53xx:blue:5ghz";
38                         gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
39                 };
40
41                 system {
42                         label = "bcm53xx:blue:system";
43                         gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
44                         linux,default-trigger = "timer";
45                 };
46         };
47
48         pcie0_leds {
49                 compatible = "gpio-leds";
50
51                 2ghz {
52                         label = "bcm53xx:blue:2ghz";
53                         gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
54                 };
55         };
56
57         gpio-keys {
58                 compatible = "gpio-keys";
59                 #address-cells = <1>;
60                 #size-cells = <0>;
61
62                 rfkill {
63                         label = "WiFi";
64                         linux,code = <KEY_RFKILL>;
65                         gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
66                 };
67
68                 restart {
69                         label = "Reset";
70                         linux,code = <KEY_RESTART>;
71                         gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
72                 };
73
74                 wps {
75                         label = "WPS";
76                         linux,code = <KEY_WPS_BUTTON>;
77                         gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
78                 };
79         };
80 };
81
82 &pcie0 {
83         ranges = <0x00000000 0 0 0 0 0x00100000>;
84         #address-cells = <3>;
85         #size-cells = <2>;
86
87         bridge@0,0,0 {
88                 reg = <0x0000 0 0 0 0>;
89                 ranges = <0x00000000 0 0 0 0 0 0 0x00100000>;
90                 #address-cells = <3>;
91                 #size-cells = <2>;
92
93                 wifi@0,1,0 {
94                         reg = <0x0000 0 0 0 0>;
95                         ranges = <0x00000000 0 0 0 0x00100000>;
96                         #address-cells = <1>;
97                         #size-cells = <1>;
98
99                         pcie0_chipcommon: chipcommon@0 {
100                                 reg = <0 0x1000>;
101
102                                 gpio-controller;
103                                 #gpio-cells = <2>;
104                         };
105                 };
106         };
107 };