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