]>
Commit | Line | Data |
---|---|---|
9c281b5e | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
26343bda RM |
2 | /* |
3 | * Broadcom BCM470X / BCM5301X ARM platform code. | |
4 | * DTS for Asus RT-AC87U | |
5 | * | |
6 | * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com> | |
26343bda RM |
7 | */ |
8 | ||
9 | /dts-v1/; | |
10 | ||
fa87b008 | 11 | #include "bcm4709.dtsi" |
bb1d8fba | 12 | #include "bcm5301x-nand-cs0-bch8.dtsi" |
26343bda RM |
13 | |
14 | / { | |
15 | compatible = "asus,rt-ac87u", "brcm,bcm4709", "brcm,bcm4708"; | |
16 | model = "Asus RT-AC87U"; | |
17 | ||
18 | chosen { | |
19 | bootargs = "console=ttyS0,115200"; | |
20 | }; | |
21 | ||
22 | memory { | |
a252ccd3 RM |
23 | reg = <0x00000000 0x08000000 |
24 | 0x88000000 0x08000000>; | |
26343bda RM |
25 | }; |
26 | ||
27 | leds { | |
28 | compatible = "gpio-leds"; | |
29 | ||
30 | wps { | |
31 | label = "bcm53xx:blue:wps"; | |
32 | gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; | |
26343bda RM |
33 | }; |
34 | ||
35 | power { | |
36 | label = "bcm53xx:blue:power"; | |
37 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | |
38 | linux,default-trigger = "default-on"; | |
39 | }; | |
40 | ||
41 | wan { | |
42 | label = "bcm53xx:red:wan"; | |
43 | gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; | |
26343bda RM |
44 | }; |
45 | }; | |
46 | ||
47 | gpio-keys { | |
48 | compatible = "gpio-keys"; | |
49 | #address-cells = <1>; | |
50 | #size-cells = <0>; | |
51 | ||
52 | wps { | |
53 | label = "WPS"; | |
54 | linux,code = <KEY_WPS_BUTTON>; | |
55 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; | |
56 | }; | |
57 | ||
58 | restart { | |
59 | label = "Reset"; | |
60 | linux,code = <KEY_RESTART>; | |
61 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | |
62 | }; | |
63 | }; | |
64 | }; | |
37f6130e VU |
65 | |
66 | &usb3_phy { | |
67 | status = "okay"; | |
68 | }; | |
b0465fdf RM |
69 | |
70 | &nandcs { | |
71 | partitions { | |
72 | compatible = "fixed-partitions"; | |
73 | #address-cells = <1>; | |
74 | #size-cells = <1>; | |
75 | ||
76 | boot@0 { | |
77 | label = "boot"; | |
78 | reg = <0x00000000 0x00080000>; | |
79 | read-only; | |
80 | }; | |
81 | ||
82 | nvram@80000 { | |
83 | label = "nvram"; | |
84 | reg = <0x00080000 0x00180000>; | |
85 | }; | |
86 | ||
87 | firmware@200000 { | |
88 | label = "firmware"; | |
89 | reg = <0x00200000 0x07cc0000>; | |
90 | compatible = "brcm,trx"; | |
91 | }; | |
92 | ||
93 | asus@7ec0000 { | |
94 | label = "asus"; | |
95 | reg = <0x07ec0000 0x00140000>; | |
96 | read-only; | |
97 | }; | |
98 | }; | |
99 | }; |