2014-02-04 07:01:45 +08:00
|
|
|
/*
|
|
|
|
* Broadcom BCM470X / BCM5301X arm platform code.
|
|
|
|
* DTS for Netgear R6250 V1
|
|
|
|
*
|
|
|
|
* Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
|
|
|
|
*
|
|
|
|
* Licensed under the GNU/GPL. See COPYING for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "bcm4708.dtsi"
|
2015-05-30 05:39:47 +08:00
|
|
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
2014-02-04 07:01:45 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "netgear,r6250v1", "brcm,bcm4708";
|
|
|
|
model = "Netgear R6250 V1 (BCM4708)";
|
|
|
|
|
|
|
|
chosen {
|
2016-04-07 00:49:55 +08:00
|
|
|
bootargs = "console=ttyS0,115200 earlycon";
|
2014-02-04 07:01:45 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
2016-12-07 15:56:54 +08:00
|
|
|
reg = <0x00000000 0x08000000
|
|
|
|
0x88000000 0x08000000>;
|
2014-02-04 07:01:45 +08:00
|
|
|
};
|
|
|
|
|
2014-10-01 21:45:29 +08:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
logo {
|
|
|
|
label = "bcm53xx:white:logo";
|
|
|
|
gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
linux,default-trigger = "default-on";
|
|
|
|
};
|
|
|
|
|
|
|
|
power0 {
|
|
|
|
label = "bcm53xx:green:power";
|
|
|
|
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
|
2015-02-20 18:22:05 +08:00
|
|
|
linux,default-trigger = "default-on";
|
2014-10-01 21:45:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
power1 {
|
|
|
|
label = "bcm53xx:amber:power";
|
|
|
|
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb {
|
|
|
|
label = "bcm53xx:blue:usb";
|
|
|
|
gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
|
2017-08-02 12:40:41 +08:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>,
|
|
|
|
<&xhci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2014-10-01 21:45:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
wireless {
|
|
|
|
label = "bcm53xx:blue:wireless";
|
|
|
|
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2014-12-01 01:28:29 +08:00
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
wps {
|
|
|
|
label = "WPS";
|
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
|
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rfkill {
|
|
|
|
label = "WiFi";
|
|
|
|
linux,code = <KEY_RFKILL>;
|
|
|
|
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
restart {
|
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2014-02-04 07:01:45 +08:00
|
|
|
};
|
2015-06-29 13:22:16 +08:00
|
|
|
|
2016-03-23 23:52:47 +08:00
|
|
|
&usb3 {
|
|
|
|
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
2016-04-27 15:05:03 +08:00
|
|
|
|
|
|
|
&spi_nor {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2018-04-10 06:31:53 +08:00
|
|
|
|
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|