2014-02-04 00:01:45 +01: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-29 23:39:47 +02:00
|
|
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
2014-02-04 00:01:45 +01:00
|
|
|
|
|
|
|
/ {
|
2023-05-20 13:26:01 +02:00
|
|
|
compatible = "netgear,r6250-v1", "brcm,bcm4708";
|
2014-02-04 00:01:45 +01:00
|
|
|
model = "Netgear R6250 V1 (BCM4708)";
|
|
|
|
|
|
|
|
chosen {
|
2016-04-06 18:49:55 +02:00
|
|
|
bootargs = "console=ttyS0,115200 earlycon";
|
2014-02-04 00:01:45 +01:00
|
|
|
};
|
|
|
|
|
ARM: dts: BCM5301X: Fix memory nodes names
Thix fixes:
arch/arm/boot/dts/bcm4708-netgear-r6250.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
arch/arm/boot/dts/bcm4709-linksys-ea9200.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
arch/arm/boot/dts/bcm4709-netgear-r7000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
arch/arm/boot/dts/bcm4709-netgear-r8000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
arch/arm/boot/dts/bcm53016-meraki-mr32.dt.yaml: /: memory: False schema does not allow {'reg': [[0, 134217728]], 'device_type': ['memory']}
arch/arm/boot/dts/bcm94708.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
arch/arm/boot/dts/bcm94709.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2021-08-19 08:57:02 +02:00
|
|
|
memory@0 {
|
2019-05-09 10:11:35 -07:00
|
|
|
device_type = "memory";
|
2021-03-09 13:55:00 +01:00
|
|
|
reg = <0x00000000 0x08000000>,
|
|
|
|
<0x88000000 0x08000000>;
|
2014-02-04 00:01:45 +01:00
|
|
|
};
|
|
|
|
|
2014-10-01 15:45:29 +02:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2022-11-25 15:41:27 +01:00
|
|
|
led-logo {
|
2014-10-01 15:45:29 +02:00
|
|
|
label = "bcm53xx:white:logo";
|
|
|
|
gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
linux,default-trigger = "default-on";
|
|
|
|
};
|
|
|
|
|
2022-11-25 15:41:27 +01:00
|
|
|
led-power0 {
|
2014-10-01 15:45:29 +02:00
|
|
|
label = "bcm53xx:green:power";
|
|
|
|
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
|
2015-02-20 11:22:05 +01:00
|
|
|
linux,default-trigger = "default-on";
|
2014-10-01 15:45:29 +02:00
|
|
|
};
|
|
|
|
|
2022-11-25 15:41:27 +01:00
|
|
|
led-power1 {
|
2014-10-01 15:45:29 +02:00
|
|
|
label = "bcm53xx:amber:power";
|
|
|
|
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
2022-11-25 15:41:27 +01:00
|
|
|
led-usb {
|
2014-10-01 15:45:29 +02:00
|
|
|
label = "bcm53xx:blue:usb";
|
|
|
|
gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
|
2017-08-02 06:40:41 +02:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>,
|
|
|
|
<&xhci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2014-10-01 15:45:29 +02:00
|
|
|
};
|
|
|
|
|
2022-11-25 15:41:27 +01:00
|
|
|
led-wireless {
|
2014-10-01 15:45:29 +02:00
|
|
|
label = "bcm53xx:blue:wireless";
|
|
|
|
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2014-11-30 18:28:29 +01:00
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
2022-06-09 13:39:30 +02:00
|
|
|
button-wps {
|
2014-11-30 18:28:29 +01:00
|
|
|
label = "WPS";
|
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
|
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
2022-06-09 13:39:30 +02:00
|
|
|
button-rfkill {
|
2014-11-30 18:28:29 +01:00
|
|
|
label = "WiFi";
|
|
|
|
linux,code = <KEY_RFKILL>;
|
|
|
|
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
2022-06-09 13:39:30 +02:00
|
|
|
button-restart {
|
2014-11-30 18:28:29 +01:00
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
2014-02-04 00:01:45 +01:00
|
|
|
};
|
2015-06-29 07:22:16 +02:00
|
|
|
|
2016-03-23 16:52:47 +01:00
|
|
|
&usb3 {
|
|
|
|
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
2016-04-27 09:05:03 +02:00
|
|
|
|
|
|
|
&spi_nor {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2018-04-09 18:31:53 -04:00
|
|
|
|
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2021-09-07 08:00:48 +02:00
|
|
|
|
|
|
|
&srab {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
port@0 {
|
|
|
|
label = "lan4";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
label = "lan3";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
label = "lan2";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
label = "lan1";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
label = "wan";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@5 {
|
|
|
|
label = "cpu";
|
|
|
|
};
|
2023-10-13 12:33:13 +02:00
|
|
|
|
|
|
|
port@7 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@8 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2021-09-07 08:00:48 +02:00
|
|
|
};
|
|
|
|
};
|