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