xref: /freebsd-src/sys/contrib/device-tree/src/arm/broadcom/bcm4708-netgear-r6250.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot/*
2f126890aSEmmanuel Vadot * Broadcom BCM470X / BCM5301X arm platform code.
3f126890aSEmmanuel Vadot * DTS for Netgear R6250 V1
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
6f126890aSEmmanuel Vadot *
7f126890aSEmmanuel Vadot * Licensed under the GNU/GPL. See COPYING for details.
8f126890aSEmmanuel Vadot */
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/dts-v1/;
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot#include "bcm4708.dtsi"
13f126890aSEmmanuel Vadot#include "bcm5301x-nand-cs0-bch8.dtsi"
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot/ {
16f126890aSEmmanuel Vadot	compatible = "netgear,r6250-v1", "brcm,bcm4708";
17f126890aSEmmanuel Vadot	model = "Netgear R6250 V1 (BCM4708)";
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	chosen {
20f126890aSEmmanuel Vadot		bootargs = "console=ttyS0,115200 earlycon";
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	memory@0 {
24f126890aSEmmanuel Vadot		device_type = "memory";
25f126890aSEmmanuel Vadot		reg = <0x00000000 0x08000000>,
26f126890aSEmmanuel Vadot		      <0x88000000 0x08000000>;
27f126890aSEmmanuel Vadot	};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot	leds {
30f126890aSEmmanuel Vadot		compatible = "gpio-leds";
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot		led-logo {
33f126890aSEmmanuel Vadot			label = "bcm53xx:white:logo";
34f126890aSEmmanuel Vadot			gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
35f126890aSEmmanuel Vadot			linux,default-trigger = "default-on";
36f126890aSEmmanuel Vadot		};
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot		led-power0 {
39f126890aSEmmanuel Vadot			label = "bcm53xx:green:power";
40f126890aSEmmanuel Vadot			gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
41f126890aSEmmanuel Vadot			linux,default-trigger = "default-on";
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot		led-power1 {
45f126890aSEmmanuel Vadot			label = "bcm53xx:amber:power";
46f126890aSEmmanuel Vadot			gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
47f126890aSEmmanuel Vadot		};
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot		led-usb {
50f126890aSEmmanuel Vadot			label = "bcm53xx:blue:usb";
51f126890aSEmmanuel Vadot			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
52f126890aSEmmanuel Vadot			trigger-sources = <&ohci_port1>, <&ehci_port1>,
53f126890aSEmmanuel Vadot					  <&xhci_port1>;
54f126890aSEmmanuel Vadot			linux,default-trigger = "usbport";
55f126890aSEmmanuel Vadot		};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot		led-wireless {
58f126890aSEmmanuel Vadot			label = "bcm53xx:blue:wireless";
59f126890aSEmmanuel Vadot			gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
60f126890aSEmmanuel Vadot		};
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot	gpio-keys {
64f126890aSEmmanuel Vadot		compatible = "gpio-keys";
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		button-wps {
67f126890aSEmmanuel Vadot			label = "WPS";
68f126890aSEmmanuel Vadot			linux,code = <KEY_WPS_BUTTON>;
69f126890aSEmmanuel Vadot			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot		button-rfkill {
73f126890aSEmmanuel Vadot			label = "WiFi";
74f126890aSEmmanuel Vadot			linux,code = <KEY_RFKILL>;
75f126890aSEmmanuel Vadot			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
76f126890aSEmmanuel Vadot		};
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot		button-restart {
79f126890aSEmmanuel Vadot			label = "Reset";
80f126890aSEmmanuel Vadot			linux,code = <KEY_RESTART>;
81f126890aSEmmanuel Vadot			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
82f126890aSEmmanuel Vadot		};
83f126890aSEmmanuel Vadot	};
84f126890aSEmmanuel Vadot};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot&usb3 {
87f126890aSEmmanuel Vadot	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
88f126890aSEmmanuel Vadot};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot&spi_nor {
91f126890aSEmmanuel Vadot	status = "okay";
92f126890aSEmmanuel Vadot};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot&usb3_phy {
95f126890aSEmmanuel Vadot	status = "okay";
96f126890aSEmmanuel Vadot};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot&srab {
99f126890aSEmmanuel Vadot	status = "okay";
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot	ports {
102f126890aSEmmanuel Vadot		port@0 {
103f126890aSEmmanuel Vadot			label = "lan4";
104f126890aSEmmanuel Vadot		};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot		port@1 {
107f126890aSEmmanuel Vadot			label = "lan3";
108f126890aSEmmanuel Vadot		};
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot		port@2 {
111f126890aSEmmanuel Vadot			label = "lan2";
112f126890aSEmmanuel Vadot		};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot		port@3 {
115f126890aSEmmanuel Vadot			label = "lan1";
116f126890aSEmmanuel Vadot		};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot		port@4 {
119f126890aSEmmanuel Vadot			label = "wan";
120f126890aSEmmanuel Vadot		};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot		port@5 {
123f126890aSEmmanuel Vadot			label = "cpu";
124f126890aSEmmanuel Vadot		};
125*84943d6fSEmmanuel Vadot
126*84943d6fSEmmanuel Vadot		port@7 {
127*84943d6fSEmmanuel Vadot			status = "disabled";
128*84943d6fSEmmanuel Vadot		};
129*84943d6fSEmmanuel Vadot
130*84943d6fSEmmanuel Vadot		port@8 {
131*84943d6fSEmmanuel Vadot			status = "disabled";
132*84943d6fSEmmanuel Vadot		};
133f126890aSEmmanuel Vadot	};
134f126890aSEmmanuel Vadot};
135