bcm53xx: backport BCM5301X patches from 2019-09-30
[openwrt/staging/mkresin.git] / target / linux / bcm53xx / patches-4.4 / 301-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R7900
3 MIME-Version: 1.0
4 Content-Type: text/plain; charset=UTF-8
5 Content-Transfer-Encoding: 8bit
6
7 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 ---
9
10 --- a/arch/arm/boot/dts/Makefile
11 +++ b/arch/arm/boot/dts/Makefile
12 @@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
13 bcm4709-asus-rt-ac87u.dtb \
14 bcm4709-buffalo-wxr-1900dhp.dtb \
15 bcm4709-netgear-r7000.dtb \
16 + bcm4709-netgear-r7900.dtb \
17 bcm4709-netgear-r8000.dtb \
18 bcm47094-dlink-dir-885l.dtb \
19 bcm47094-luxul-xwr-3100.dtb \
20 --- /dev/null
21 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7900.dts
22 @@ -0,0 +1,41 @@
23 +/*
24 + * Broadcom BCM470X / BCM5301X ARM platform code.
25 + * DTS for Netgear R7900
26 + *
27 + * Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
28 + *
29 + * Licensed under the GNU/GPL. See COPYING for details.
30 + */
31 +
32 +/dts-v1/;
33 +
34 +#include "bcm4709.dtsi"
35 +#include "bcm5301x-nand-cs0-bch8.dtsi"
36 +
37 +/ {
38 + compatible = "netgear,r7900", "brcm,bcm4709", "brcm,bcm4708";
39 + model = "Netgear R7900";
40 +
41 + chosen {
42 + bootargs = "console=ttyS0,115200";
43 + };
44 +
45 + memory {
46 + reg = <0x00000000 0x08000000>;
47 + };
48 +
49 + axi@18000000 {
50 + usb3@23000 {
51 + reg = <0x00023000 0x1000>;
52 +
53 + #address-cells = <1>;
54 + #size-cells = <1>;
55 +
56 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
57 + };
58 + };
59 +};
60 +
61 +&uart0 {
62 + status = "okay";
63 +};