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
33		button-wps {
34			label = "WPS";
35			linux,code = <KEY_WPS_BUTTON>;
36			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
37		};
38
39		button-restart {
40			label = "Reset";
41			linux,code = <KEY_RESTART>;
42			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
43		};
44	};
45};
46
47&usb3_phy {
48	status = "okay";
49};
50
51&srab {
52	status = "okay";
53
54	ports {
55		port@0 {
56			label = "lan1";
57		};
58
59		port@1 {
60			label = "lan2";
61		};
62
63		port@2 {
64			label = "lan3";
65		};
66
67		port@3 {
68			label = "lan4";
69		};
70
71		port@4 {
72			label = "wan";
73		};
74
75		port@5 {
76			status = "disabled";
77		};
78
79		port@7 {
80			status = "disabled";
81		};
82
83		port@8 {
84			label = "cpu";
85		};
86	};
87};
88