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