1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
4 * Copyright (C) 2018 Rene Kjellerup <rk.katana.steel@gmail.com>
5 */
6
7/dts-v1/;
8
9#include "bcm4708.dtsi"
10#include "bcm5301x-nand-cs0-bch8.dtsi"
11
12/ {
13	compatible = "linksys,ea6500-v2", "brcm,bcm4708";
14	model = "Linksys EA6500 V2";
15
16	chosen {
17		bootargs = "console=ttyS0,115200";
18	};
19
20	memory@0 {
21		device_type = "memory";
22		reg = <0x00000000 0x08000000>,
23		      <0x88000000 0x08000000>;
24	};
25
26	gpio-keys {
27		compatible = "gpio-keys";
28
29		button-wps {
30			label = "WPS";
31			linux,code = <KEY_WPS_BUTTON>;
32			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
33		};
34
35		button-restart {
36			label = "Reset";
37			linux,code = <KEY_RESTART>;
38			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
39		};
40	};
41};
42
43&usb3_phy {
44	status = "okay";
45};
46