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 "bcm4709.dtsi"
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
10 
11 / {
12 	compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
13 	model = "Linksys EA9200";
14 
15 	chosen {
16 		bootargs = "console=ttyS0,115200";
17 	};
18 
19 	memory@0 {
20 		device_type = "memory";
21 		reg = <0x00000000 0x08000000>,
22 		      <0x88000000 0x08000000>;
23 	};
24 
25 	nvram@1c080000 {
26 		compatible = "brcm,nvram";
27 		reg = <0x1c080000 0x180000>;
28 	};
29 
30 	gpio-keys {
31 		compatible = "gpio-keys";
32 		#address-cells = <1>;
33 		#size-cells = <0>;
34 
35 		wps {
36 			label = "WPS";
37 			linux,code = <KEY_WPS_BUTTON>;
38 			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
39 		};
40 
41 		restart {
42 			label = "Reset";
43 			linux,code = <KEY_RESTART>;
44 			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
45 		};
46 	};
47 };
48 
49 &usb3_phy {
50 	status = "okay";
51 };
52