9c7f9cee6c724396fc0dc88f9480a78f1258ebe3
[openwrt/openwrt.git] /
1 From 406e98afffe975982f63ea5d21bf9a47a81b56ee Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 19 Feb 2021 06:50:28 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: describe Netgear R8000P switch
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 R8000P model has 4 LAN ports and 1 WAN port.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 ---
14 .../bcm4908/bcm4906-netgear-r8000p.dts | 25 +++++++++++++++++++
15 1 file changed, 25 insertions(+)
16
17 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
18 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
19 @@ -43,6 +43,31 @@
20 status = "okay";
21 };
22
23 +&ports {
24 + port@0 {
25 + label = "lan4";
26 + };
27 +
28 + port@1 {
29 + label = "lan3";
30 + };
31 +
32 + port@2 {
33 + label = "lan2";
34 + };
35 +
36 + port@3 {
37 + label = "lan1";
38 + };
39 +
40 + port@7 {
41 + reg = <7>;
42 + phy-mode = "internal";
43 + phy-handle = <&phy12>;
44 + label = "wan";
45 + };
46 +};
47 +
48 &nandcs {
49 nand-ecc-strength = <4>;
50 nand-ecc-step-size = <512>;