xref: /freebsd-src/sys/contrib/device-tree/src/arm/broadcom/bcm4709-linksys-ea9200.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "bcm4709.dtsi"
9f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi"
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
13f126890aSEmmanuel Vadot	model = "Linksys EA9200";
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	chosen {
16f126890aSEmmanuel Vadot		bootargs = "console=ttyS0,115200";
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	memory@0 {
20f126890aSEmmanuel Vadot		device_type = "memory";
21f126890aSEmmanuel Vadot		reg = <0x00000000 0x08000000>,
22f126890aSEmmanuel Vadot		      <0x88000000 0x08000000>;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	nvram@1c080000 {
26f126890aSEmmanuel Vadot		compatible = "brcm,nvram";
27f126890aSEmmanuel Vadot		reg = <0x1c080000 0x180000>;
28f126890aSEmmanuel Vadot	};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot	gpio-keys {
31f126890aSEmmanuel Vadot		compatible = "gpio-keys";
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot		button-wps {
34f126890aSEmmanuel Vadot			label = "WPS";
35f126890aSEmmanuel Vadot			linux,code = <KEY_WPS_BUTTON>;
36f126890aSEmmanuel Vadot			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
37f126890aSEmmanuel Vadot		};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot		button-restart {
40f126890aSEmmanuel Vadot			label = "Reset";
41f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
42f126890aSEmmanuel Vadot			gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
43f126890aSEmmanuel Vadot		};
44f126890aSEmmanuel Vadot	};
45f126890aSEmmanuel Vadot};
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot&usb3_phy {
48f126890aSEmmanuel Vadot	status = "okay";
49f126890aSEmmanuel Vadot};
50*84943d6fSEmmanuel Vadot
51*84943d6fSEmmanuel Vadot&srab {
52*84943d6fSEmmanuel Vadot	status = "okay";
53*84943d6fSEmmanuel Vadot
54*84943d6fSEmmanuel Vadot	ports {
55*84943d6fSEmmanuel Vadot		port@0 {
56*84943d6fSEmmanuel Vadot			label = "lan1";
57*84943d6fSEmmanuel Vadot		};
58*84943d6fSEmmanuel Vadot
59*84943d6fSEmmanuel Vadot		port@1 {
60*84943d6fSEmmanuel Vadot			label = "lan2";
61*84943d6fSEmmanuel Vadot		};
62*84943d6fSEmmanuel Vadot
63*84943d6fSEmmanuel Vadot		port@2 {
64*84943d6fSEmmanuel Vadot			label = "lan3";
65*84943d6fSEmmanuel Vadot		};
66*84943d6fSEmmanuel Vadot
67*84943d6fSEmmanuel Vadot		port@3 {
68*84943d6fSEmmanuel Vadot			label = "lan4";
69*84943d6fSEmmanuel Vadot		};
70*84943d6fSEmmanuel Vadot
71*84943d6fSEmmanuel Vadot		port@4 {
72*84943d6fSEmmanuel Vadot			label = "wan";
73*84943d6fSEmmanuel Vadot		};
74*84943d6fSEmmanuel Vadot
75*84943d6fSEmmanuel Vadot		port@5 {
76*84943d6fSEmmanuel Vadot			status = "disabled";
77*84943d6fSEmmanuel Vadot		};
78*84943d6fSEmmanuel Vadot
79*84943d6fSEmmanuel Vadot		port@7 {
80*84943d6fSEmmanuel Vadot			status = "disabled";
81*84943d6fSEmmanuel Vadot		};
82*84943d6fSEmmanuel Vadot
83*84943d6fSEmmanuel Vadot		port@8 {
84*84943d6fSEmmanuel Vadot			label = "cpu";
85*84943d6fSEmmanuel Vadot		};
86*84943d6fSEmmanuel Vadot	};
87*84943d6fSEmmanuel Vadot};
88