2018-05-02 16:11:02 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
2017-01-25 08:09:16 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "bcm4709.dtsi"
|
|
|
|
#include "bcm5301x-nand-cs0-bch8.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "linksys,ea9200", "brcm,bcm4709", "brcm,bcm4708";
|
|
|
|
model = "Linksys EA9200";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200";
|
|
|
|
};
|
|
|
|
|
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>;
|
2017-01-25 08:09:16 +01:00
|
|
|
};
|
|
|
|
|
2021-03-10 22:04:46 +01:00
|
|
|
nvram@1c080000 {
|
|
|
|
compatible = "brcm,nvram";
|
|
|
|
reg = <0x1c080000 0x180000>;
|
|
|
|
};
|
|
|
|
|
2017-01-25 08:09:16 +01:00
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
2022-06-09 13:39:30 +02:00
|
|
|
button-wps {
|
2017-01-25 08:09:16 +01:00
|
|
|
label = "WPS";
|
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
|
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
2022-06-09 13:39:30 +02:00
|
|
|
button-restart {
|
2017-01-25 08:09:16 +01:00
|
|
|
label = "Reset";
|
|
|
|
linux,code = <KEY_RESTART>;
|
|
|
|
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2018-04-09 18:31:53 -04:00
|
|
|
|
|
|
|
&usb3_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2023-10-24 09:26:05 +02:00
|
|
|
|
|
|
|
&srab {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
port@0 {
|
|
|
|
label = "lan1";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
label = "lan2";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
label = "lan3";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
label = "lan4";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
label = "wan";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@5 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@7 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@8 {
|
|
|
|
label = "cpu";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|