1 From 40a17923367118e32e5e413a952736dd83635b32 Mon Sep 17 00:00:00 2001
2 From: Hao Dong <halbertdong@gmail.com>
3 Date: Sun, 20 Jan 2019 23:33:27 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: Add basic DT for Phicomm K3
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 This router has BCM4709C0 SoC, 128 MiB NAND flash (MX30LF1G18AC-TI),
10 512 MiB memory and 3 x LAN and 1 x WAN ports. WiFi chips are
11 BCM4366C0 x 2. The router has a small LCD and 3 capactive keys driven by
12 a PIC microcontroller, which is in turn wired to UART1 of main board.
14 Signed-off-by: Hao Dong <halbertdong@gmail.com>
15 [rmilecki: drop chosen { }, fix whitespaces, update commit message]
16 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
19 arch/arm/boot/dts/Makefile | 1 +
20 arch/arm/boot/dts/bcm47094-phicomm-k3.dts | 71 +++++++++++++++++++++++
21 2 files changed, 72 insertions(+)
22 create mode 100644 arch/arm/boot/dts/bcm47094-phicomm-k3.dts
24 --- a/arch/arm/boot/dts/Makefile
25 +++ b/arch/arm/boot/dts/Makefile
26 @@ -114,6 +114,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
27 bcm47094-luxul-xwr-3100.dtb \
28 bcm47094-luxul-xwr-3150-v1.dtb \
29 bcm47094-netgear-r8500.dtb \
30 + bcm47094-phicomm-k3.dtb \
35 +++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
37 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
39 + * Copyright (C) 2017 Hamster Tian <haotia@gmail.com>
40 + * Copyright (C) 2019 Hao Dong <halbertdong@gmail.com>
45 +#include "bcm47094.dtsi"
46 +#include "bcm5301x-nand-cs0-bch4.dtsi"
49 + compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
50 + model = "Phicomm K3";
53 + reg = <0x00000000 0x08000000
54 + 0x88000000 0x18000000>;
58 + compatible = "gpio-keys";
59 + #address-cells = <1>;
64 + linux,code = <KEY_RESTART>;
65 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
80 + compatible = "fixed-partitions";
81 + #address-cells = <1>;
86 + reg = <0x0000000 0x0080000>;
92 + reg = <0x0080000 0x0100000>;
97 + reg = <0x0180000 0x0280000>;
102 + label = "firmware";
103 + reg = <0x0400000 0x7C00000>;
104 + compatible = "brcm,trx";