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	};
24
25	gpio-keys {
26		compatible = "gpio-keys";
27
28		button-wps {
29			label = "WPS";
30			linux,code = <KEY_WPS_BUTTON>;
31			gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
32		};
33
34		button-restart {
35			label = "Reset";
36			linux,code = <KEY_RESTART>;
37			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
38		};
39	};
40};
41
42&usb3_phy {
43	status = "okay";
44};
45