Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / broadcom / bcm4908 / bcm4908-asus-gt-ac5300.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "bcm4908.dtsi"
7
8 / {
9         compatible = "asus,gt-ac5300", "brcm,bcm4908";
10         model = "Asus GT-AC5300";
11
12         memory@0 {
13                 device_type = "memory";
14                 reg = <0x00 0x00 0x00 0x40000000>;
15         };
16
17         gpio-keys-polled {
18                 compatible = "gpio-keys-polled";
19                 poll-interval = <100>;
20
21                 wifi {
22                         label = "WiFi";
23                         linux,code = <KEY_RFKILL>;
24                         gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
25                 };
26
27                 wps {
28                         label = "WPS";
29                         linux,code = <KEY_WPS_BUTTON>;
30                         gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
31                 };
32
33                 restart {
34                         label = "Reset";
35                         linux,code = <KEY_RESTART>;
36                         gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
37                 };
38
39                 brightness {
40                         label = "LEDs";
41                         linux,code = <KEY_BRIGHTNESS_ZERO>;
42                         gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
43                 };
44         };
45 };
46
47 &nandcs {
48         nand-ecc-strength = <4>;
49         nand-ecc-step-size = <512>;
50         nand-on-flash-bbt;
51         brcm,nand-has-wp;
52
53         #address-cells = <1>;
54         #size-cells = <0>;
55
56         partitions {
57                 compatible = "fixed-partitions";
58                 #address-cells = <1>;
59                 #size-cells = <1>;
60
61                 partition@0 {
62                         label = "cferom";
63                         reg = <0x0 0x100000>;
64                 };
65         };
66 };