0001 /*
0002 * Broadcom BCM470X / BCM5301X arm platform code.
0003 * DTS for Netgear R6250 V1
0004 *
0005 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
0006 *
0007 * Licensed under the GNU/GPL. See COPYING for details.
0008 */
0009
0010 /dts-v1/;
0011
0012 #include "bcm4708.dtsi"
0013 #include "bcm5301x-nand-cs0-bch8.dtsi"
0014
0015 / {
0016 compatible = "netgear,r6250v1", "brcm,bcm4708";
0017 model = "Netgear R6250 V1 (BCM4708)";
0018
0019 chosen {
0020 bootargs = "console=ttyS0,115200 earlycon";
0021 };
0022
0023 memory@0 {
0024 device_type = "memory";
0025 reg = <0x00000000 0x08000000>,
0026 <0x88000000 0x08000000>;
0027 };
0028
0029 leds {
0030 compatible = "gpio-leds";
0031
0032 logo {
0033 label = "bcm53xx:white:logo";
0034 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
0035 linux,default-trigger = "default-on";
0036 };
0037
0038 power0 {
0039 label = "bcm53xx:green:power";
0040 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
0041 linux,default-trigger = "default-on";
0042 };
0043
0044 power1 {
0045 label = "bcm53xx:amber:power";
0046 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
0047 };
0048
0049 usb {
0050 label = "bcm53xx:blue:usb";
0051 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
0052 trigger-sources = <&ohci_port1>, <&ehci_port1>,
0053 <&xhci_port1>;
0054 linux,default-trigger = "usbport";
0055 };
0056
0057 wireless {
0058 label = "bcm53xx:blue:wireless";
0059 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
0060 };
0061 };
0062
0063 gpio-keys {
0064 compatible = "gpio-keys";
0065
0066 button-wps {
0067 label = "WPS";
0068 linux,code = <KEY_WPS_BUTTON>;
0069 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
0070 };
0071
0072 button-rfkill {
0073 label = "WiFi";
0074 linux,code = <KEY_RFKILL>;
0075 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
0076 };
0077
0078 button-restart {
0079 label = "Reset";
0080 linux,code = <KEY_RESTART>;
0081 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
0082 };
0083 };
0084 };
0085
0086 &usb3 {
0087 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
0088 };
0089
0090 &spi_nor {
0091 status = "okay";
0092 };
0093
0094 &usb3_phy {
0095 status = "okay";
0096 };
0097
0098 &srab {
0099 status = "okay";
0100
0101 ports {
0102 port@0 {
0103 reg = <0>;
0104 label = "lan4";
0105 };
0106
0107 port@1 {
0108 reg = <1>;
0109 label = "lan3";
0110 };
0111
0112 port@2 {
0113 reg = <2>;
0114 label = "lan2";
0115 };
0116
0117 port@3 {
0118 reg = <3>;
0119 label = "lan1";
0120 };
0121
0122 port@4 {
0123 reg = <4>;
0124 label = "wan";
0125 };
0126
0127 port@5 {
0128 reg = <5>;
0129 label = "cpu";
0130 ethernet = <&gmac0>;
0131 };
0132 };
0133 };